How to use snmp

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
tzviak1
Posts: 4
Joined: Tue Jan 27, 2015 1:58 pm

How to use snmp

Post by tzviak1 »

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.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: How to use snmp

Post by scottwilkerson »

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..
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
tzviak1
Posts: 4
Joined: Tue Jan 27, 2015 1:58 pm

Re: How to use snmp

Post by tzviak1 »

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?
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: How to use snmp

Post by scottwilkerson »

By chance does your community string have special chars like a ; $ or & ??

They may need to be escaped
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked