Network Wizard - scan down interfaces

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
questrad
Posts: 160
Joined: Wed Mar 21, 2012 3:08 pm
Location: Toronto
Contact:

Re: Network Wizard - scan down interfaces

Post by questrad »

In my opinion, having monitoring administratively down interfaces is wasting the resources of Nagios server.

Because there is 3 process will run to monitor admin down interfaces every 5 minuts.
  • 1. MRTG scan
    2. Nagios service to monitor if port is down/up
    3. Nagios service to monitor usage of that port (even there is no any data)
Now imagine if you have for example about 20-30 admin down interfaces (if network is large).
paulol
Posts: 159
Joined: Wed Jul 02, 2014 11:39 am

Re: Network Wizard - scan down interfaces

Post by paulol »

questrad,

i understood, but look my situation i have more than 150 switchs. When any interface administratively goes to up, how can i know? Someone need to talk to me and say to put this interface on nagios because this port is not more down, now is up, it's difficult. Anyway i'm wondering if i change or not.
questrad
Posts: 160
Joined: Wed Mar 21, 2012 3:08 pm
Location: Toronto
Contact:

Re: Network Wizard - scan down interfaces

Post by questrad »

Your network admin should told you that he makes those interfaces admin down.
No one can bring just interface DOWN without any CR and sending email across team and backwards - if network admin brings it UP
paulol
Posts: 159
Joined: Wed Jul 02, 2014 11:39 am

Re: Network Wizard - scan down interfaces

Post by paulol »

Yes know, i agree with you, but i used to work with centreon and prtg, both had this option to scan administratively down ports.
Now i must change my process, if network admin makes interfaces admin up, he must talk to me to add on nagios xi.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Network Wizard - scan down interfaces

Post by tgriep »

I figured out how to make the Network Switch / Router Wizard Scan Administratively down ports.

Edit this file

Code: Select all

/usr/local/nagiosxi/html/includes/configwizards/switch/switch.inc.php
Change line 47 from

Code: Select all

$args[] = "--show-op-down";
to

Code: Select all

$args[] = "--no-down";
FYI, if you upgrade the Network Switch / Router Wizard, you will have to re-edit this file.
Be sure to check out our Knowledgebase for helpful articles and solutions!
paulol
Posts: 159
Joined: Wed Jul 02, 2014 11:39 am

Re: Network Wizard - scan down interfaces

Post by paulol »

tgriep, it works.

I created a copy of Network wizard, and i made this changes their.

thks guys to help me.
Locked