Plugin uptime

Addons for Cacti and discussion about those addons

Moderators: Developers, Moderators

Post Reply
User avatar
macan
Cacti Guru User
Posts: 1137
Joined: Tue Mar 18, 2008 2:30 am
Location: Czech

Plugin uptime

Post by macan »

Hi,
I wrote small plugin which collects restart/uptime history and also displays restarts in graphs
uptime_device.png
uptime_device.png (18.63 KiB) Viewed 10457 times
uptime_graph.png
uptime_graph.png (49.39 KiB) Viewed 10457 times
https://github.com/xmacan/plugin_uptime
Let the Cacti grow!
netniV
Cacti Guru User
Posts: 3441
Joined: Sun Aug 27, 2017 12:05 am

Re: Plugin uptime

Post by netniV »

Great idea for a plugin. Does this overwrite any of the default templates though? Or does it provide a new template that includes the new data?
Cacti Developer & Release Manager
The Cacti Group

Director
BV IT Solutions Ltd

+--------------------------------------------------------------------------+

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
User avatar
macan
Cacti Guru User
Posts: 1137
Joined: Tue Mar 18, 2008 2:30 am
Location: Czech

Re: Plugin uptime

Post by macan »

Without overwriting any template. Plugin only compare and save snmp_sysUpTimeInstance (hook poller_bottom) to plugin_uptime_data table.
Hook rrd_graph_graph_options is used for modify graph.

Do you mean new template - number of restarts for any or all devices?
Let the Cacti grow!
netniV
Cacti Guru User
Posts: 3441
Joined: Sun Aug 27, 2017 12:05 am

Re: Plugin uptime

Post by netniV »

You've answered what I needed to know :)
Cacti Developer & Release Manager
The Cacti Group

Director
BV IT Solutions Ltd

+--------------------------------------------------------------------------+

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests