Unable to pull all the interfaces via Wizard_Cisco Switch

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
lalitam
Posts: 10
Joined: Tue Jul 17, 2018 12:41 am

Unable to pull all the interfaces via Wizard_Cisco Switch

Post by lalitam »

Hi Team,

I am trying to set up Nagios monitoring on our data center switches. I am using Network Router and Switch Wizard to pull up all the interfaces in a switch via SNMP3.

I see all the interfaces being listed in the page and I make selection of the important and critical ports, it allows me to select, but as soon as I click next and select my host group and notification preference and then checking
core config manager--->Services---->corresponding to the host, only shows me half the interfaces I've added.

I've tried running the wizard all again also once I deleted host and services and retried, no use.

My question is:

1) How to make sure all the interfaces are pulled? If they are not for some reason, how to add them?
2) After adding all the ports, if in future, some critical port comes up for monitoring, how can I add this to existing services without have to run the whole wizard again?

#Cisco switches and routers#Nagios_monitoring

Kind Regards
LM
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Unable to pull all the interfaces via Wizard_Cisco Switc

Post by scottwilkerson »

It is very possible you are hitting a max_input_vars limit in PHP

add the following to your /etc/php.ini

Code: Select all

max_input_vars = 10000
'

Then restart httpd

Code: Select all

systemctl restart httpd
Now if you re-run the wizard they should all show
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
lalitam
Posts: 10
Joined: Tue Jul 17, 2018 12:41 am

Re: Unable to pull all the interfaces via Wizard_Cisco Switc

Post by lalitam »

Thank you, I really appreciate your prompt response.

What will be the impact of this command on Nagios, Will the whole system restart?

Kind Regards
LM
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Unable to pull all the interfaces via Wizard_Cisco Switc

Post by scottwilkerson »

lalitam wrote:Thank you, I really appreciate your prompt response.

What will be the impact of this command on Nagios, Will the whole system restart?

Kind Regards
LM
This will just allow Nagios XI to post more variables from the interface. No, the whole system won't restart, just httpd which should table about 2 seconds.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
lalitam
Posts: 10
Joined: Tue Jul 17, 2018 12:41 am

Re: Unable to pull all the interfaces via Wizard_Cisco Switc

Post by lalitam »

Thank you again. Yes I went ahead with this change and this time none of the interfaces were dropped in the Wizard and almost 141 interfaces of Nexus 7K were added without a glitch.

Regarding my other question: I am trying to pull TenGig, Gig, port-channels and Stackports for a 3850 switch. Other switch responded well but one of our access switches is giving me trouble and no matter how many times I try, Nagios only pulls 4 interfaces out of 20 which I have to monitor.

Is there a reason why this is happening.

Kind Regards
lalita
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Unable to pull all the interfaces via Wizard_Cisco Switc

Post by scottwilkerson »

Nagios XI can only pull interfaces that the SNMP community string or v3 user has access to see. It is possible that this has for some reason been restricted on the device
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked