Page 2 of 2

Re: Network-Switch Wizard - Combine Port Name and Service

Posted: Tue Nov 14, 2017 7:54 am
by brdr
Files attached. Thanks for your help. We have about 100 new devices to rescan and having the alias appended into the service description is a requirement. Note. I renamed switch.inc.php to switch.inc.txt to upload successfully.

Re: Network-Switch Wizard - Combine Port Name and Service

Posted: Tue Nov 14, 2017 9:15 am
by brdr
template attached.

Re: Network-Switch Wizard - Combine Port Name and Service

Posted: Tue Nov 14, 2017 2:55 pm
by npolovenko
@brdr, You might not have the alias names associated with the switch interfaces. In the command line please run:

Code: Select all

snmpwalk SWITCH_IP -c COMMUNITY_STRING -v 2c |grep ifAlias
But first I'd check the permissions for mrtg.template file:

Code: Select all

chmod a+rwx mrtg.template
chown nagios:root mrtg.template
Also, please try to run the wizard, and select Monitor using --> Port's Description.

Let us know if that helps.

Re: Network-Switch Wizard - Combine Port Name and Service

Posted: Tue Nov 14, 2017 4:17 pm
by brdr
Ah... I was using Port Name for Monitoring Option. Where I should have been using Port Description.

Thank you!!
Please close

Re: Network-Switch Wizard - Combine Port Name and Service

Posted: Tue Nov 14, 2017 5:32 pm
by npolovenko
@brdr, Glad I could help! Closing the thread.