Hi,
I'm using Network switch wizard to monitor the switches. The issues i have with it:
1.I added the switch (status and BW of all interfaces) - everything fine. Then i physically added several links to the switch. Then i tried to do Network switch wizard again to include new ports. But the wizard doesn't actually rescan the switch to find actual ports, it just comes up with the previous port status. So how can i enforce the rescan of the switch ports?
2.The same scenario on another switch resulted in : wizard sees the new ports, but in the BW status it comes up with "/var/lib/mrtg/<port name>.rrd does not exist". It shows it for the whole day. What is the solution for that?
Thank you.
Network Switch wizard
Re: Network Switch wizard
Issue #1 was by design, but we hadn't taken into account adding ports to switches. Hmmmm.... If you run the mrtg "cfgmaker" utility against the switch, you should see the new ports in the output. Take that output and replace old information in the /etc/mrtg/mrtg.cfg file
For issue #2, it sounds like MRTG is (for some reason) not able to actually monitor the port and create and RRD file. Can you verify that the port definition appears in the /etc/mrtg/mrtg.cfg config file?
For issue #2, it sounds like MRTG is (for some reason) not able to actually monitor the port and create and RRD file. Can you verify that the port definition appears in the /etc/mrtg/mrtg.cfg config file?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Ethan Galstad
President
Ethan Galstad
President
-
alabzhinov
- Posts: 25
- Joined: Mon Aug 30, 2010 10:56 pm
Re: Network Switch wizard
1. I ran cfgmaker and replaced the config in the /etc/mrtg/mrtg.cfg file. But it wasn't enough. After that i manually created related services in Nagios Core. Then manually copied related .rrd file because mrtg didn't create it automatically.
2. Seems the same problem as 1. previously links were down, so they remain remarked in the mrtg.cfg file. Here i ran cfgmaker and replaced the config, then manually copied .rrd files.
But to manually change it every time our port config changes its a hassle. I think Network Switch wizard should rescan the ports. If you remember there i a checkbox in this wizard "Scan interfaces". At this point for second etc. runs it doesn't matter if it is checked or not - ports are not rescaned. It is logical to make it as if you check this box then ports are rescaned on every run, if you don't want to rescan - uncheck the box. What do you think?
2. Seems the same problem as 1. previously links were down, so they remain remarked in the mrtg.cfg file. Here i ran cfgmaker and replaced the config, then manually copied .rrd files.
But to manually change it every time our port config changes its a hassle. I think Network Switch wizard should rescan the ports. If you remember there i a checkbox in this wizard "Scan interfaces". At this point for second etc. runs it doesn't matter if it is checked or not - ports are not rescaned. It is logical to make it as if you check this box then ports are rescaned on every run, if you don't want to rescan - uncheck the box. What do you think?
Re: Network Switch wizard
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.