This is a Plugin that was required by our organisation and was written not by me but by Jeff (who rightly deserves all the credit if you are reading) to monitor and manage the status of interfaces of all types on a Cisco ISR series router.
The Cacti version used as a basis was the CactiEZ CD provided by Jimmy at http://cactiusers.org.
The reasoning for the plugin was to replace an aging 16 bit DOS based app that provided a menu based interface for users of the network to change the configuration of the router without requiring knowledge about Cisco IOS. As the DOS based App was rapidly becoming outdated, the need for a new control interface was required.
The plugin is fairly specific for our requirements as we have a fleet of ship commuications systems that are required to connect via a number of bearers without the users needing in depth knowledge of how to configure a router. It provides the ability to view and change interface status as well as providing a means to change the dialer string applied to a dialer interface so that a different interface point can be used for services termination. The dialer configuration in this instance uses dialer profiles rather than Legacy DDR so I havent tested it on DDR based systems yet.
There are a couple of bugs still in it and I will not be able to support the plugin as it far exceeds my knowledge of php but I have noticed a number of topics about interface monitoring and decided to release it in the state that it is in.
The design docco is included as well and explains the whole plugin from installing to configuring and functionality.
The name of the plugin came from the original DOS app used so the users maintained some recognition as to its purpose. The image needs to be updated and there are some further functionality that could be added but as Jeff was only with us for a brief period it hasn't been finalised yet.
Hope this gives some ideas and can be of use to everone.
Cheers
Router Interface Control Plugin
Moderators: Developers, Moderators
Router Interface Control Plugin
- Attachments
-
- dialer.jpg (78.04 KiB) Viewed 11324 times
-
- manage.jpg (103.64 KiB) Viewed 11325 times
-
- interfaces.jpg (79.21 KiB) Viewed 11364 times
-
- telix_v0_1.tar
- (200 KiB) Downloaded 690 times
Last edited by raddy on Mon Mar 19, 2007 7:57 am, edited 3 times in total.
Docco..
- Attachments
-
- Telix Manual and Design 27-57.zip
- Pages 27 - 57
- (681.53 KiB) Downloaded 653 times
-
- Telix Manual and Design 14-26.zip
- Pages 14 - 26
- (723.83 KiB) Downloaded 686 times
-
- Telix Manual and Design 1-13.zip
- Pages 1 - 13
- (395.69 KiB) Downloaded 575 times
Last edited by raddy on Thu Mar 22, 2007 2:55 am, edited 4 times in total.
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
I have up'd your quota. Please retry to upload.
TheWitness
TheWitness
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
A couple of things for anyone that is looking at this,
Interfaces will only be displayed in the status and management pages if they have a description applied to the interface on the router, this includes the dialer interface. This was to remove interfaces such as Null0 from being presented to the user. I may look at changing this to display all interfaces regardless of description and just leave out Null0 later.
If you are using the Dialer string control feature there is some code in telix_dialer_strs.php that checks for the prompts displayed when connecting to the router, part of which is the hostname. This will need to be modified in the future but at the moment, change the hostname of the router in lines 88 - 90 to reflect the device hostname you are controlling
define("TELNET_PROMPT_CMD", "HOSTNAME#");
define("TELNET_PROMPT_CMD_CONFIG", "HOSTNAME(config)#");
define("TELNET_PROMPT_CMD_CONFIG_IF", "HOSTNAME(config-if)#");
This is only applicable to the dialer string management as it is the only part of the plugin that requires telnet access. All other features are performed through SNMP.
The OIDs for Interface OP status ADMIN status and Description are located in the docco.
Any feedback would be appreciated
Cheers
Interfaces will only be displayed in the status and management pages if they have a description applied to the interface on the router, this includes the dialer interface. This was to remove interfaces such as Null0 from being presented to the user. I may look at changing this to display all interfaces regardless of description and just leave out Null0 later.
If you are using the Dialer string control feature there is some code in telix_dialer_strs.php that checks for the prompts displayed when connecting to the router, part of which is the hostname. This will need to be modified in the future but at the moment, change the hostname of the router in lines 88 - 90 to reflect the device hostname you are controlling
define("TELNET_PROMPT_CMD", "HOSTNAME#");
define("TELNET_PROMPT_CMD_CONFIG", "HOSTNAME(config)#");
define("TELNET_PROMPT_CMD_CONFIG_IF", "HOSTNAME(config-if)#");
This is only applicable to the dialer string management as it is the only part of the plugin that requires telnet access. All other features are performed through SNMP.
The OIDs for Interface OP status ADMIN status and Description are located in the docco.
Any feedback would be appreciated
Cheers
Who is online
Users browsing this forum: No registered users and 1 guest