Problems when trying to monitor a UPS

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

Moderators: Developers, Moderators

User avatar
macan
Cacti Guru User
Posts: 1137
Joined: Tue Mar 18, 2008 2:30 am
Location: Czech

Re: Problems when trying to monitor a UPS

Post by macan »

Still the same problem, device did not respond:
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]

try to run
php /your_cacti_installation/cli/rebuild_poller_cache.php
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 »

I did as requested and saw no changes.

php /usr/share/cacti/cli/rebuild_poller_cache.php
WARNING: Do not interrupt this script. Rebuilding the Poller Cache can take quite some time
.......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: Problems when trying to monitor a UPS

Post by TheWitness »

Run that spine command using -V 3 instead of -V 5 and upload the results.
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
glamas
Posts: 40
Joined: Tue Aug 15, 2017 7:39 am

Re: Problems when trying to monitor a UPS

Post by glamas »

SPINE: Using spine config file [/etc/spine.conf]
Version 1.2.22 starting
2024-03-15 18:49:01 - SPINE: Poller[1] PID[1800232] PT[140122230467456] Spine will support multithread device polling.
2024-03-15 18:49:01 - SPINE: Poller[1] PID[1800232] PT[140122230467456] DEBUG: Initial Value of Available Threads is 24 (0 outstanding)
2024-03-15 18:49:01 - SPINE: Poller[1] PID[1800232] PT[140122230467456] DEBUG: Available Threads is 23 (1 outstanding)
2024-03-15 18:49:01 - SPINE: Poller[1] PID[1800232] PT[140122230467456] DEBUG: Available Threads is 22 (2 outstanding)
2024-03-15 18:49:01 - SPINE: Poller[1] PID[1800232] PT[140122221704768] Device[0] HT[1] Total Time: 0.003 Seconds
2024-03-15 18:49:01 - SPINE: Poller[1] PID[1800232] PT[140122213312064] Device[155] INFO: SNMP Device '10.3.2.20:161' has a timeout of 2000000 (2000), with 3 retries
2024-03-15 18:49:09 - SPINE: Poller[1] PID[1800232] PT[140122213312064] Device[155] SNMP Ping Timeout
2024-03-15 18:49:09 - SPINE: Poller[1] PID[1800232] PT[140122213312064] Device[155] HT[1] NOTE: There are '1' Polling Items for this Device
2024-03-15 18:49:09 - SPINE: Poller[1] PID[1800232] PT[140122213312064] Device[155] HT[1] Total Time: 8 Seconds
2024-03-15 18:49:10 - SPINE: Poller[1] PID[1800232] PT[140122230467456] Time: 8.6108 s, Threads: 24, Devices: 2
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: Problems when trying to monitor a UPS

Post by TheWitness »

Change the Availability Method to SNMP GetNext and then run again.
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
glamas
Posts: 40
Joined: Tue Aug 15, 2017 7:39 am

Re: Problems when trying to monitor a UPS

Post by glamas »

I don't know where he changed it.

I'll send you the data source of the template.
get snmp data.png
get snmp data.png (53.05 KiB) Viewed 3147 times
Do you want me to delete and create it
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: Problems when trying to monitor a UPS

Post by TheWitness »

First edit the Device and change the Availability Method to SNMP GetNext and then post the -V 3 again.
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
glamas
Posts: 40
Joined: Tue Aug 15, 2017 7:39 am

Re: Problems when trying to monitor a UPS

Post by glamas »

I can't find it on Tuesday I'll keep looking for it
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: Problems when trying to monitor a UPS

Post by TheWitness »

Console > Management > Devices > Edit

First drop down.
Attachments
AvailabilityMethods.png
AvailabilityMethods.png (8.42 KiB) Viewed 3140 times
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
glamas
Posts: 40
Joined: Tue Aug 15, 2017 7:39 am

Re: Problems when trying to monitor a UPS

Post by glamas »

This is according to the attached graph
glamas
Posts: 40
Joined: Tue Aug 15, 2017 7:39 am

Re: Problems when trying to monitor a UPS

Post by glamas »

Hello, I would like to follow this topic that I am waiting for today, I have found more information on the subject.
I had the opportunity to have a physical team. All the previous tests were in remote mode, I had several networks and I had my doubts if there was something at the network level.
I put a direct network cable (rj45) to the sc300 and what I noticed is that when I run the snmpwalk command at some point the computer stops responding, the same does not happen with a snmpget query. My question: is it possible to change the cacti settings so that it performs a query as snmpget instead of snmpwalk?

best resgards
User avatar
macan
Cacti Guru User
Posts: 1137
Joined: Tue Mar 18, 2008 2:30 am
Location: Czech

Re: Problems when trying to monitor a UPS

Post by macan »

maybe you should try update your UPS firmware. It isn't normal behavior when UPS stops responding
Let the Cacti grow!
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest