Problems when trying to monitor a UPS

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

Moderators: Developers, Moderators

glamas
Posts: 40
Joined: Tue Aug 15, 2017 7:39 am

Problems when trying to monitor a UPS

Post by glamas »

Hi I am trying to monitor an eaton sc300 ups when I do it through console by snmpwalk it throws me the data but when I do it through cacti it tells me time out. I've tried changing the processes and threads because in some comments they mentioned that but I can't find the problem.
I currently have 8 processes and 24 threads.
Can anyone give me a hand?

Cacti 1.2.22
rrdtool 1.7.2
Redhat 8
CPUs 8
Ram 12 Gb
Disp 119
snmp gets 3702
scripts 36
Last edited by glamas on Mon Mar 04, 2024 1:52 pm, edited 1 time in total.
glamas
Posts: 40
Joined: Tue Aug 15, 2017 7:39 am

Re: Problems when trying to monitor a UPS

Post by glamas »

To clarify, it doesn't seem to be a permissions issue because when I try to take data with SNMP to another device it throws data at me.
I decreased the amount of oid and nothing, increased the timeout to 5000 and saw no change
macan
Cacti Pro User
Posts: 898
Joined: Tue Mar 18, 2008 2:30 am
Location: Czech

Re: Problems when trying to monitor a UPS

Post by macan »

Did you do snmpwalk from cacti server? Enable device debug and show log
Let the Cacti grow!
glamas
Posts: 40
Joined: Tue Aug 15, 2017 7:39 am

Re: Problems when trying to monitor a UPS

Post by glamas »

There I enabled device debugging and started seeing some charts. What exactly does this do? since the cacti web server stops responding to me.
snmpget-240305
snmpget-240305
snmpget-240305.png (7.97 KiB) Viewed 454 times
macan
Cacti Pro User
Posts: 898
Joined: Tue Mar 18, 2008 2:30 am
Location: Czech

Re: Problems when trying to monitor a UPS

Post by macan »

debug is only debug - more information about gathering information from host
Let the Cacti grow!
glamas
Posts: 40
Joined: Tue Aug 15, 2017 7:39 am

Re: Problems when trying to monitor a UPS

Post by glamas »

On the server it shows "504 Gateway Timeout" and in the logs there is no error at that moment in the cacti.log.I'm recreating the data source haber if it has to do with any permissions just in case
glamas
Posts: 40
Joined: Tue Aug 15, 2017 7:39 am

Re: Problems when trying to monitor a UPS

Post by glamas »

When I put enable debug mode on a chart, it tells me "ERROR: opening '/usr/share/cacti/rra/155/3501.rrd': No such file or directory" and the directory is created
macan
Cacti Pro User
Posts: 898
Joined: Tue Mar 18, 2008 2:30 am
Location: Czech

Re: Problems when trying to monitor a UPS

Post by macan »

Console -> management -> devices -> click on your problematic device -> *Enable Device Debug on right corner. Wait for poller run and show log
Let the Cacti grow!
glamas
Posts: 40
Joined: Tue Aug 15, 2017 7:39 am

Re: Problems when trying to monitor a UPS

Post by glamas »

tail -f /var/log/cacti/cacti.log | grep 10.3.2.20
2024-03-07 11:30:06 - SPINE: Poller[1] PID[3014286] PT[140034766267968] Device[155] INFO: SNMP Device '10.3.2.20:161' has a timeout of 50000000 (50000), with 3 retries
macan
Cacti Pro User
Posts: 898
Joined: Tue Mar 18, 2008 2:30 am
Location: Czech

Re: Problems when trying to monitor a UPS

Post by macan »

timeout is 50 seconds It will not solve your problem, but reduce it.

So try create "SNMP - single oid template" graph fot your oid 1.3.6.1.4.1.1918.2.14.10.40.10.0
Is it working?
Let the Cacti grow!
macan
Cacti Pro User
Posts: 898
Joined: Tue Mar 18, 2008 2:30 am
Location: Czech

Re: Problems when trying to monitor a UPS

Post by macan »

try run cmd or spine in debug:
spine --first=X --last=X -V=5 -R

for cmd:
php /path/to/cacti/cmd.php --first=X --last=X --debug

where X is id of any problematic device and show result
Let the Cacti grow!
glamas
Posts: 40
Joined: Tue Aug 15, 2017 7:39 am

Re: Problems when trying to monitor a UPS

Post by glamas »

spine --first=155 --last=155 -V=5 -R
SPINE: Using spine config file [/etc/spine.conf]
2024-03-11 12:25:59 - SPINE: Poller[1] PID[80353] PT[139949656021888] DEBUG: The path_php_server variable is /usr/share/cacti/script_server.php
2024-03-11 12:25:59 - SPINE: Poller[1] PID[80353] PT[139949656021888] DEBUG: The path_cactilog variable is /usr/share/cacti/log/cacti.log
2024-03-11 12:25:59 - SPINE: Poller[1] PID[80353] PT[139949656021888] DEBUG: The version variable is 10.5.18-MariaDB
2024-03-11 12:25:59 - SPINE: Poller[1] PID[80353] PT[139949656021888] DEBUG: The log_destination variable is 1 (FILE)
2024-03-11 12:25:59 - SPINE: Poller[1] PID[80353] PT[139949656021888] DEBUG: The path_php variable is /usr/bin/php
2024-03-11 12:25:59 - SPINE: Poller[1] PID[80353] PT[139949656021888] DEBUG: The availability_method variable is 2
2024-03-11 12:25:59 - SPINE: Poller[1] PID[80353] PT[139949656021888] DEBUG: The ping_recovery_count variable is 3
2024-03-11 12:25:59 - SPINE: Poller[1] PID[80353] PT[139949656021888] DEBUG: The ping_failure_count variable is 2
2024-03-11 12:25:59 - SPINE: Poller[1] PID[80353] PT[139949656021888] DEBUG: The ping_method variable is 2
2024-03-11 12:25:59 - SPINE: Poller[1] PID[80353] PT[139949656021888] DEBUG: The ping_retries variable is 1
2024-03-11 12:25:59 - SPINE: Poller[1] PID[80353] PT[139949656021888] DEBUG: The ping_timeout variable is 400
2024-03-11 12:25:59 - SPINE: Poller[1] PID[80353] PT[139949656021888] DEBUG: The snmp_retries variable is 3
2024-03-11 12:25:59 - SPINE: Poller[1] PID[80353] PT[139949656021888] DEBUG: The log_perror variable is 1
2024-03-11 12:25:59 - SPINE: Poller[1] PID[80353] PT[139949656021888] DEBUG: The log_pwarn variable is 1
2024-03-11 12:25:59 - SPINE: Poller[1] PID[80353] PT[139949656021888] DEBUG: The boost_redirect variable is 1
2024-03-11 12:25:59 - SPINE: Poller[1] PID[80353] PT[139949656021888] DEBUG: The boost_rrd_update_enable variable is 0
2024-03-11 12:25:59 - SPINE: Poller[1] PID[80353] PT[139949656021888] DEBUG: The log_pstats variable is 1
2024-03-11 12:25:59 - SPINE: Poller[1] PID[80353] PT[139949656021888] DEBUG: The threads variable is 24
2024-03-11 12:25:59 - SPINE: Poller[1] PID[80353] PT[139949656021888] DEBUG: The polling interval is 300 seconds
2024-03-11 12:25:59 - SPINE: Poller[1] PID[80353] PT[139949656021888] DEBUG: The number of concurrent processes is 8
2024-03-11 12:25:59 - SPINE: Poller[1] PID[80353] PT[139949656021888] DEBUG: The script timeout is 25
2024-03-11 12:25:59 - SPINE: Poller[1] PID[80353] PT[139949656021888] DEBUG: The selective_device_debug variable is
2024-03-11 12:25:59 - SPINE: Poller[1] PID[80353] PT[139949656021888] DEBUG: The spine_log_level variable is 2
2024-03-11 12:25:59 - SPINE: Poller[1] PID[80353] PT[139949656021888] DEBUG: The number of php script servers to run is 10
2024-03-11 12:25:59 - SPINE: Poller[1] PID[80353] PT[139949656021888] DEBUG: The number of active data source profiles is 1
2024-03-11 12:25:59 - SPINE: Poller[1] PID[80353] PT[139949656021888] DEBUG: The number of snmp ports on the system is 3
2024-03-11 12:25:59 - SPINE: Poller[1] PID[80353] PT[139949656021888] DEBUG: StartDevice='155', EndDevice='155', TotalPHPScripts='0'
2024-03-11 12:25:59 - SPINE: Poller[1] PID[80353] PT[139949656021888] DEBUG: The PHP Script Server is Not Required
2024-03-11 12:25:59 - SPINE: Poller[1] PID[80353] PT[139949656021888] DEBUG: The Maximum SNMP OID Get Size is 10
2024-03-11 12:25:59 - SPINE: Poller[1] PID[80353] PT[139949656021888] DEBUG: Total Connections made 1
2024-03-11 12:25:59 - SPINE: Poller[1] PID[80353] PT[139949656021888] DEBUG: Creating Local Connection Pool of 24 threads.
2024-03-11 12:25:59 - SPINE: Poller[1] PID[80353] PT[139949656021888] DEBUG: Creating Local Connection 0.
2024-03-11 12:25:59 - SPINE: Poller[1] PID[80353] PT[139949656021888] DEBUG: Total Connections made 2
2024-03-11 12:25:59 - SPINE: Poller[1] PID[80353] PT[139949656021888] DEBUG: Creating Local Connection 1.
2024-03-11 12:25:59 - SPINE: Poller[1] PID[80353] PT[139949656021888] DEBUG: Total Connections made 3
2024-03-11 12:25:59 - SPINE: Poller[1] PID[80353] PT[139949656021888] DEBUG: Creating Local Connection 2.
2024-03-11 12:25:59 - SPINE: Poller[1] PID[80353] PT[139949656021888] DEBUG: Total Connections made 4
2024-03-11 12:25:59 - SPINE: Poller[1] PID[80353] PT[139949656021888] DEBUG: Creating Local Connection 3.
2024-03-11 12:25:59 - SPINE: Poller[1] PID[80353] PT[139949656021888] DEBUG: Total Connections made 5
2024-03-11 12:25:59 - SPINE: Poller[1] PID[80353] PT[139949656021888] DEBUG: Creating Local Connection 4.
2024-03-11 12:25:59 - SPINE: Poller[1] PID[80353] PT[139949656021888] DEBUG: Total Connections made 6
2024-03-11 12:25:59 - SPINE: Poller[1] PID[80353] PT[139949656021888] DEBUG: Creating Local Connection 5.
2024-03-11 12:25:59 - SPINE: Poller[1] PID[80353] PT[139949656021888] DEBUG: Total Connections made 7
2024-03-11 12:25:59 - SPINE: Poller[1] PID[80353] PT[139949656021888] DEBUG: Creating Local Connection 6.
2024-03-11 12:25:59 - SPINE: Poller[1] PID[80353] PT[139949656021888] DEBUG: Total Connections made 8
2024-03-11 12:25:59 - SPINE: Poller[1] PID[80353] PT[139949656021888] DEBUG: Creating Local Connection 7.
2024-03-11 12:25:59 - SPINE: Poller[1] PID[80353] PT[139949656021888] DEBUG: Total Connections made 9
2024-03-11 12:25:59 - SPINE: Poller[1] PID[80353] PT[139949656021888] DEBUG: Creating Local Connection 8.
2024-03-11 12:25:59 - SPINE: Poller[1] PID[80353] PT[139949656021888] DEBUG: Total Connections made 10
2024-03-11 12:25:59 - SPINE: Poller[1] PID[80353] PT[139949656021888] DEBUG: Creating Local Connection 9.
2024-03-11 12:25:59 - SPINE: Poller[1] PID[80353] PT[139949656021888] DEBUG: Total Connections made 11
2024-03-11 12:25:59 - SPINE: Poller[1] PID[80353] PT[139949656021888] DEBUG: Creating Local Connection 10.
2024-03-11 12:25:59 - SPINE: Poller[1] PID[80353] PT[139949656021888] DEBUG: Total Connections made 12
2024-03-11 12:25:59 - SPINE: Poller[1] PID[80353] PT[139949656021888] DEBUG: Creating Local Connection 11.
2024-03-11 12:25:59 - SPINE: Poller[1] PID[80353] PT[139949656021888] DEBUG: Total Connections made 13
2024-03-11 12:25:59 - SPINE: Poller[1] PID[80353] PT[139949656021888] DEBUG: Creating Local Connection 12.
2024-03-11 12:25:59 - SPINE: Poller[1] PID[80353] PT[139949656021888] DEBUG: Total Connections made 14
2024-03-11 12:25:59 - SPINE: Poller[1] PID[80353] PT[139949656021888] DEBUG: Creating Local Connection 13.
2024-03-11 12:25:59 - SPINE: Poller[1] PID[80353] PT[139949656021888] DEBUG: Total Connections made 15
2024-03-11 12:25:59 - SPINE: Poller[1] PID[80353] PT[139949656021888] DEBUG: Creating Local Connection 14.
2024-03-11 12:25:59 - SPINE: Poller[1] PID[80353] PT[139949656021888] DEBUG: Total Connections made 16
2024-03-11 12:25:59 - SPINE: Poller[1] PID[80353] PT[139949656021888] DEBUG: Creating Local Connection 15.
2024-03-11 12:25:59 - SPINE: Poller[1] PID[80353] PT[139949656021888] DEBUG: Total Connections made 17
2024-03-11 12:25:59 - SPINE: Poller[1] PID[80353] PT[139949656021888] DEBUG: Creating Local Connection 16.
2024-03-11 12:25:59 - SPINE: Poller[1] PID[80353] PT[139949656021888] DEBUG: Total Connections made 18
2024-03-11 12:25:59 - SPINE: Poller[1] PID[80353] PT[139949656021888] DEBUG: Creating Local Connection 17.
2024-03-11 12:25:59 - SPINE: Poller[1] PID[80353] PT[139949656021888] DEBUG: Total Connections made 19
2024-03-11 12:25:59 - SPINE: Poller[1] PID[80353] PT[139949656021888] DEBUG: Creating Local Connection 18.
2024-03-11 12:25:59 - SPINE: Poller[1] PID[80353] PT[139949656021888] DEBUG: Total Connections made 20
2024-03-11 12:25:59 - SPINE: Poller[1] PID[80353] PT[139949656021888] DEBUG: Creating Local Connection 19.
2024-03-11 12:25:59 - SPINE: Poller[1] PID[80353] PT[139949656021888] DEBUG: Total Connections made 21
2024-03-11 12:25:59 - SPINE: Poller[1] PID[80353] PT[139949656021888] DEBUG: Creating Local Connection 20.
2024-03-11 12:25:59 - SPINE: Poller[1] PID[80353] PT[139949656021888] DEBUG: Total Connections made 22
2024-03-11 12:25:59 - SPINE: Poller[1] PID[80353] PT[139949656021888] DEBUG: Creating Local Connection 21.
2024-03-11 12:25:59 - SPINE: Poller[1] PID[80353] PT[139949656021888] DEBUG: Total Connections made 23
2024-03-11 12:25:59 - SPINE: Poller[1] PID[80353] PT[139949656021888] DEBUG: Creating Local Connection 22.
2024-03-11 12:25:59 - SPINE: Poller[1] PID[80353] PT[139949656021888] DEBUG: Total Connections made 24
2024-03-11 12:25:59 - SPINE: Poller[1] PID[80353] PT[139949656021888] DEBUG: Creating Local Connection 23.
2024-03-11 12:25:59 - SPINE: Poller[1] PID[80353] PT[139949656021888] DEBUG: Total Connections made 25
2024-03-11 12:25:59 - SPINE: Poller[1] PID[80353] PT[139949656021888] DEBUG: Version 1.2.22 starting
2024-03-11 12:25:59 - SPINE: Poller[1] PID[80353] PT[139949656021888] DEBUG: MySQL is Thread Safe!
2024-03-11 12:25:59 - SPINE: Poller[1] PID[80353] PT[139949656021888] DEBUG: Spine running as 0 UID, 0 EUID
2024-03-11 12:25:59 - SPINE: Poller[1] PID[80353] PT[139949656021888] DEBUG: Spine is running as root.
2024-03-11 12:25:59 - SPINE: Poller[1] PID[80353] PT[139949656021888] DEBUG: Spine has got ICMP
2024-03-11 12:25:59 - SPINE: Poller[1] PID[80353] PT[139949656021888] DEBUG: Initializing Net-SNMP API
2024-03-11 12:25:59 - SPINE: Poller[1] PID[80353] PT[139949656021888] DEBUG: Issues with SNMP Header Version information, assuming old version of Net-SNMP.
2024-03-11 12:26:00 - SPINE: Poller[1] PID[80353] PT[139949656021888] DEBUG: Initializing PHP Script Server(s)
2024-03-11 12:26:00 - SPINE: Poller[1] PID[80353] PT[139949656021888] Spine will support multithread device polling.
2024-03-11 12:26:00 - SPINE: Poller[1] PID[80353] PT[139949656021888] DEBUG: Initial Value of Available Threads is 24 (0 outstanding)
2024-03-11 12:26:00 - SPINE: Poller[1] PID[80353] PT[139949656021888] DEBUG: Valid Thread to be Created (139949647066688)
2024-03-11 12:26:00 - SPINE: Poller[1] PID[80353] PT[139949647066688] DEBUG: Device[0] HT[1] In Poller, About to Start Polling
2024-03-11 12:26:00 - SPINE: Poller[1] PID[80353] PT[139949656021888] DEBUG: Available Threads is 23 (1 outstanding)
2024-03-11 12:26:00 - SPINE: Poller[1] PID[80353] PT[139949647066688] DEBUG: Traversing Local Connection Pool for free connection.
2024-03-11 12:26:00 - SPINE: Poller[1] PID[80353] PT[139949647066688] DEBUG: Checking Local Pool ID 0.
2024-03-11 12:26:00 - SPINE: Poller[1] PID[80353] PT[139949647066688] DEBUG: Allocating Local Pool ID 0.
2024-03-11 12:26:00 - SPINE: Poller[1] PID[80353] PT[139949647066688] Device[0] HT[1] Total Time: 0.0032 Seconds
2024-03-11 12:26:00 - SPINE: Poller[1] PID[80353] PT[139949647066688] DEBUG: Freeing Local Pool ID 0
2024-03-11 12:26:00 - SPINE: Poller[1] PID[80353] PT[139949647066688] DEBUG: Device[0] HT[1] DEBUG: HOST COMPLETE: About to Exit Device Polling Thread Function
2024-03-11 12:26:00 - SPINE: Poller[1] PID[80353] PT[139949656021888] DEBUG: Valid Thread to be Created (139949563180608)
2024-03-11 12:26:00 - SPINE: Poller[1] PID[80353] PT[139949563180608] DEBUG: Device[155] HT[1] In Poller, About to Start Polling
2024-03-11 12:26:00 - SPINE: Poller[1] PID[80353] PT[139949656021888] DEBUG: Available Threads is 23 (1 outstanding)
2024-03-11 12:26:00 - SPINE: Poller[1] PID[80353] PT[139949563180608] DEBUG: Traversing Local Connection Pool for free connection.
2024-03-11 12:26:00 - SPINE: Poller[1] PID[80353] PT[139949656021888] WARNING: Device[155] polling sleeping while waiting for 1 Threads to End
2024-03-11 12:26:00 - SPINE: Poller[1] PID[80353] PT[139949563180608] DEBUG: Checking Local Pool ID 0.
2024-03-11 12:26:00 - SPINE: Poller[1] PID[80353] PT[139949563180608] DEBUG: Allocating Local Pool ID 0.
2024-03-11 12:26:00 - SPINE: Poller[1] PID[80353] PT[139949563180608] get_namebyhost(10.3.2.20) - Allocating name_t
2024-03-11 12:26:00 - SPINE: Poller[1] PID[80353] PT[139949563180608] get_namebyhost(10.3.2.20) - No delimiter, assume full hostname
2024-03-11 12:26:00 - SPINE: Poller[1] PID[80353] PT[139949563180608] Device[155] INFO: SNMP Device '10.3.2.20:161' has a timeout of 50000000 (50000), with 3 retries
2024-03-11 12:26:00 - SPINE: Poller[1] PID[80353] PT[139949563180608] Device[155] DEBUG: Entering SNMP Ping
2024-03-11 12:26:00 - SPINE: Poller[1] PID[80353] PT[139949563180608] Device[155] SNMP Result: Device responded to SNMP
2024-03-11 12:26:00 - SPINE: Poller[1] PID[80353] PT[139949563180608] Device[155] Checking for System Information Update
2024-03-11 12:26:00 - SPINE: Poller[1] PID[80353] PT[139949563180608] Device[155] Updating Full System Information Table
2024-03-11 12:26:00 - SPINE: Poller[1] PID[80353] PT[139949563180608] ERROR: No such Object for oid '.1.3.6.1.2.1.1.2.0' for Device[155] with Status[1]
2024-03-11 12:26:00 - SPINE: Poller[1] PID[80353] PT[139949563180608] WARNING: Skipped oid '.1.3.6.1.2.1.1.3.0' for Device[155] as host ignore flag is active
2024-03-11 12:26:00 - SPINE: Poller[1] PID[80353] PT[139949563180608] WARNING: Skipped oid '.1.3.6.1.2.1.1.4.0' for Device[155] as host ignore flag is active
2024-03-11 12:26:00 - SPINE: Poller[1] PID[80353] PT[139949563180608] WARNING: Skipped oid '.1.3.6.1.2.1.1.5.0' for Device[155] as host ignore flag is active
2024-03-11 12:26:00 - SPINE: Poller[1] PID[80353] PT[139949563180608] WARNING: Skipped oid '.1.3.6.1.2.1.1.6.0' for Device[155] as host ignore flag is active
2024-03-11 12:26:00 - SPINE: Poller[1] PID[80353] PT[139949563180608] Device[155] HT[1] NOTE: There are '1' Polling Items for this Device
2024-03-11 12:26:00 - SPINE: Poller[1] PID[80353] PT[139949563180608] DEBUG: Setting up writes to local database
2024-03-11 12:26:00 - SPINE: Poller[1] PID[80353] PT[139949563180608] Device[155] HT[1] Total Time: 0.25 Seconds
2024-03-11 12:26:00 - SPINE: Poller[1] PID[80353] PT[139949563180608] DEBUG: Freeing Local Pool ID 0
2024-03-11 12:26:00 - SPINE: Poller[1] PID[80353] PT[139949563180608] DEBUG: Device[155] HT[1] DEBUG: HOST COMPLETE: About to Exit Device Polling Thread Function
2024-03-11 12:26:00 - SPINE: Poller[1] PID[80353] PT[139949656021888] The final count of Threads is 0
2024-03-11 12:26:00 - SPINE: Poller[1] PID[80353] PT[139949656021888] INFO: Thread complete for Device[0] and 0 to 0 sources
2024-03-11 12:26:00 - SPINE: Poller[1] PID[80353] PT[139949656021888] INFO: Thread complete for Device[155] and 0 to 0 sources
2024-03-11 12:26:00 - SPINE: Poller[1] PID[80353] PT[139949656021888] DEBUG: Closing Local Connection Pool ID 0
2024-03-11 12:26:00 - SPINE: Poller[1] PID[80353] PT[139949656021888] DEBUG: Closing Local Connection Pool ID 1
2024-03-11 12:26:00 - SPINE: Poller[1] PID[80353] PT[139949656021888] DEBUG: Closing Local Connection Pool ID 2
2024-03-11 12:26:00 - SPINE: Poller[1] PID[80353] PT[139949656021888] DEBUG: Closing Local Connection Pool ID 3
2024-03-11 12:26:00 - SPINE: Poller[1] PID[80353] PT[139949656021888] DEBUG: Closing Local Connection Pool ID 4
2024-03-11 12:26:00 - SPINE: Poller[1] PID[80353] PT[139949656021888] DEBUG: Closing Local Connection Pool ID 5
2024-03-11 12:26:00 - SPINE: Poller[1] PID[80353] PT[139949656021888] DEBUG: Closing Local Connection Pool ID 6
2024-03-11 12:26:00 - SPINE: Poller[1] PID[80353] PT[139949656021888] DEBUG: Closing Local Connection Pool ID 7
2024-03-11 12:26:00 - SPINE: Poller[1] PID[80353] PT[139949656021888] DEBUG: Closing Local Connection Pool ID 8
2024-03-11 12:26:00 - SPINE: Poller[1] PID[80353] PT[139949656021888] DEBUG: Closing Local Connection Pool ID 9
2024-03-11 12:26:00 - SPINE: Poller[1] PID[80353] PT[139949656021888] DEBUG: Closing Local Connection Pool ID 10
2024-03-11 12:26:00 - SPINE: Poller[1] PID[80353] PT[139949656021888] DEBUG: Closing Local Connection Pool ID 11
2024-03-11 12:26:00 - SPINE: Poller[1] PID[80353] PT[139949656021888] DEBUG: Closing Local Connection Pool ID 12
2024-03-11 12:26:00 - SPINE: Poller[1] PID[80353] PT[139949656021888] DEBUG: Closing Local Connection Pool ID 13
2024-03-11 12:26:00 - SPINE: Poller[1] PID[80353] PT[139949656021888] DEBUG: Closing Local Connection Pool ID 14
2024-03-11 12:26:00 - SPINE: Poller[1] PID[80353] PT[139949656021888] DEBUG: Closing Local Connection Pool ID 15
2024-03-11 12:26:00 - SPINE: Poller[1] PID[80353] PT[139949656021888] DEBUG: Closing Local Connection Pool ID 16
2024-03-11 12:26:00 - SPINE: Poller[1] PID[80353] PT[139949656021888] DEBUG: Closing Local Connection Pool ID 17
2024-03-11 12:26:00 - SPINE: Poller[1] PID[80353] PT[139949656021888] DEBUG: Closing Local Connection Pool ID 18
2024-03-11 12:26:00 - SPINE: Poller[1] PID[80353] PT[139949656021888] DEBUG: Closing Local Connection Pool ID 19
2024-03-11 12:26:00 - SPINE: Poller[1] PID[80353] PT[139949656021888] DEBUG: Closing Local Connection Pool ID 20
2024-03-11 12:26:00 - SPINE: Poller[1] PID[80353] PT[139949656021888] DEBUG: Closing Local Connection Pool ID 21
2024-03-11 12:26:00 - SPINE: Poller[1] PID[80353] PT[139949656021888] DEBUG: Closing Local Connection Pool ID 22
2024-03-11 12:26:00 - SPINE: Poller[1] PID[80353] PT[139949656021888] DEBUG: Closing Local Connection Pool ID 23
2024-03-11 12:26:00 - SPINE: Poller[1] PID[80353] PT[139949656021888] DEBUG: Thread Cleanup Complete
2024-03-11 12:26:00 - SPINE: Poller[1] PID[80353] PT[139949656021888] DEBUG: PHP Script Server Pipes Closed
2024-03-11 12:26:00 - SPINE: Poller[1] PID[80353] PT[139949656021888] DEBUG: Allocated Variable Memory Freed
2024-03-11 12:26:00 - SPINE: Poller[1] PID[80353] PT[139949656021888] DEBUG: MYSQL Free & Close Completed
2024-03-11 12:26:00 - SPINE: Poller[1] PID[80353] PT[139949656021888] DEBUG: Net-SNMP Close Completed
2024-03-11 12:26:00 - SPINE: Poller[1] PID[80353] PT[139949656021888] Time: 0.6810 s, Threads: 24, Devices: 2
macan
Cacti Pro User
Posts: 898
Joined: Tue Mar 18, 2008 2:30 am
Location: Czech

Re: Problems when trying to monitor a UPS

Post by macan »

which device template is used for this device?

Reduce snmp timeout to 2000, reduce number of threads to 2.

Do you have response from device when you edit the device? Image
Attachments
response2.png
response2.png (59.99 KiB) Viewed 254 times
Let the Cacti grow!
glamas
Posts: 40
Joined: Tue Aug 15, 2017 7:39 am

Re: Problems when trying to monitor a UPS

Post by glamas »

Hi currently I didn't leave you any templates but I had created some at the time with the oid that the device responds.
There I left it with timeout 2000 with 2 threads and if it responds by snmp
alicura sc300.png
alicura sc300.png (6.52 KiB) Viewed 252 times
glamas
Posts: 40
Joined: Tue Aug 15, 2017 7:39 am

Re: Problems when trying to monitor a UPS

Post by glamas »

I'm looking at these logs when I run the command

spine --first=155 --last=155 -V=5 -R

2024-03-12 12:56:50 - SPINE: Poller[1] PID[504756] PT[139997143365184] Device[155] DEBUG: Entering SNMP Ping
2024-03-12 12:56:50 - SPINE: Poller[1] PID[504756] PT[139997236161408] WARNING: Device[155] polling sleeping while waiting for 1 Threads to End
2024-03-12 12:56:51 - SPINE: Poller[1] PID[504756] PT[139997236161408] WARNING: Device[155] polling sleeping while waiting for 1 Threads to End
2024-03-12 12:56:51 - SPINE: Poller[1] PID[504756] PT[139997236161408] WARNING: Device[155] polling sleeping while waiting for 1 Threads to End
2024-03-12 12:56:52 - SPINE: Poller[1] PID[504756] PT[139997236161408] WARNING: Device[155] polling sleeping while waiting for 1 Threads to End
2024-03-12 12:56:52 - SPINE: Poller[1] PID[504756] PT[139997236161408] WARNING: Device[155] polling sleeping while waiting for 1 Threads to End
2024-03-12 12:56:53 - SPINE: Poller[1] PID[504756] PT[139997236161408] WARNING: Device[155] polling sleeping while waiting for 1 Threads to End
2024-03-12 12:56:53 - SPINE: Poller[1] PID[504756] PT[139997236161408] WARNING: Device[155] polling sleeping while waiting for 1 Threads to End
2024-03-12 12:56:54 - SPINE: Poller[1] PID[504756] PT[139997236161408] WARNING: Device[155] polling sleeping while waiting for 1 Threads to End
2024-03-12 12:56:54 - SPINE: Poller[1] PID[504756] PT[139997236161408] WARNING: Device[155] polling sleeping while waiting for 1 Threads to End
2024-03-12 12:56:55 - SPINE: Poller[1] PID[504756] PT[139997236161408] WARNING: Device[155] polling sleeping while waiting for 1 Threads to End
2024-03-12 12:56:55 - SPINE: Poller[1] PID[504756] PT[139997236161408] WARNING: Device[155] polling sleeping while waiting for 1 Threads to End
2024-03-12 12:56:56 - SPINE: Poller[1] PID[504756] PT[139997236161408] WARNING: Device[155] polling sleeping while waiting for 1 Threads to End
2024-03-12 12:56:56 - SPINE: Poller[1] PID[504756] PT[139997236161408] WARNING: Device[155] polling sleeping while waiting for 1 Threads to End
2024-03-12 12:56:57 - SPINE: Poller[1] PID[504756] PT[139997236161408] WARNING: Device[155] polling sleeping while waiting for 1 Threads to End
2024-03-12 12:56:57 - SPINE: Poller[1] PID[504756] PT[139997236161408] WARNING: Device[155] polling sleeping while waiting for 1 Threads to End
2024-03-12 12:56:58 - SPINE: Poller[1] PID[504756] PT[139997236161408] WARNING: Device[155] polling sleeping while waiting for 1 Threads to End
2024-03-12 12:56:58 - SPINE: Poller[1] PID[504756] PT[139997143365184] ERROR: Timeout getting oid '.1.3.6.1.2.1.1.3.0' for Device[155] with Status[2]
2024-03-12 12:56:58 - SPINE: Poller[1] PID[504756] PT[139997143365184] Device[155] SNMP Ping Timeout
2024-03-12 12:56:58 - SPINE: Poller[1] PID[504756] PT[139997143365184] Device[155] SNMP Result: Device did not respond to SNMP
2024-03-12 12:56:58 - SPINE: Poller[1] PID[504756] PT[139997143365184] Device[155] HT[1] NOTE: There are '1' Polling Items for this Device
2024-03-12 12:56:58 - SPINE: Poller[1] PID[504756] PT[139997143365184] DEBUG: Setting up writes to local database
2024-03-12 12:56:58 - SPINE: Poller[1] PID[504756] PT[139997143365184] Device[155] HT[1] Total Time: 8 Seconds
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests