If a device (switch) is unreachable, that status is reported for all switches. I used the network/router wizard to add these 2 devices. I then added 2 configuration files in NRDS for each device. If I cause one switch to be unreachable it is reported for both devices.
Am I doing something wrong?
Views-Service Details shows netsnmp error for all devices
Views-Service Details shows netsnmp error for all devices
You do not have the required permissions to view the files attached to this post.
Re: Views-Service Details shows netsnmp error for all device
I have to check - you did update the nrds config after making the IP changes, correct?
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.
Re: Views-Service Details shows netsnmp error for all device
Thanks. I did not make any IP changes. I added the NRDS configuration, then install the client for both switches after I added them.
command[__HOST__]=/usr/local/nagios/libexec/check_ping -H 192.168.58.10 -w 200.0,40% -c 400.0,80% -p 1
command[Check Load]=/usr/local/nagios/libexec/check_snmp_load.pl -H 192.168.58.10 -C public -w 3,3,2 -c 4,4,3 -T netsl -f
command[Check Memory]=/usr/local/nagios/libexec/check_snmp_mem_mrv.pl -H 192.168.58.10 -C public -w 65,65 -c 90,90 -f
cd /tmp
wget -O 192.168.58.10.tar.gz "http://192.168.54.253/nrdp/?cmd=nrdsget ... .168.58.10"
gunzip -c 192.168.58.10.tar.gz | tar xf -
cd clients
./installnrds HOSTNAME INTERVAL
I then made 192.168.58.11 unreachable and got these results.
command[__HOST__]=/usr/local/nagios/libexec/check_ping -H 192.168.58.10 -w 200.0,40% -c 400.0,80% -p 1
command[Check Load]=/usr/local/nagios/libexec/check_snmp_load.pl -H 192.168.58.10 -C public -w 3,3,2 -c 4,4,3 -T netsl -f
command[Check Memory]=/usr/local/nagios/libexec/check_snmp_mem_mrv.pl -H 192.168.58.10 -C public -w 65,65 -c 90,90 -f
cd /tmp
wget -O 192.168.58.10.tar.gz "http://192.168.54.253/nrdp/?cmd=nrdsget ... .168.58.10"
gunzip -c 192.168.58.10.tar.gz | tar xf -
cd clients
./installnrds HOSTNAME INTERVAL
I then made 192.168.58.11 unreachable and got these results.
Re: Views-Service Details shows netsnmp error for all device
PM me your configuration snapshot tarball. To download the tarball, go to Admin --> Config Snapshots. Click the topmost "disk" icon, save the file, and send to me in a pm. Thanks.
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.
Re: Views-Service Details shows netsnmp error for all device
Here is the latest.
Last edited by slansing on Mon Aug 12, 2013 1:27 pm, edited 1 time in total.
Reason: Deleted attached file, as tarballs hold your configuration data it is never a good idea to post it here openly, this is why we ask for them in a PM.
Reason: Deleted attached file, as tarballs hold your configuration data it is never a good idea to post it here openly, this is why we ask for them in a PM.
Re: Views-Service Details shows netsnmp error for all device
Do you have any objects under --> Admin --> Unconfigured Objects?
I ask because the checks in question look like snmp traps, not NRDS checks. Did you setup snmp traps on this XI server?
I ask because the checks in question look like snmp traps, not NRDS checks. Did you setup snmp traps on this XI server?
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.
Re: Views-Service Details shows netsnmp error for all device
I did not setup snmp traps. I assumed that if you cannot reach one device, it would not affect other service details for other devices.
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: Views-Service Details shows netsnmp error for all device
I noticed your post above stating that you made these hosts unreachable. Are they presently available for your nrds servers to check? From the nrds server try the following:
Code: Select all
nmap -p 161 192.168.58.10
nmap -p 161 192.168.58.11Nagios-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.
Re: Views-Service Details shows netsnmp error for all device
If I pull the cable on Core2_11_Even which is 192.168.58.11, it shows it is not reachable which is what I expect. I do not expect the Core1_10_Odd (192.168.58.10) to show an error in Check Memory. If I run nmap -d command it works on 192.168.58.10, but fails on 192.168.58.11. The nmap command works on 192.168.58.11 when I put the cable back in. As I watch Check Load and Check Memory for both switches it has the same values. Not sure why because each host has their own NRDS configuration file.
You do not have the required permissions to view the files attached to this post.
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Views-Service Details shows netsnmp error for all device
It is of course totally possible that the trap reporting unreachable was able to be sent in time where the other server was not able to send out a trap about a change in it's check before it went completely down. This would be more of a system dependent cause than anything as the speed at which the check is occurring could have crossed between when it was brought off it's network connection.