Hello,
I have added a linux box on the same network that im in. This box is already set with SNMP it is being reached from another monitoring system all on same network.
When i perform a check i get the following:
COMMAND: /usr/local/nagios/libexec/check_snmp_storage_wizard.pl -H 10.3.4.5 -C
OUTPUT: Usage: check_snmp_storage [-v] -H <host> -C <snmp_community> [-2] | (-l login -x passwd [-X pass -L <authp>,<privp>]) [-p <port>] -m <name in desc_oid> [-q storagetype] -w <warn_level> -c <crit_level> [-t <timeout>] [-T pl|pu|bl|bu ] [-r -s -i -G] [-e] [-S 0|1[,1,<car>]] [-o <octet_length>] [-R <% reserved>]
Am i suppose to modify the command manually? I used the wizard.
How to use snmp
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: How to use snmp
The wizard should have put more in there, most specifically the version of SNMP and the SNMP community string, you may need to re-run the wizard..
Re: How to use snmp
I just did,
/ Disk Usage Unknown error - Usage: check_snmp_storage [-v] -H <host> -C <snmp_community> [-2]
CPU Usage Unknown error - put warning and critical info!
Memory Usage Unknown error - Usage: check_snmp_storage [-v] -H <host> -C <snmp_community> [-2]
That is what im seeing in the services status table.
The message below was from the service config test page its like it doesn't pass the arguments or something?
/ Disk Usage Unknown error - Usage: check_snmp_storage [-v] -H <host> -C <snmp_community> [-2]
CPU Usage Unknown error - put warning and critical info!
Memory Usage Unknown error - Usage: check_snmp_storage [-v] -H <host> -C <snmp_community> [-2]
That is what im seeing in the services status table.
The message below was from the service config test page its like it doesn't pass the arguments or something?
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: How to use snmp
By chance does your community string have special chars like a ; $ or & ??
They may need to be escaped
They may need to be escaped