UDP Pings Go Out Instead of ICMP - Windows Hosts Show Down
Moderators: Developers, Moderators
UDP Pings Go Out Instead of ICMP - Windows Hosts Show Down
Cacti 0.8.8a running on CentOS 6.3 x64 w/ SELinux
Poller: Spine (run as cactiuser)
Down Host Detection: Ping - ICMP
chmod 4755 spine
I have windows hosts showing down but they are up. I'm using ICMP pings as the detection method, but UDP pings are going out in place of ICMP (verified in Wireshark). I can ping the Windows hosts via CLI on the Cacti server successfully. What have I missed?
Thanks
Poller: Spine (run as cactiuser)
Down Host Detection: Ping - ICMP
chmod 4755 spine
I have windows hosts showing down but they are up. I'm using ICMP pings as the detection method, but UDP pings are going out in place of ICMP (verified in Wireshark). I can ping the Windows hosts via CLI on the Cacti server successfully. What have I missed?
Thanks
Re: UDP Pings Go Out Instead of ICMP - Windows Hosts Show Do
A Windows 2008 R2 host will respond to both ICMP and UDP ping requests (I just tested with nmap).
in Settings -> Poller -> Poller Host Availability Settings, see this comment :
in Settings -> Poller -> Poller Host Availability Settings, see this comment :
sure cacti service has root?Ping Type
The type of ping packet to sent. NOTE: ICMP requires that the Cacti Service ID have root privilages in Unix.
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
Re: UDP Pings Go Out Instead of ICMP - Windows Hosts Show Do
Below are permissions for the spine binary.
Do I need to configure the cron job to run as root? The cron job is set to run with the cacti user.
Code: Select all
-rwsrwxr-x. 1 cacti cacti 261323 Feb 20 08:26 spine
Re: UDP Pings Go Out Instead of ICMP - Windows Hosts Show Do
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
Re: UDP Pings Go Out Instead of ICMP - Windows Hosts Show Do
What am I supposed to find here? Looking over the document it states that I should use the cacti account in the cron job, which I am doing.BSOD2600 wrote:Review http://docs.cacti.net/manual:088:1_inst ... stall_unix
Is ICMP broken in Cacti?
I stumbled upon this old topic but there's no resolution.
http://forums.cacti.net/viewtopic.php?f=21&t=47142
Is there good documentation for configuring spine to work with ICMP? Can someone clarify what "NOTE: ICMP requires that the Cacti Service ID have root privilages in Unix." means?
Thanks
Re: UDP Pings Go Out Instead of ICMP - Windows Hosts Show Do
I swear that I'm not insane.
I ran debug level logging and found the following:
I've ran chmod +s and chown root:root on the spine binary (I did the chown command this morning).
Once I gave ownership of the spine.conf file to root ICMP worked.
Should spine.conf be owned by root? I know that the install guide states that Spine should be installed by root, but for whatever reason it was owned by cacti:cacti.
Thanks
I ran debug level logging and found the following:
Code: Select all
03/26/2013 01:25:01 PM - SPINE: Poller[0] WARNING: Spine NOT running asroot. This is required if using ICMP. Please run "chmod +s;chown root:root spine" to resolve.
Once I gave ownership of the spine.conf file to root ICMP worked.
Code: Select all
03/26/2013 01:45:01 PM - SPINE: Poller[0] DEBUG: Spine is running asroot.
Thanks
Re: UDP Pings Go Out Instead of ICMP - Windows Hosts Show Do
I must be insane...I set the spine.conf permissions back to cacti.cacti and everything is still working. I'm not sure what changed then, but it's working.
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Re: UDP Pings Go Out Instead of ICMP - Windows Hosts Show Do
Try chmod u+s. Not verified, just taken from another threadssnapp wrote:I've ran chmod +s and chown root:root on the spine binary (I did the chown command this morning).
R.
Who is online
Users browsing this forum: No registered users and 3 guests