Page 2 of 3

Re: ADDING SNMP MONITORS

Posted: Mon Aug 26, 2013 1:45 pm
by matt.lilek
OUTPUT: Usage: check_snmp_storage [-v] -H -C [-2] | (-l login -x passwd [-X pass -L ,]) [-p ] -m [-q storagetype] -w -c [-t ] [-T pl|pu|bl|bu ] [-r -s -i -G] [-e] [-S 0|1[,1,]] [-o ] [-R

Re: ADDING SNMP MONITORS

Posted: Mon Aug 26, 2013 2:33 pm
by sreinhardt
There's the problem, although if this was from a wizard it should not have done this. Go into the CCM and modify the arguments for this command to have everything in $ARG1$. Your arg1 should look like:

Code: Select all

-C [snmpcommunity] --v2c -m ^C: -w 80 -c 95 -f

Re: ADDING SNMP MONITORS

Posted: Tue Aug 27, 2013 2:19 pm
by matt.lilek
well now we are making some progress but now i have another problem

COMMAND: /usr/local/nagios/libexec/check_snmp_load.pl -H oak-fs1 -C password --v2c -m \^C: -w 80 -c 95 -f
OUTPUT: ERROR: Description table : No response from remote host 'oak-fs1'.

Re: ADDING SNMP MONITORS

Posted: Tue Aug 27, 2013 2:23 pm
by sreinhardt
Just to verfiy, and you may have previously, is this host configured in the properties of the snmp service to respond to the nagios server? Also lets make sure that its up and running, the command below should respond with open, not filtered if it is done correctly.

Code: Select all

nmap -sU -p 161 oak-fs1

Re: ADDING SNMP MONITORS

Posted: Tue Aug 27, 2013 2:50 pm
by matt.lilek
guess it is not done correctly because it shows as filtered snmp. So the question is now how do i change that?

Re: ADDING SNMP MONITORS

Posted: Tue Aug 27, 2013 3:18 pm
by abrist
It is filtered by one of:
Networking device - like a router/firewall
Software firewall on remote host - like windows firewall or linux iptables

All of these potential causes are environment specific. Looks like it is a 2003 windows server (judging form one of your previous messages). You will need to enable snmp and verify that the service is started:
http://support.microsoft.com/kb/324263

Re: ADDING SNMP MONITORS

Posted: Tue Aug 27, 2013 3:22 pm
by matt.lilek
yes it is a 2003 box but snmp is running and is being used by other monitoring software with no problems. Why is it not working with the nagios server?

Re: ADDING SNMP MONITORS

Posted: Tue Aug 27, 2013 3:25 pm
by abrist
Is your XI box on the same network node as the 2003 server (and the other snmp monitors)? (it could be a networking device between them)

Re: ADDING SNMP MONITORS

Posted: Wed Aug 28, 2013 10:06 am
by matt.lilek
Update: I just tried snmp on a switch and it worked just fine. Do you have any ideas now why it would not be working on servers?

Re: ADDING SNMP MONITORS

Posted: Wed Aug 28, 2013 11:08 am
by abrist
What version of snmp is the server using? Again, if the port is reported as filtered, there must be a software/hardware firewall issue.
Is the 2003 server on the same network node / subnet as the nagios server or the currently working switch?