Internet Uptime - how to setup in Cacti

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
rgroothuis
Posts: 3
Joined: Wed Dec 16, 2020 4:56 am

Internet Uptime - how to setup in Cacti

Post by rgroothuis »

I want to monitor my internet connection stability, I want to do a continuous ping to for example 8.8.8.8 and monitor the stability of my internet connection. How can I set this up in Cacti?

I found the mechanism to monitor ping latency, but not really how to measure/graph the uptime. Any suggestions?

I'm a newbie in Cacti by the way, still learning by doing.
Rno
Cacti Pro User
Posts: 692
Joined: Wed Dec 07, 2011 9:19 am

Re: Internet Uptime - how to setup in Cacti

Post by Rno »

Create a host Google as 8.8.8.8 for the hostname, make it without any device template
than add the graph Unix - Ping Latency
and finaly do the graph
and voila
Test
Almalinux
php 8.2.14
mariadb 10.6.16
Cacti 1.2.27
Spine 1.2.27
RRD 1.7.2
thold 1.8
monitor 2.5
syslog 3.2
flowview: 3.3
weathermap 1.0 Beta
rgroothuis
Posts: 3
Joined: Wed Dec 16, 2020 4:56 am

Re: Internet Uptime - how to setup in Cacti

Post by rgroothuis »

Rno wrote: Fri Dec 18, 2020 8:53 am Create a host Google as 8.8.8.8 for the hostname, make it without any device template
than add the graph Unix - Ping Latency
and finaly do the graph
and voila
Ok, thanks. Ping Latency is the trick to solve this. Thanks. I found this option indeed.

I was wondering if there was also an Up/Down type tests.
rgroothuis
Posts: 3
Joined: Wed Dec 16, 2020 4:56 am

Re: Internet Uptime - how to setup in Cacti

Post by rgroothuis »

Ping latency is working fine for some time.
cacti_graph_331.png
cacti_graph_331.png (33.32 KiB) Viewed 1555 times
Rno
Cacti Pro User
Posts: 692
Joined: Wed Dec 07, 2011 9:19 am

Re: Internet Uptime - how to setup in Cacti

Post by Rno »

Up/Down is based on interface status, so it will only give you information if your link is interuupted with your provider, or to your CPE, not after that.
Test
Almalinux
php 8.2.14
mariadb 10.6.16
Cacti 1.2.27
Spine 1.2.27
RRD 1.7.2
thold 1.8
monitor 2.5
syslog 3.2
flowview: 3.3
weathermap 1.0 Beta
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: Internet Uptime - how to setup in Cacti

Post by TheWitness »

In the latest Net-SNMP Device Template there is an Uptime Graph Template. You should use that. I would say in the server world (screwing windows cause they screwed themselves), the Net-SNMP template, should cover almost 100% of the space.
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?
Rno
Cacti Pro User
Posts: 692
Joined: Wed Dec 07, 2011 9:19 am

Re: Internet Uptime - how to setup in Cacti

Post by Rno »

If I'm right uptime need to access a specific OID to work.
How can you do that on Google server ?
Test
Almalinux
php 8.2.14
mariadb 10.6.16
Cacti 1.2.27
Spine 1.2.27
RRD 1.7.2
thold 1.8
monitor 2.5
syslog 3.2
flowview: 3.3
weathermap 1.0 Beta
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests