I've been writing a few reports for my Cacti recently as Superlinks pages. I thought they might be useful to others, and that there could be some place to collect these up. This is the "Show off your Weathermaps" thread, but for Superlinks content pages.
Not screenshots, actual usable code, please!
To use any of the reports, drop them into the 'content' directory inside the superlinks directory, then go to the Superlinks Pages management screen and add them from there, with either a menu item or a tab as you prefer.
[woo! 3000th post... ]
Superlinks - post useful reports and content here
Moderators: Developers, Moderators
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
Superlinks - post useful reports and content here
Last edited by Howie on Wed Sep 30, 2009 11:52 am, edited 2 times in total.
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
Find all interfaces with traffic graphs but no error graph.
We try to monitor error counters on all ports we monitor. This report finds all the interfaces that have data template 41 (Interface Traffic) but not 38 (Interface Errors/Discards). Host names are links to the host edit page, so you can easily add the missing graphs.
Obviously it could be used for any other pair of templates by changing the numbers.
We try to monitor error counters on all ports we monitor. This report finds all the interfaces that have data template 41 (Interface Traffic) but not 38 (Interface Errors/Discards). Host names are links to the host edit page, so you can easily add the missing graphs.
Obviously it could be used for any other pair of templates by changing the numbers.
- Attachments
-
- interfaces-without-error-stats.php.txt
- (1.92 KiB) Downloaded 374 times
Last edited by Howie on Wed Sep 30, 2009 11:51 am, edited 1 time in total.
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
Use DSStats to find interfaces with non-zero error rates
Once you have used the previous report to add all your error counters, you can use this one and DSStats (1.1+) to find which ones are misbehaving. It looks for data sources called errors_in and errors_out with non-zero values, then figures out a graph ID to use as a link, so you can see it.
Once you have used the previous report to add all your error counters, you can use this one and DSStats (1.1+) to find which ones are misbehaving. It looks for data sources called errors_in and errors_out with non-zero values, then figures out a graph ID to use as a link, so you can see it.
- Attachments
-
- all-errors.php.txt
- (2.08 KiB) Downloaded 291 times
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
Who has which rights?
Trying to figure out who has access to see tholds or weathermaps? This report lists all the permissions for Cacti and installed plugins, and then for each a list of which users have that permission. The usernames are links to the 'edit user' page for that user.
Trying to figure out who has access to see tholds or weathermaps? This report lists all the permissions for Cacti and installed plugins, and then for each a list of which users have that permission. The usernames are links to the 'edit user' page for that user.
- Attachments
-
- whohas.php.txt
- (1.11 KiB) Downloaded 203 times
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
Who is online
Users browsing this forum: No registered users and 4 guests