Graphing total interface status
Moderators: Developers, Moderators
Graphing total interface status
So I have MAC Track working. . .really, really awesome little plugin.
However, with all my poking around, I can't find a way to graph the number of used ports out of the number of total ports on a chassis.
I know the info is there somewhere. . .I just don't know where. MAC Track is getting the correct number of ports for both instances, I just need a way to capture and graph the info historically.
TIA
However, with all my poking around, I can't find a way to graph the number of used ports out of the number of total ports on a chassis.
I know the info is there somewhere. . .I just don't know where. MAC Track is getting the correct number of ports for both instances, I just need a way to capture and graph the info historically.
TIA
[color=black]mount -o protected -t voluptuous,selfmaintaining /dev/woman /mnt/me
Attitude is no substitute for competence
See through faded, super jaded, out of my mind[/color]
Attitude is no substitute for competence
See through faded, super jaded, out of my mind[/color]
- TheWitness
- Developer
- Posts: 17059
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Re: Graphing total interface status
Look into mactrack_devices table.
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?
Re: Graphing total interface status
Haha! Awesome! Thanks dude!
Now all I have to do is figure out how to get all the info into a graph or something.
Now all I have to do is figure out how to get all the info into a graph or something.
[color=black]mount -o protected -t voluptuous,selfmaintaining /dev/woman /mnt/me
Attitude is no substitute for competence
See through faded, super jaded, out of my mind[/color]
Attitude is no substitute for competence
See through faded, super jaded, out of my mind[/color]
Re: Graphing total interface status
So, just wanted to say thanks to "TheWitness" for pointing me in the direction.
After a lot of facepalms, some dirty words, a little better understanding of MySQL and a little dirty tutorial on PHP, I've written a nice little PHP script server script that pulls the data from the MySQL database and graphs it for historical purposes. There's an attached picture to show what I've done in case anyone else might find it useful.
After a lot of facepalms, some dirty words, a little better understanding of MySQL and a little dirty tutorial on PHP, I've written a nice little PHP script server script that pulls the data from the MySQL database and graphs it for historical purposes. There's an attached picture to show what I've done in case anyone else might find it useful.
- Attachments
-
- graph_image.png (23.88 KiB) Viewed 3592 times
[color=black]mount -o protected -t voluptuous,selfmaintaining /dev/woman /mnt/me
Attitude is no substitute for competence
See through faded, super jaded, out of my mind[/color]
Attitude is no substitute for competence
See through faded, super jaded, out of my mind[/color]
- TheWitness
- Developer
- Posts: 17059
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Re: Graphing total interface status
Please post to the templates repository when you feel its finished.
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?
Re: Graphing total interface status
I have *no* idea how to do that.TheWitness wrote:Please post to the templates repository when you feel its finished.
And since this is dependent upon MAC Track, if you want to roll it into your plug-in, feel free.
[color=black]mount -o protected -t voluptuous,selfmaintaining /dev/woman /mnt/me
Attitude is no substitute for competence
See through faded, super jaded, out of my mind[/color]
Attitude is no substitute for competence
See through faded, super jaded, out of my mind[/color]
- TheWitness
- Developer
- Posts: 17059
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Re: Graphing total interface status
Just PM me when it's done.
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?
Re: Graphing total interface status
follow,like and +1 for the graph to be included in thold
just curious, did you filter the graph for physical ports only?
just curious, did you filter the graph for physical ports only?
Re: Graphing total interface status
Nope. But MAC Track would do that for you by just ignoring certain interfaces.
[color=black]mount -o protected -t voluptuous,selfmaintaining /dev/woman /mnt/me
Attitude is no substitute for competence
See through faded, super jaded, out of my mind[/color]
Attitude is no substitute for competence
See through faded, super jaded, out of my mind[/color]
Who is online
Users browsing this forum: No registered users and 0 guests