Device down if use ICMP in Availability/Reachability Options

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

User avatar
mazin
Posts: 3
Joined: Fri Jul 15, 2011 1:14 am
Location: Moscow, Russia
Contact:

Re: Device down if use ICMP in Availability/Reachability Opt

Post by mazin »

Code: Select all

sudo chmod +s /usr/sbin/spine
lorenplak
Posts: 41
Joined: Wed Feb 23, 2011 11:53 am

Re: Device down if use ICMP in Availability/Reachability Opt

Post by lorenplak »

Hy,

i've the same pb with cacti 0.8.7.G under a Win32box
here the result of spine -V 5 -f 191 -l 191 -R

07/22/2011 05:16:40 PM - SPINE: Poller[0] DEBUG: The number of concurrent processes is 2
07/22/2011 05:16:40 PM - SPINE: Poller[0] DEBUG: The script timeout is 20
07/22/2011 05:16:40 PM - SPINE: Poller[0] DEBUG: The number of php script servers to run is 5
07/22/2011 05:16:40 PM - SPINE: Poller[0] DEBUG: StartHost='191', EndHost='191', TotalPHPScripts='0'
07/22/2011 05:16:40 PM - SPINE: Poller[0] DEBUG: The PHP Script Server is Not Required
07/22/2011 05:16:40 PM - SPINE: Poller[0] DEBUG: The Maximum SNMP OID Get Size is 30
07/22/2011 05:16:40 PM - SPINE: Poller[0] Version 0.8.7g starting
07/22/2011 05:16:40 PM - SPINE: Poller[0] DEBUG: MySQL is Thread Safe!
07/22/2011 05:16:40 PM - SPINE: Poller[0] SPINE: Initializing Net-SNMP API
07/22/2011 05:16:40 PM - SPINE: Poller[0] DEBUG: Issues with SNMP Header Version information, assuming old version of Net-SNMP.
07/22/2011 05:16:40 PM - SPINE: Poller[0] SPINE: Initializing PHP Script Server(s)
07/22/2011 05:16:40 PM - SPINE: Poller[0] NOTE: Spine did not detect multithreaded device polling.
07/22/2011 05:16:40 PM - SPINE: Poller[0] NOTE: Spine is behaving in a 0.8.7g manner
07/22/2011 05:16:40 PM - SPINE: Poller[0] DEBUG: Initial Value of Active Threads is 0
07/22/2011 05:16:40 PM - SPINE: Poller[0] DEBUG: In Poller, About to Start Polling of Host
07/22/2011 05:16:40 PM - SPINE: Poller[0] Host[0] TH[1] DEBUG: HOST COMPLETE: About to Exit Host Polling Thread Function
07/22/2011 05:16:41 PM - SPINE: Poller[0] DEBUG: Valid Thread to be Created
07/22/2011 05:16:41 PM - SPINE: Poller[0] DEBUG: The Value of Active Threads is 1
07/22/2011 05:16:41 PM - SPINE: Poller[0] DEBUG: In Poller, About to Start Polling of Host
07/22/2011 05:16:41 PM - SPINE: Poller[0] DEBUG: Valid Thread to be Created
07/22/2011 05:16:41 PM - SPINE: Poller[0] DEBUG: The Value of Active Threads is 2
07/22/2011 05:16:41 PM - SPINE: Poller[0] DEBUG: The Value of Active Threads is 1
07/22/2011 05:16:41 PM - SPINE: Poller[0] Host[191] PING Result: ICMP: Ping timed out
07/22/2011 05:16:41 PM - SPINE: Poller[0] Host[191] TH[1] DEBUG: HOST COMPLETE: About to Exit Host Polling Thread Function
07/22/2011 05:16:41 PM - SPINE: Poller[0] DEBUG: The Value of Active Threads is 0
07/22/2011 05:16:41 PM - SPINE: Poller[0] DEBUG: Thread Cleanup Complete
07/22/2011 05:16:41 PM - SPINE: Poller[0] DEBUG: PHP Script Server Pipes Closed
07/22/2011 05:16:41 PM - SPINE: Poller[0] DEBUG: Allocated Variable Memory Freed
07/22/2011 05:16:41 PM - SPINE: Poller[0] DEBUG: MYSQL Free & Close Completed
07/22/2011 05:16:41 PM - SPINE: Poller[0] Time: 0.7180 s, Threads: 8, Hosts: 2
Cacti 0.8.7g - Windows - poller type : spine
php 5.2.14 - MySQL 5.1.47
eholz1
Cacti User
Posts: 254
Joined: Mon Oct 01, 2018 10:09 am

Re: Device down if use ICMP in Availability/Reachability Options

Post by eholz1 »

I have this issue with cacti-1.2.18 - and if snmp is not used, and ping used for device availability
the device shows as down, but the ICMP ping is good and received. If I can enable snmp on the device - then it will show as UP if I use "Ping or SNMP"

In cacti 1.2.16 if snmp is not used - set to "none" and ping is used - the device shows as UP.

What is the difference between these two versions of cacti?

Or -- what am I missing?

Thanks,
eholz1
RSA
Posts: 2
Joined: Sat Apr 09, 2022 2:41 pm

Re: Device down if use ICMP in Availability/Reachability Options

Post by RSA »

eholz1 wrote: Mon Mar 07, 2022 2:12 pm I have this issue with cacti-1.2.18 - and if snmp is not used, and ping used for device availability
the device shows as down, but the ICMP ping is good and received. If I can enable snmp on the device - then it will show as UP if I use "Ping or SNMP"

In cacti 1.2.16 if snmp is not used - set to "none" and ping is used - the device shows as UP.

What is the difference between these two versions of cacti?

Or -- what am I missing?

Thanks,
eholz1
i have cacti 1.2.19 ,os- Cetons7 and this problem.
How to fix it?
cacti.png
cacti.png (36 KiB) Viewed 733 times
User avatar
macan
Cacti Guru User
Posts: 1137
Joined: Tue Mar 18, 2008 2:30 am
Location: Czech

Re: Device down if use ICMP in Availability/Reachability Options

Post by macan »

Are you using the Spine? If yes, use chmod +s /path/tp/spine

I think that any issue with device detection was fixed before few weeks. Try to update cacti and spine.
Let the Cacti grow!
RSA
Posts: 2
Joined: Sat Apr 09, 2022 2:41 pm

Re: Device down if use ICMP in Availability/Reachability Options

Post by RSA »

macan wrote: Mon Apr 11, 2022 1:38 am Are you using the Spine? If yes, use chmod +s /path/tp/spine

I think that any issue with device detection was fixed before few weeks. Try to update cacti and spine.
no, we use standart poller cmd.php.

UPD. i changed poller to spine and have other info
2 ip in internet, both host is UP, but monitoring show Up only one ?!
cacti_2.png
cacti_2.png (20.78 KiB) Viewed 722 times
User avatar
macan
Cacti Guru User
Posts: 1137
Joined: Tue Mar 18, 2008 2:30 am
Location: Czech

Re: Device down if use ICMP in Availability/Reachability Options

Post by macan »

selinux?
Let the Cacti grow!
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest