Hi
Background: We have managed to integrate Nagios XI with our ticketing system. In order to this to work effectively, we created rules so that we only create tickets for the things we want tickets. In order for these rules to work properly, the service checks specifically need to follow a naming convention.
What we would like to see if possible is to tweak the wizard for switches. Today when we use the wizard to add switches, the wizard would add Port Status and Port Bandwidth with a specific nomenclature that doesn't work for what we are trying to do here. is there a way to modify the scripts that are used to create these service checks to have a different nomenclature?
Thank you
Wizard Switches - Modifying Script
Re: Wizard Switches - Modifying Script
Take a look in this file that the Network Switch / Router runs.
Search it for entries like the following for how the service descriptions are created.
Those would be the entries that you will have to modify to fit your naming convention.
Remember, if you upgrade XI, it will overwrite your changes.
For more details, take a look at this link on creating and modifying Wizards for XI.
https://support.nagios.com/kb/article/n ... re-47.html
Code: Select all
/usr/local/nagiosxi/html/includes/configwizards/switch/switch.inc.phpCode: Select all
"service_description" => $portname . " Status",
"service_description" => $portname . " Bandwidth",Remember, if you upgrade XI, it will overwrite your changes.
For more details, take a look at this link on creating and modifying Wizards for XI.
https://support.nagios.com/kb/article/n ... re-47.html
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Wizard Switches - Modifying Script
You are awesome. =). This is exactly what I was looking for. Thanks
Re: Wizard Switches - Modifying Script
Your welcome. Let us know if you have any further questions.
Be sure to check out our Knowledgebase for helpful articles and solutions!