Page 1 of 2

Updating existing switches w/ wizard

Posted: Fri Mar 31, 2017 8:13 am
by joveroc
Hello,

I am running into an issue with updating an existing switch to monitor newly used ports using the wizard. If I need to update a switch I normally will just run the wizard and select the new ports and it simply adds them. Some ports do not work however and the checks are not created. The .rrd file seems to be created so I have tested adding the port manually and it will work but this is tedious when I am updating many ports. The ports all have unique names and are picked up by the wizard and it seems files are created for them since I can add them manually and point to the nagios port name that is assigned to it to create a check.

I have seen this behavior on different model switches as well. This particular switch is a Cisco Nexus 5548 and the ports I am updating are on Nexus 2000 FEX's which are managed via the Nexus 5548. The other place I have seen this is in a Cisco 3850 switch stack. So I am not sure if there are known bugs with the wizard and these switch configurations where they managed in this fashion.

I am on XI version 5.4.3 and my wizard is 2.3.8. I have edited my wizard to include some default settings for SNMPv3 and thresholds. After updating the wizard to 2.3.8 it wiped out those settings so I ran it without my custom settings and it still did not create the checks for these ports.

Thank you for your assistance.

Re: Updating existing switches w/ wizard

Posted: Fri Mar 31, 2017 12:15 pm
by avandemore
XI > Admin > System Profile > Download Profile

Please include the zip file in your response. You can PM myself or other support personnel if you have privacy concerns.

Also please include the host and service name of the problematic entries.

Re: Updating existing switches w/ wizard

Posted: Fri Mar 31, 2017 1:05 pm
by joveroc
avandemore wrote:XI > Admin > System Profile > Download Profile

Please include the zip file in your response. You can PM myself or other support personnel if you have privacy concerns.

Also please include the host and service name of the problematic entries.
I would like to PM you this information but it says I am not allowed to do that. Could you enable it for me? Or send me a PM that I can reply to.

Thanks.

Re: Updating existing switches w/ wizard

Posted: Fri Mar 31, 2017 1:11 pm
by dwhitfield
Now that I have approved your second post, you should be able to PM. You can PM either me or @avandemore.

Once you PM, please update this post so it pops back up on our support dashboard.

Re: Updating existing switches w/ wizard

Posted: Fri Mar 31, 2017 2:33 pm
by joveroc
Updating post, I have PM'd avandemore.

Thank you.

Re: Updating existing switches w/ wizard

Posted: Mon Apr 03, 2017 9:46 am
by avandemore
I have recieved your profile and shared it. Can you provide the IP address for the misbehaving systems? MRTG creates it's config based on that.

Re: Updating existing switches w/ wizard

Posted: Wed Apr 12, 2017 8:12 am
by joveroc
avandemore wrote:I have recieved your profile and shared it. Can you provide the IP address for the misbehaving systems? MRTG creates it's config based on that.
PM'd you the address. Sorry for the delay I have been out of town.

Re: Updating existing switches w/ wizard

Posted: Wed Apr 12, 2017 4:55 pm
by tgriep
It could be an issue with a setting in the php ini file causing the ports to not get created correctly.
Edit the /etc/php.ini file and add this to the bottom of that file

Code: Select all

max_input_vars=5000
Restart apache by running

Code: Select all

service httpd restart
Re-run the wizard and see if that fixes the issue for you.

Re: Updating existing switches w/ wizard

Posted: Thu Apr 13, 2017 11:08 am
by joveroc
Thanks! This has allowed me to monitor the ports. However, now it is pulling the port number w/ port name or description. Example:

Ethernet101/1/25 A3-HV1 NW1 Bandwidth

Instead of

A3-HV1 NW1 Bandwidth (which is the description on the Cisco switch port and how all other ports are labeled)

I have noticed that there is now a port number, name, and description option in the wizard now. However it is not respecting port description and prepending the port name in there as well. Is there a solution to this?

Re: Updating existing switches w/ wizard

Posted: Thu Apr 13, 2017 12:17 pm
by tgriep
When you select the Description option in the Wizard, it shows both the name and the description in the wizard but after you finish the wizard, are both the names and descriptions in the service check?