Graph for Interface Status

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

Moderators: Developers, Moderators

Post Reply
rverchere
Posts: 1
Joined: Fri Sep 25, 2015 3:13 am

Graph for Interface Status

Post by rverchere »

Hello,

I'm using Cacti for months without issues, essentially for interface traffic statistics.

I'm now trying to have interfaces status (up/down), to track ports that are not used.

I've installed these new graphs and followed this howto:
https://kb.groundworkopensource.com/dis ... tus+checks

I have new graphs, but they are difficult to interpret (I though having only 2 values : 1 or 0 for Up or Down), see the screenshot below:

Image

What do I have to configure these graphs in order to have only 2 values?

Thanks for your help!
User avatar
phalek
Developer
Posts: 2838
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

Re: Graph for Interface Status

Post by phalek »

You need to change the datasource to a "GAUGE" instead of a "COUNTER".

Gauges are for things like temperatures ( where the data is always showing the current state )
Counters are for interface statistics ( where the octect counter is increased continuesly )
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
aftershocks
Cacti User
Posts: 117
Joined: Fri Aug 22, 2014 2:11 pm

Re: Graph for Interface Status

Post by aftershocks »

I have the same issue too... It was working for some time.. Nothing was touched.. And suddenly, it started to graph all weird...

Confirmed that the data source is set to GAUGE and not COUNTER.

Any other ideas?
Rno
Cacti Pro User
Posts: 697
Joined: Wed Dec 07, 2011 9:19 am

Re: Graph for Interface Status

Post by Rno »

Did you import other template ?
Because when you do that it can change some other base definition, like CDEF, RRA definition, that you are not aware of!
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
aftershocks
Cacti User
Posts: 117
Joined: Fri Aug 22, 2014 2:11 pm

Re: Graph for Interface Status

Post by aftershocks »

Ahhh!! It overwrites it! Thanks for the heads up.. I didn't know that..

Having said that, I re-imported the same interface operational status template but it's still not restored to normal...

How does it take effect? Do I need to rebuild the poller cache?
aftershocks
Cacti User
Posts: 117
Joined: Fri Aug 22, 2014 2:11 pm

Re: Graph for Interface Status

Post by aftershocks »

Thank you so much Rno! I got it to work!

I made the changes that you suggested, but it wasn't working still.. I re-imported the template and then noticed the data source ifOperStatus (status) now selected and available in the drop down.. I then rebuilt the poller cache.. Still no luck..

I had to restart the server and then it started to graph properly again...

Thank you so much for your help Sir!! You've been a great help!
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests