Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Sun May 26, 2019 4:26 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 28 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: [CentOS 7][Cacti 1.1.38] Problem with device status
PostPosted: Tue Mar 05, 2019 2:53 am 
Offline

Joined: Mon Mar 04, 2019 10:03 am
Posts: 15
Good morning,

I have a CentOS 7 device with Cacti 1.1.38 running on it.
Hereby my issue:
Settings: I have set to monitor on either ICMP or SNMP. Logs show no issues (except for a warning about the cron time being set to 1 minute while the poller takes 5 mins. No real problem there, will fix that soon)
Device 1: This device is down. ICMP does not arrive. Screen shows ICMP timed out. .. now the issue: Device status shows up (this is NOT the case)
Device 2: This device is up. ICMP does arrive, has no issue and updates regularly with the correct latency.

So.. the system does work, the pinging does work.. except when the pinging does not work, the device isnt shown as offline.
I may say.. this is the problem with ALL devices. If i change any IP to a non-existing/non-reachable one.. all still show status UP.

Attached screenshots that should make it clear
1 displays 2 devices with both status up.
2 displays a device without ping arriving even though 1 does not show down
3 shows the ping-mechanic does work when a device is online

Attachment:
1.jpg
1.jpg [ 38.75 KiB | Viewed 263 times ]


---------------------

Attachment:
2.jpg
2.jpg [ 178.42 KiB | Viewed 263 times ]


------------------------------------

Attachment:
3.jpg
3.jpg [ 175.77 KiB | Viewed 263 times ]


Top
 Profile  
 
 Post subject: Re: [CentOS 7][Cacti 1.1.38] Problem with device status
PostPosted: Tue Mar 05, 2019 7:16 am 
Offline
Cacti Guru User

Joined: Sun Aug 27, 2017 12:05 am
Posts: 2474
That is because the OR detection is checking whether Ping OR Uptime responds, if it does, then it will be considered up.

_________________
Official Cacti Developer

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

My resources:
How to submit Pull Requests
Development Wiki and How To's
Updated NetSNMP Memory template for Cacti 1.x
Cisco SFP template for Cacti 0.8.8


Top
 Profile  
 
 Post subject: Re: [CentOS 7][Cacti 1.1.38] Problem with device status
PostPosted: Tue Mar 05, 2019 9:43 am 
Offline

Joined: Mon Mar 04, 2019 10:03 am
Posts: 15
netniV wrote:
That is because the OR detection is checking whether Ping OR Uptime responds, if it does, then it will be considered up.


Ah sorry for having the SNMP result blocked up in the picture.
At the device with the ICMP ping down, the SNMP also is not responding. So neither the ICMP nor the SNMP are responding but its still considered up.
So sadly doesnt fit that conclusion
Even setting it to just check the ping method, still doesnt count it as offline.
Basically i just cant get any of my devices to the offline status :D


Top
 Profile  
 
 Post subject: Re: [CentOS 7][Cacti 1.1.38] Problem with device status
PostPosted: Tue Mar 05, 2019 9:54 am 
Offline
Cacti User
User avatar

Joined: Fri Feb 10, 2017 2:45 pm
Posts: 237
Location: Long Island, New York, USA
What is monitoring set to?

_________________
See the Cacti 1.x templates I use at: http://www.camerabob.com/cacti

Live: Cacti 1.2.3 @ CentOS 7-6.1810.2.el7 & PHP 5.4.16-46.e17
Maint @ 1.2
Monitor @ 2.3.6
Thold @ 1.2.4

Test: Cacti 1.2.3 @ CentOS 7-6.1810.2.el7 & PHP 5.4.45-17.e17.remi
Maint @ 1.2
Monitor @ 2.3.4
Thold @ 1.0.4


Top
 Profile  
 
 Post subject: Re: [CentOS 7][Cacti 1.1.38] Problem with device status
PostPosted: Tue Mar 05, 2019 10:43 am 
Offline
Cacti Guru User

Joined: Sun Aug 27, 2017 12:05 am
Posts: 2474
It may not yet go offline if you have set a number of events to occur before it's considered down.

_________________
Official Cacti Developer

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

My resources:
How to submit Pull Requests
Development Wiki and How To's
Updated NetSNMP Memory template for Cacti 1.x
Cisco SFP template for Cacti 0.8.8


Top
 Profile  
 
 Post subject: Re: [CentOS 7][Cacti 1.1.38] Problem with device status
PostPosted: Tue Mar 05, 2019 2:52 pm 
Offline

Joined: Tue Mar 05, 2019 2:04 pm
Posts: 2
Same issue for me too -

I have a CentOS 7 device with Cacti 1.1.38 running on it.
I need to monitor the traffic on devices. For testing, I have added only 1 device with 1 Interface which have the traffic.


Attachment:
1.JPG
1.JPG [ 94.78 KiB | Viewed 248 times ]



Attachment:
2.JPG
2.JPG [ 85.21 KiB | Viewed 248 times ]




Attachment:
3.JPG
3.JPG [ 112.62 KiB | Viewed 248 times ]





I was able to monitor the traffic before, suddenly it stopped and it started this error.


Please help me, if someone how to fix this issue.


Top
 Profile  
 
 Post subject: Re: [CentOS 7][Cacti 1.1.38] Problem with device status
PostPosted: Tue Mar 05, 2019 2:57 pm 
Offline
Cacti User
User avatar

Joined: Fri Feb 10, 2017 2:45 pm
Posts: 237
Location: Long Island, New York, USA
Before what? What has changed? Was there a yum update?

_________________
See the Cacti 1.x templates I use at: http://www.camerabob.com/cacti

Live: Cacti 1.2.3 @ CentOS 7-6.1810.2.el7 & PHP 5.4.16-46.e17
Maint @ 1.2
Monitor @ 2.3.6
Thold @ 1.2.4

Test: Cacti 1.2.3 @ CentOS 7-6.1810.2.el7 & PHP 5.4.45-17.e17.remi
Maint @ 1.2
Monitor @ 2.3.4
Thold @ 1.0.4


Top
 Profile  
 
 Post subject: Re: [CentOS 7][Cacti 1.1.38] Problem with device status
PostPosted: Wed Mar 06, 2019 1:46 am 
Offline

Joined: Mon Mar 04, 2019 10:03 am
Posts: 15
camerabob wrote:
What is monitoring set to?


Which monitoring? Its just set to go off on offline SNMP or ping in the Availability/Reachability Options of the device. Shouldn't that be enough? (as far as im looking at my old 0.8.8a setup where it does work, looks to be set the same way)

netniV wrote:
It may not yet go offline if you have set a number of events to occur before it's considered down.


Not as far as im aware. Only set up the settings at the Availability/Reachability Options of the device. Cant see much else that differs from my old still working setup either.
Any place i should check to make sure?


Top
 Profile  
 
 Post subject: Re: [CentOS 7][Cacti 1.1.38] Problem with device status
PostPosted: Wed Mar 06, 2019 1:58 am 
Offline

Joined: Mon Mar 04, 2019 10:03 am
Posts: 15
camerabob wrote:
What is monitoring set to?


Ah, think you meant this? Just standard.. only fully offline check, no latency alerts

Attachment:
2019-03-06 07_57_04-Console -_ Devices -_ (Edit).jpg
2019-03-06 07_57_04-Console -_ Devices -_ (Edit).jpg [ 108.4 KiB | Viewed 237 times ]


Top
 Profile  
 
 Post subject: Re: [CentOS 7][Cacti 1.1.38] Problem with device status
PostPosted: Fri Mar 08, 2019 2:14 am 
Offline

Joined: Mon Mar 04, 2019 10:03 am
Posts: 15
Kept searching for clues but still havent found any. The devices are responding correctly to SNMP and ping but just dont go offline when either of them fails :S


Top
 Profile  
 
 Post subject: Re: [CentOS 7][Cacti 1.1.38] Problem with device status
PostPosted: Fri Mar 08, 2019 3:20 am 
Offline

Joined: Mon Mar 04, 2019 10:03 am
Posts: 15
Seems like the graphs are not recording the data either even though the data is showing.
Graphs staying empty


Top
 Profile  
 
 Post subject: Re: [CentOS 7][Cacti 1.1.38] Problem with device status
PostPosted: Sun Mar 10, 2019 11:16 am 
Offline
Cacti User

Joined: Thu Jan 07, 2010 10:33 am
Posts: 128
Can you post a screenshot that includes the snmp information at the top when the device is up?


Top
 Profile  
 
 Post subject: Re: [CentOS 7][Cacti 1.1.38] Problem with device status
PostPosted: Mon Mar 11, 2019 7:59 am 
Offline

Joined: Mon Mar 04, 2019 10:03 am
Posts: 15
MrRat wrote:
Can you post a screenshot that includes the snmp information at the top when the device is up?


Hereby 2 examples. When a device is up it does show the SNMP and ICMP correctly. When its offline, it will show a timeout/connectionissue on both of the options however the device will still be on the "up" status

Attachment:
2019-03-11 13_56_08-Console -_ Apparaten -_ (Wijzig).jpg
2019-03-11 13_56_08-Console -_ Apparaten -_ (Wijzig).jpg [ 158.12 KiB | Viewed 167 times ]


Attachment:
2019-03-11 13_57_58-Console -_ Apparaten -_ (Wijzig).jpg
2019-03-11 13_57_58-Console -_ Apparaten -_ (Wijzig).jpg [ 165.15 KiB | Viewed 167 times ]


Top
 Profile  
 
 Post subject: Re: [CentOS 7][Cacti 1.1.38] Problem with device status
PostPosted: Mon Mar 11, 2019 8:06 am 
Offline
Cacti User

Joined: Thu Jan 07, 2010 10:33 am
Posts: 128
You are hiding the pieces that I'm thinking are relevant. At one time I found that if there was an apostrophe in the snmp location that the devices status would never change. Can you remove any special characters from snmp location and contact just to see if that resolves your issue?


Top
 Profile  
 
 Post subject: Re: [CentOS 7][Cacti 1.1.38] Problem with device status
PostPosted: Mon Mar 11, 2019 6:01 pm 
Offline
Cacti User

Joined: Thu Jan 07, 2010 10:33 am
Posts: 128
I did try to reproduce my theory with 1.2.2 and cannot reproduce. I know the issue I saw was with 1.1.38. I’m not suggesting upgrade yet though. Wait for 1.2.3 in the coming days. The workaround was to remove the apostrophe from the snmp location on devices. I should have reported this but it appears that the issue has since been resolved.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 28 posts ]  Go to page 1, 2  Next

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 3 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