ADDING SNMP MONITORS
-
matt.lilek
- Posts: 137
- Joined: Wed Aug 07, 2013 11:53 am
Re: ADDING SNMP MONITORS
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
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: ADDING SNMP MONITORS
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 -fNagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
-
matt.lilek
- Posts: 137
- Joined: Wed Aug 07, 2013 11:53 am
Re: ADDING SNMP MONITORS
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'.
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'.
Last edited by matt.lilek on Thu Nov 07, 2013 9:49 am, edited 1 time in total.
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: ADDING SNMP MONITORS
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-fs1Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
-
matt.lilek
- Posts: 137
- Joined: Wed Aug 07, 2013 11:53 am
Re: ADDING SNMP MONITORS
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
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
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
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
-
matt.lilek
- Posts: 137
- Joined: Wed Aug 07, 2013 11:53 am
Re: ADDING SNMP MONITORS
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
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)
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
-
matt.lilek
- Posts: 137
- Joined: Wed Aug 07, 2013 11:53 am
Re: ADDING SNMP MONITORS
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
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?
Is the 2003 server on the same network node / subnet as the nagios server or the currently working switch?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.