Availability Graph Template [Based on uptime]
Moderators: Developers, Moderators
-
- Cacti User
- Posts: 111
- Joined: Fri Sep 28, 2012 6:52 pm
Availability Graph Template [Based on uptime]
Just thought I'd share a template that displays percentage availability. It's based on the ucd/net Uptime and it applies a few CDEFs based on the existence of an Uptime value.
I've only done a few tests with it, but so far they've worked on several machines.
Feedback, please.
I've only done a few tests with it, but so far they've worked on several machines.
Feedback, please.
- Attachments
-
- cacti_graph_template_availability.rar
- (3.09 KiB) Downloaded 718 times
-
- device availability
- availability.png (13.02 KiB) Viewed 7526 times
Re: Availability Graph Template [Based on uptime]
Seems to work nicely - will keep an eye on it over the next little while....
Nice bit of CDEF work BTW - took a few minutes to work out what you were doing!
I've created another version which works on the hrSystemUptime variable, available for Windows devices via SNMP - looks to be working ....
I'm going to leave it for a while then look at getting it to work with individual services, though I expect this to be a little trickier.... (but you never know).
Nice bit of CDEF work BTW - took a few minutes to work out what you were doing!
I've created another version which works on the hrSystemUptime variable, available for Windows devices via SNMP - looks to be working ....
I'm going to leave it for a while then look at getting it to work with individual services, though I expect this to be a little trickier.... (but you never know).
No longer a n00by, probably, by now an 0ldby
Now Head of Technology at RSCH, back to the prickly subject of Monitorring....
Now Head of Technology at RSCH, back to the prickly subject of Monitorring....
Re: Availability Graph Template [Based on uptime]
Nice....
I've fiddled with it a bit to get these two graphs, one is for Windows Availability %uptime based on an SNMP query of hrSysUptime on a Windows box. The second is a graph for service availabliity/uptime in %.
OK, for some reason I can't just upload these .xml
So I've stuck them both in a zip... It should just be a matter of unzipping them and importing them...
The Win Service one should replace the standard win services graph, but may not, as I've renamed it.... let me know...
I've fiddled with it a bit to get these two graphs, one is for Windows Availability %uptime based on an SNMP query of hrSysUptime on a Windows box. The second is a graph for service availabliity/uptime in %.
OK, for some reason I can't just upload these .xml
...The upload was rejected because the uploaded file was identified as a possible attack vector.
So I've stuck them both in a zip... It should just be a matter of unzipping them and importing them...
The Win Service one should replace the standard win services graph, but may not, as I've renamed it.... let me know...
No longer a n00by, probably, by now an 0ldby
Now Head of Technology at RSCH, back to the prickly subject of Monitorring....
Now Head of Technology at RSCH, back to the prickly subject of Monitorring....
- phalek
- Developer
- Posts: 2838
- Joined: Thu Jan 31, 2008 6:39 am
- Location: Kressbronn, Germany
- Contact:
Re: Availability Graph Template [Based on uptime]
Both are exported on a 0.8.8a box, right ?
Greetings,
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
-
- Cacti User
- Posts: 111
- Joined: Fri Sep 28, 2012 6:52 pm
Re: Availability Graph Template [Based on uptime]
mine at least is 0.8.8a, as described here: http://docs.cacti.net/usertemplate:grap ... ailability
Re: Availability Graph Template [Based on uptime]
Yup, from cactiEZ 0.7...
No longer a n00by, probably, by now an 0ldby
Now Head of Technology at RSCH, back to the prickly subject of Monitorring....
Now Head of Technology at RSCH, back to the prickly subject of Monitorring....
Re: Availability Graph Template [Based on uptime]
Doesn't work on my CACTI 0.8.8a, the graph is always green, even if I stop snmp services or shutdown/reboot the server
Whereas the command for hrsystemuptime seems to work :
root@xxxxx # snmpwalk -Os -c public -v 2c servername.suffix.fr .1.3.6.1.2.1.25.1.1.0
hrSystemUptime.0 = Timeticks: (369312) 1:01:33.12
Whereas the command for hrsystemuptime seems to work :
root@xxxxx # snmpwalk -Os -c public -v 2c servername.suffix.fr .1.3.6.1.2.1.25.1.1.0
hrSystemUptime.0 = Timeticks: (369312) 1:01:33.12
-
- Cacti User
- Posts: 111
- Joined: Fri Sep 28, 2012 6:52 pm
Re: Availability Graph Template [Based on uptime]
Note that the poller works, by default, every 5 minutes.
I'm not entirely familiar with how data normalization would work in this case, but what's probably happening is that such downtimes weren't long enough to be relevant to/captured by the poller process.
That's just my reasoning. I could be wrong.
However, it's been working nicely for me for quite some time now.
I'm not entirely familiar with how data normalization would work in this case, but what's probably happening is that such downtimes weren't long enough to be relevant to/captured by the poller process.
That's just my reasoning. I could be wrong.
However, it's been working nicely for me for quite some time now.
-
- Posts: 1
- Joined: Wed Aug 12, 2015 5:24 pm
Re: Availability Graph Template [Based on uptime]
Hello,
I have problem with the graph in my cacti. Availability is permanently down.
The unit is a Fortigate and the Cacti version is 0.8.8b.
snmpwalk on cacti server write this information:
admin@netmon ~ % snmpwalk -v 2c -c public 192.168.1.1 .1.3.6.1.4.1.12356.101.4.1.20
iso.3.6.1.4.1.12356.101.4.1.20.0 = Counter64: 2791928108
Any idea?
I have problem with the graph in my cacti. Availability is permanently down.
The unit is a Fortigate and the Cacti version is 0.8.8b.
snmpwalk on cacti server write this information:
admin@netmon ~ % snmpwalk -v 2c -c public 192.168.1.1 .1.3.6.1.4.1.12356.101.4.1.20
iso.3.6.1.4.1.12356.101.4.1.20.0 = Counter64: 2791928108
Any idea?
-
- Posts: 2
- Joined: Mon May 13, 2024 7:50 am
Re: Availability Graph Template [Based on uptime]
'victorantunes wrote: ↑Mon Feb 25, 2013 12:12 am Just thought I'd share a template that displays percentage availability. It's based on the ucd/net Uptime and it applies a few CDEFs based on the existence of an Uptime value.
I've only done a few tests with it, but so far they've worked on several machines.
Feedback, please.
can u update this template to work with the version 1.2.23 i really need a template graph to calculate the availability as % value from the downtime and uptime.
Who is online
Users browsing this forum: No registered users and 0 guests