re-walking switches/ adding ports to existing switched-
Posted: Fri Sep 02, 2016 2:00 pm
Hello, I thought it would be simple - but I am trying to update my switch monitoring in nagios. In the past I just re-ran the switch/router wizard and then went back and purged old services/merged rrd's with the performance data tool etc..
I am running a newer version of nagios since last summer (last time I did major updates)
Today however (it has been a while) I tried and xi will not bring in ports.
My core switches have undergone some major migrations/server adds-removes and almost all ports are relabled etc.. When I run the wizard it finds all the port names, they are all checked - but when I hit apply/go it doesn't bring in all the ports to nagios (and by that I mean looking at /usr/local/nagios/etc/services - few ports actually come in. The port-groups all came in, but no actual ports).
So what the heck, I have a test server. I blew away the switch (services and then host via CCM). Ran into a little article here https://assets.nagios.com/downloads/nag ... 1469631055
Removed all of that.. And then tried to run the wizzard again.. No luck. It won't bring any of the ports in..
If I look at /etc/mrtg/conf.d/%SWITCHIP% - the MRTG config it shows all the ports and lables etc.. But they never make it to usr/local/nagios/etc/services - and I don't see them in XI.....
Is their an easier way just to update/re-walk the switches in NagiosXI to get more current information?
Thanks for any ideas.
I am running a newer version of nagios since last summer (last time I did major updates)
Today however (it has been a while) I tried and xi will not bring in ports.
My core switches have undergone some major migrations/server adds-removes and almost all ports are relabled etc.. When I run the wizard it finds all the port names, they are all checked - but when I hit apply/go it doesn't bring in all the ports to nagios (and by that I mean looking at /usr/local/nagios/etc/services - few ports actually come in. The port-groups all came in, but no actual ports).
So what the heck, I have a test server. I blew away the switch (services and then host via CCM). Ran into a little article here https://assets.nagios.com/downloads/nag ... 1469631055
Removed all of that.. And then tried to run the wizzard again.. No luck. It won't bring any of the ports in..
If I look at /etc/mrtg/conf.d/%SWITCHIP% - the MRTG config it shows all the ports and lables etc.. But they never make it to usr/local/nagios/etc/services - and I don't see them in XI.....
Is their an easier way just to update/re-walk the switches in NagiosXI to get more current information?
Thanks for any ideas.