Monitor v 2.3.4 plugin not working smooth with cacti 1.2.2

General discussion about Plugins for Cacti

Moderators: Developers, Moderators

Post Reply
kimseng
Posts: 8
Joined: Tue Oct 01, 2019 4:10 am

Monitor v 2.3.4 plugin not working smooth with cacti 1.2.2

Post by kimseng »

Hi team,

i used Cacti v 1.2.2 and i already install plugin Monitor v 2.3.4 the problem is i try to add a few devices and with ping ICMP service the result some device can ping and some can't but i already verify already by ping from server to all device are working fine and one more during i adding device we have result like

Ping Results
ICMP Ping Success (1.881 ms)

could you guide me which Monitor version is working smooth with my Cacti? or where can i check and fix this issue?
netniV
Cacti Guru User
Posts: 3441
Joined: Sun Aug 27, 2017 12:05 am

Re: Monitor v 2.3.4 plugin not working smooth with cacti 1.2.2

Post by netniV »

It is not monitor that handles that but Cacti itself. If you have an issue with a device and the results, Enable Device Debug for the device in question and check the debug output to see what's occurring. When you are done, disable the debug so you aren't filling your logs up.
Cacti Developer & Release Manager
The Cacti Group

Director
BV IT Solutions Ltd

+--------------------------------------------------------------------------+

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
kimseng
Posts: 8
Joined: Tue Oct 01, 2019 4:10 am

Re: Monitor v 2.3.4 plugin not working smooth with cacti 1.2.2

Post by kimseng »

netniV wrote: Wed Oct 02, 2019 2:05 pm It is not monitor that handles that but Cacti itself. If you have an issue with a device and the results, Enable Device Debug for the device in question and check the debug output to see what's occurring. When you are done, disable the debug so you aren't filling your logs up.
2019/10/09 15:25:14 - SPINE: Poller[Main Poller] Device[Van Deth] DEBUG Falling back to UDP Ping Due to SetUID Issues
2019/10/09 15:25:14 - SPINE: Poller[Main Poller] Device[LyKea] DEBUG Falling back to UDP Ping Due to SetUID Issues
2019/10/09 15:25:14 - SPINE: Poller[Main Poller] Device[PPThmey-Health-Center] DEBUG Falling back to UDP Ping Due to SetUID Issues
2019/10/09 15:25:14 - SPINE: Poller[Main Poller] Device[Seyha Touch] DEBUG Falling back to UDP Ping Due to SetUID Issues
2019/10/09 15:25:13 - SPINE: Poller[Main Poller] Device[ASN-BRAS] HT[1] DQ[SNMP - Interface Statistics] RECACHE ASSERT FAILED: 'sfp1=\"sfp1\"'
2019/10/09 15:25:11 - SPINE: Poller[Main Poller] Device[RithRyna] HT[1] DS[RithRyna - Processes] Graphs[RithRyna - Processes] WARNING: SNMP timeout detected [500 ms], ignoring host '10.20.14.6'
2019/10/09 15:25:11 - SPINE: Poller[Main Poller] Device[RithRyna] HT[1] DS[RithRyna - Logged in Users] Graphs[RithRyna - Logged in Users] WARNING: SNMP timeout detected [500 ms], ignoring host '10.20.14.6'
2019/10/09 15:25:09 - SPINE: Poller[Main Poller] Device[RithRyna] DEBUG Falling back to UDP Ping Due to SetUID Issues
2019/10/09 15:25:09 - SPINE: Poller[Main Poller] Device[Kimseng] HT[1] DS[Kimseng - Processes] Graphs[Kimseng - Processes] WARNING: SNMP timeout detected [500 ms], ignoring host '10.20.14.2'
2019/10/09 15:25:09 - SPINE: Poller[Main Poller] Device[Kimseng] HT[1] DS[Kimseng - Logged in Users] Graphs[Kimseng - Logged in Users] WARNING: SNMP timeout detected [500 ms], ignoring host '10.20.14.2'
2019/10/09 15:25:07 - SPINE: Poller[Main Poller] Device[Kimseng] DEBUG Falling back to UDP Ping Due to SetUID Issues
2019/10/09 15:25:02 - SPINE: Poller[Main Poller] Device[Sereivuth] DEBUG Falling back to UDP Ping Due to SetUID Issues
2019/10/09 14:35:11 - SPINE: Poller[Main Poller] Device[Kimseng] HT[1] DS[Kimseng - Processes] Graphs[Kimseng - Processes] WARNING: SNMP timeout detected [500 ms], ignoring host '10.20.14.2'
2019/10/09 14:35:11 - SPINE: Poller[Main Poller] Device[Kimseng] HT[1] DS[Kimseng - Logged in Users] Graphs[Kimseng - Logged in Users] WARNING: SNMP timeout detected [500 ms], ignoring host '10.20.14.2'
2019/10/09 14:35:09 - SPINE: Poller[Main Poller] Device[Kimseng] DEBUG Falling back to UDP Ping Due to SetUID Issues
2019/10/09 14:35:04 - SPINE: Poller[Main Poller] Device[RithRyna] HT[1] DS[RithRyna - Processes] Graphs[RithRyna - Processes] WARNING: SNMP timeout detected [500 ms], ignoring host '10.20.14.6'
2019/10/09 14:35:04 - SPINE: Poller[Main Poller] Device[RithRyna] HT[1] DS[RithRyna - Logged in Users] Graphs[RithRyna - Logged in Users] WARNING: SNMP timeout detected [500 ms], ignoring host '10.20.14.6'
2019/10/09 14:35:02 - SPINE: Poller[Main Poller] Device[RithRyna] DEBUG Falling back to UDP Ping Due to SetUID Issues
2019/10/09 14:35:02 - SPINE: Poller[Main Poller] Device[Sereivuth] DEBUG Falling back to UDP Ping Due to SetUID Issues
2019/10/09 14:30:17 - RECACHE STATS: Poller: RecacheTime:1.1770 DevicesRecached:1
2019/10/09 14:30:17 - SYSTEM MONITOR STATS: Time:0.32 Reboots:0 DownDevices:0 Notifications:0 Purges:0

this is a debug what i got and device name Sereivuth still show down on monitor. i'm sure why
Rno
Cacti Pro User
Posts: 704
Joined: Wed Dec 07, 2011 9:19 am

Re: Monitor v 2.3.4 plugin not working smooth with cacti 1.2.2

Post by Rno »

Your spine process has the wrong right, it has to be:
chmod +s spine
and it has to be root
otherwise the ping icmp dosen't work
Test
Almalinux
php 8.2.14
mariadb 10.6.16
Cacti 1.2.27
Spine 1.2.27
RRD 1.7.2
thold 1.8
monitor 2.5
syslog 3.2
flowview: 3.3
weathermap 1.0 Beta
kimseng
Posts: 8
Joined: Tue Oct 01, 2019 4:10 am

Re: Monitor v 2.3.4 plugin not working smooth with cacti 1.2.2

Post by kimseng »

please give me a full command line.

Thanks
Rno
Cacti Pro User
Posts: 704
Joined: Wed Dec 07, 2011 9:19 am

Re: Monitor v 2.3.4 plugin not working smooth with cacti 1.2.2

Post by Rno »

chown root:root spine
chmod +s spine

That's the full command line I can't give you more since I don't know where your spine is.
So go on the directory where spine is, and issue the 2 command I gave you
Test
Almalinux
php 8.2.14
mariadb 10.6.16
Cacti 1.2.27
Spine 1.2.27
RRD 1.7.2
thold 1.8
monitor 2.5
syslog 3.2
flowview: 3.3
weathermap 1.0 Beta
kimseng
Posts: 8
Joined: Tue Oct 01, 2019 4:10 am

Re: Monitor v 2.3.4 plugin not working smooth with cacti 1.2.2

Post by kimseng »

i did already here is the result

-rwsr-sr-x 1 root root 357136 Jan 15 2018 /usr/local/spine/bin/spine

but it's still the same can ping from server but show down on Monitor plugin.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest