Page 1 of 1
Arguments for SNMP v3 for a servcie
Posted: Fri Oct 11, 2013 6:50 am
by deepavaidya
Hi,
I have created services like CPU usage, Disk Usage, Memory Usage for a remote server which supports SNMP V3. How should I give the arguments for a service.
Check command : check_xi_service_snmp_linux_storage
$Arg1$ :
For snmp v2 it would be like
-C public --v2c -m "^/$" -w 80 -c 95 -f
For snmp v3 I gave the below args (my Username and pwd is xxx ) but when I click Test check command I am getting the error "Put snmp V3 login info with protocols!"
-C public -P 3 -U xxx -A xxx -L authpriv -a md5 -w 80 -c 95 -m "^/$"
Rename SNMP Traps
Posted: Fri Oct 11, 2013 9:09 am
by deepavaidya
Hi,
Is it possible to edit the service name 'SNMP Traps' and rename it as 'TimesTen Traps' to receive the traps from Timesten database server.
If I rename the service description from configure->CCM->Services. The service name is changed but it is in pending state and in the log files we can see the below error.
Passive check result was received for service 'SNMP Traps' on host 'XXXX', but the service could not be found!
Same error is got when tried the below cmd
/usr/local/bin/snmpttconvertmib --in=TRIPPLITE-MIB.txt --out=TRIPPLITE-MIB.conf --exec='/usr/local/bin/snmptraphandling.py "$r" "TimesTen Traps" "$s" "$@" "$-*"'
The SNMP Traps service is found in Unconfigured Object and need to configure it again to get the trap. Is there any configuration file which should be edited in order to get the traps in renamed service 'TimesTen Traps'
Re: Arguments for SNMP v3 for a servcie
Posted: Fri Oct 11, 2013 11:35 am
by abrist
Please do not bump posts as they just move the post to the bottom of our support queue (as then it becomes the newest post, instead of an older post which will take precedence).
Are you using aes or des ?
Re: Arguments for SNMP v3 for a servcie
Posted: Fri Oct 11, 2013 12:03 pm
by deepavaidya
des
Re: Arguments for SNMP v3 for a servcie
Posted: Fri Oct 11, 2013 12:51 pm
by abrist
The syntax for v3 is a bit different:
Code: Select all
-l "<username>" -x "<auth password>" -X "<priv password>" -L md5,des -w 80 -c 95 -m "<mib>"
Using a community string will not work as that is a v1/v2 argument, so that should be removed as well.
Are you using auth and priv?
EDIT: For others using aes, it does look like aes requires an additional perl module: Crypt/Rijndael.pm
Re: Arguments for SNMP v3 for a servcie
Posted: Sat Oct 12, 2013 6:04 am
by deepavaidya
Ya we are using authpriv. What is the priv password ?
-l "<username>" -x "<auth password>" -X "<priv password>" -L md5,des -w 80 -c 95 -m "<mib>"
Re: Arguments for SNMP v3 for a servcie
Posted: Mon Oct 14, 2013 10:38 am
by abrist
The priv password is tied to des/aes encryption. If you are using des, you most likely need a priv password. On many devices, it is the same as the auth password.