Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Thu Aug 17, 2017 2:54 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Nodes showing offline intermittently
PostPosted: Tue Nov 22, 2016 12:27 am 
Offline

Joined: Tue Nov 22, 2016 12:18 am
Posts: 2
Hi,

We are facing an issue with our Cacti that it keeps showing some nodes offline (gray arrows) even though the devices are marked as up and we are able to ping them. we have tried increasing polling interval , increasing ping timeout value for these nodes, removing those nodes and adding them again , clearing the statistics for them and eventually restarting the service but with no avail.

These nodes sometimes appear online (green arrow) and then it shows again after some time offline.

Any suggestions?


Top
 Profile  
 
 Post subject: Re: Nodes showing offline intermittently
PostPosted: Tue Nov 22, 2016 5:37 am 
Offline
Cacti User

Joined: Wed Dec 07, 2011 9:19 am
Posts: 203
I have the same issue but only with snmp, I got error that the device is not responding to snmp but ping is ok !!
And snmp timeout is over 10 seconds !! But that won't solve the problem

_________________
CentOS
Production
Cacti 0.8.8h
Spine 0.8.8h
PIA 3.1
Aggregate 0.75
Monitor 1.3
Settings 0.71
Weathermap 0.98
Thold 0.5
rrdclean 0.41

Own plugin: LinkDiscovery 0.3, Map 0.4

Test
Cacti 1.1.16
Spine Not used, cmd.php instead
Own plugin:
LinkDiscovery 1.0
Map 1.0


Top
 Profile  
 
 Post subject: Re: Nodes showing offline intermittently
PostPosted: Tue Nov 22, 2016 5:46 am 
Offline
Cacti Guru User
User avatar

Joined: Thu Sep 16, 2004 5:53 am
Posts: 5117
Location: United Kingdom
Grey arrows in weathermap?

What does your scale look like?

Weathermap doesn't show anything as up or down - it just takes a number and turns it into a colour. If the scale (which does the translation) has gaps, or is incorrect for your interpretation of the data, then you might get grey arrows. The most common problem like this is where people have a scale like

Code:
SCALE myscale 0 1   255 0 0
SCALE myscale 1 2   0 255 0

or
Code:
SCALE myscale 1 1   255 0 0
SCALE myscale 2 2   0 255 0


and then get a value of 1.5. If you are storing things like interface status in rrd files, then you sometimes get values in between 1 and 2, even if you think that you can only get 1 or 2 back from the device, depending on how you have set up the rrd parameters. It will produce an average if those aren't correct.

The easiest fix is:
Code:
SCALE myscale 0.5 1.5   255 0 0
SCALE myscale 1.5 2.5   0 255 0


Now there are no gaps. The actual state might still be wrong though - if the average is 1.7 because the state has only recently changed from 2 to 1, the map will show an incorrect state. So the real answer is to fix the rrd parameters if this is what the problem is.

_________________
Weathermap 0.98 is out! & QuickTree 0.2. Superlinks is over there now.
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!)


Top
 Profile  
 
 Post subject: Re: Nodes showing offline intermittently
PostPosted: Tue Nov 22, 2016 11:47 pm 
Offline

Joined: Tue Nov 22, 2016 12:18 am
Posts: 2
Hi Howie,

Thanks for your reply, much appreciated. Basically we are monitoring traffic on our devices. if any of them stopped passing traffic,the link (or arrow) would turn from green to grey on the weathermap and would mark the device as down in the devices list.

The issue we are facing that even though device is marked up and its passing traffic and we are able to reach it from cacti , its still showing grey link as if its not passing traffic.

I have attached sample of the logs we are getting for one of the devices we are facing this issue with.

PS: we have tried rebuilding the rrd file manually but with no avail.

Also kindly can you please help in the location of where to check the scale from? As I'm not aware of.

Thanks,


Attachments:
cacti rrd error.PNG
cacti rrd error.PNG [ 57.7 KiB | Viewed 718 times ]
Top
 Profile  
 
 Post subject: Re: Nodes showing offline intermittently
PostPosted: Wed Nov 23, 2016 4:46 am 
Offline
Cacti Guru User
User avatar

Joined: Thu Sep 16, 2004 5:53 am
Posts: 5117
Location: United Kingdom
The scale is defined in the top of the weathermap map config file.

If you are getting 'no valid data' though, it's probably not that.

At the time that you get that error in your logs, please check the last-modified date on that specific file.

_________________
Weathermap 0.98 is out! & QuickTree 0.2. Superlinks is over there now.
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!)


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group