Jump to content
Калькуляторы

Nagios check-snmp Nagios check-snmp

Доброго времени суток ! Есть свич в котором стоит SNMP версии 3. При check_snmp в cfg Nagios выводится такая ошибка:Required parameter: secname

Алгоритм правильный. У кого то были такие же проблемы ??

define service{

use generic-service

host_name test

service_description Port GigabitEthernet0/0/2 Link Status

check_command check_snmp! -o 1.3.6.1.2.1.2.2.1.7.7 -C public -P 3 -L authPriv -u admin -a MD5 -A admin -x DES -X JSKpYVo0

contact_groups group2

}

Share this post


Link to post
Share on other sites

check_command check_snmp! -o 1.3.6.1.2.1.2.2.1.7.7 -C public -P 3 -L authPriv -u admin -a MD5 -A admin -x DES -X JSKpYVo0

Может быть дело в:

 -u, --units=STRING
   Units label(s) for output data (e.g., 'sec.').

а нужно

 -U, --secname=USERNAME
   SNMPv3 username

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.