Cacti / cacti

Cacti ™
http://www.cacti.net
GNU General Public License v2.0
1.61k stars 399 forks source link

SPINE: Poller[Main Poller] PID[p id] PT[pt number] Device[Device Name] Hostname[IP Address] ERROR: HOST EVENT: Device is DOWN Message: ICMP: Ping timed out #5656

Closed MSS970 closed 6 months ago

MSS970 commented 6 months ago

Describe the bug Spine Poller reports devices as down however, the devices are found UP by attempting to check the status of the devices in CACTI (click on management -> devices -> click on any device, the Ping Results is successful.

CACTI log shows:

SPINE: Poller[Main Poller] PID[p id] PT[pt number] Device[Device Name] Hostname[IP Address] ERROR: HOST EVENT: Device is DOWN Message: ICMP: Ping timed out.

To Reproduce Steps to reproduce the behavior:

  1. Install CACTI Dev (1.3)
  2. Install Spine Dev (1.3)
  3. Login to CACTI
  4. Click on Logs
  5. See error

Expected behavior It is expected to see no errors from spine poller.

Server (please complete the following information):

SPING1 3-error

TheWitness commented 6 months ago

Is spine marked setuid? In other words, is the file owned by root and "chmod +s spine"? I suspect that's the error.

MSS970 commented 6 months ago

Hi, I use Windows OS, not sure if the chmod applies here.

MSS970 commented 6 months ago

As I use Windows, there is no root.

TheWitness commented 6 months ago

This is likely a restriction in Windows. Look up giving a user permission to open RAW SOCKETS and grant that access to the Windows account.

TheWitness commented 6 months ago

Are you using spine or cmd.php?

MSS970 commented 6 months ago

I use spine and fping on Windows

MSS970 commented 6 months ago

I have checked the permissions on Windows:

TheWitness commented 6 months ago

Here you go

https://learn.microsoft.com/en-us/windows/win32/winsock/tcp-ip-raw-sockets-2