Router Interface Control Plugin

Announcements concerning Plugins for Cacti

Moderators: Developers, Moderators

Post Reply
raddy
Posts: 24
Joined: Thu Oct 27, 2005 8:47 pm
Location: Sydney, Australia

Router Interface Control Plugin

Post by raddy »

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
Attachments
dialer.jpg
dialer.jpg (78.04 KiB) Viewed 11326 times
manage.jpg
manage.jpg (103.64 KiB) Viewed 11327 times
interfaces.jpg
interfaces.jpg (79.21 KiB) Viewed 11366 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.
raddy
Posts: 24
Joined: Thu Oct 27, 2005 8:47 pm
Location: Sydney, Australia

Post by raddy »

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.
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

I have up'd your quota. Please retry to upload.

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?
raddy
Posts: 24
Joined: Thu Oct 27, 2005 8:47 pm
Location: Sydney, Australia

Post by raddy »

Thanks. All docco is now in posted. I had to split it and archive it as i couldnt post the whole thing as a single pdf file.

If anyone wants it on a different format just let me know.

Cheers.
raddy
Posts: 24
Joined: Thu Oct 27, 2005 8:47 pm
Location: Sydney, Australia

Post by raddy »

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 :)
cigamit
Developer
Posts: 3369
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Post by cigamit »

Looks extremely interesting. I will have to take a look at it and give it a go.

Anyone wishing to take up development on this plugin, let me know and I can host the SVN and downloads for it if necessary.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests