Page 2 of 2
Re: Nagios only shows disabled ports from Meraki switch
Posted: Fri May 18, 2018 11:01 am
by scottwilkerson
I think I do have a possible fix for you but it will show all interfaces when you run the wizards even if they are admin down...
Edit
/usr/local/nagiosxi/html/includes/configwizards/switch/switch.inc.php
On about like 44 change this
to this
then re-run the wizard.
One thing to note, this change will not persist when you upgrade the switch wizard in the future.
Re: Nagios only shows disabled ports from Meraki switch
Posted: Fri May 18, 2018 12:03 pm
by nagiosfan
So how do I solve this problem?
Re: Nagios only shows disabled ports from Meraki switch
Posted: Fri May 18, 2018 12:41 pm
by scottwilkerson
scottwilkerson wrote:I think I do have a possible fix for you but it will show all interfaces when you run the wizards even if they are admin down...
Edit
/usr/local/nagiosxi/html/includes/configwizards/switch/switch.inc.php
On about like 44 change this
to this
then re-run the wizard.
One thing to note, this change will not persist when you upgrade the switch wizard in the future.
This will solve the issue, once you do the above you can re-run the wizard for these switches and you will have all the interfaces
Re: Nagios only shows disabled ports from Meraki switch
Posted: Fri May 18, 2018 3:41 pm
by nagiosfan
I will try it but it is weird because all of the ports are enabled and active except there are 5 ports which were disabled and those 5 ports are shown on Nagios.
Re: Nagios only shows disabled ports from Meraki switch
Posted: Fri May 18, 2018 5:02 pm
by scottwilkerson
Let us know how it turns out.
With that flad set it is not even supposed to check the status so they should all show
Re: Nagios only shows disabled ports from Meraki switch
Posted: Sun May 20, 2018 5:11 pm
by nagiosfan
yes it now shows all ports and thanks for it.
I have one question. Now all ports are marked as administratively down are inside unhandled pool and status shown in Nagios is warning. Is there anyway I can skip checking port status but only bandwidth. I tried to uncheck port status during setup winzard but port status is still added as a service.
Re: Nagios only shows disabled ports from Meraki switch
Posted: Mon May 21, 2018 8:16 am
by scottwilkerson
nagiosfan wrote:yes it now shows all ports and thanks for it.
I have one question. Now all ports are marked as administratively down are inside unhandled pool and status shown in Nagios is warning. Is there anyway I can skip checking port status but only bandwidth. I tried to uncheck port status during setup winzard but port status is still added as a service.
Hmm, if you unchecked them during the setup they shouldn't be added, but you can remove them in the
CCM -> Services
Select the Config
Search for status
Select all
"With checked" select Delete
Click Go
Click Apply Configuration
Re: Nagios only shows disabled ports from Meraki switch
Posted: Thu May 24, 2018 9:51 am
by eloyd
Meraki switches, when probed for SNMP, are just like any other switch. However, the Meraki management program will do its own port management to save power, manage resources, and do other weird things. It's possible it was in a DOWN State when you ran your wizard the first time.
The nice thing about the wizard is you can run it again, any time, and simply add to what you already have. Or you can duplicate the service(s) in CCM and just change the port numbers.
Re: Nagios only shows disabled ports from Meraki switch
Posted: Thu May 24, 2018 1:35 pm
by scottwilkerson
Thanks for the heads up
@eloyd