Page 1 of 1
Network switch wizard
Posted: Wed Dec 01, 2010 5:45 pm
by alabzhinov
Hi,
I've already asked about that in October in General forum, but I'd like to ask again here having new status of Nagios customer
The topic in General forum:
http://support.nagios.com/forum/viewtopic.php?f=6&t=940
So, is there any hope that this will be fixed/changed?
Thanks.
Re: Network switch wizard
Posted: Thu Dec 02, 2010 10:52 am
by mguthrie
We did do a few updates on the switch wizard this week, although the wizard's purpose is still to set up *new* services. The scan interfaces feature lists all of the ports it finds, and allows you to check which ones you want to add. There currently isn't an "update" feature to scan only for ports that aren't already being monitored. You could run the wizard and use the checkboxes to identify which ports you want to add.
Re: Network switch wizard
Posted: Thu Dec 02, 2010 2:47 pm
by alabzhinov
The problem is not that this wizard doesn't show ONLY updated ports. It doesn't show ANY new ports on a second and etc. runs of the wizard. It always comes up with the ports it found on the first run.
mguthrie wrote:The scan interfaces feature lists all of the ports it finds, and allows you to check which ones you want to add...You could run the wizard and use the checkboxes to identify which ports you want to add.
But the problem is you can do this only the first time you run network switch wizard. If after that you add some links to the switch and want to add them to monitor you won't be able, because the new links won't appear in the wizard.
This approach assumes that you never will change the links on a switch, but this happens. Another situation if you replace the switch with another one and give it the same IP address you w0n't be able to monitor new switch, cause the wizard will always give you the links from the old switch.
So, what could you suggest for us? Manual way is a hassle, we need something more automated.
Maybe it is possible to delete the information about the switch with a specific IP address from the Nagios database? In this case wizard will run as a first time and scan interfaces.
Re: Network switch wizard
Posted: Thu Dec 02, 2010 3:25 pm
by mguthrie
To do what you described you'd basically have to delete the host and all of it's associated services and dependencies and re-run the wizard. At the moment we don't have a more automated process to do what you're looking for.
The wizards are designed run new setups, not so much for maintenance.
Our new major release around the new year will have an auto-discovery tool that may be able to handle this. I'm not involved with the development of it, but it does scan the local network and generate a list of likely services that you can choose to activate.