There is an indication that the value returned by OBSD for 
SNMP-FRAMEWORK-MIB::snmpEngineTime.0 is incorrect.  On my discussion on the 
Cacti forum, 
https://forums.cacti.net/viewtopic.php?p=297860&sid=1a77491941fff1bd5572c5334095913b#p297860,
 it was brought up that "the SNMP-FRAMEWORK-MIB::snmpEngineTime.0 object is 
designed to track the operational status of an SNMP engine. It specifically 
measures the time elapsed since the last change in the snmpEngineBoots value."  
However, OBSD is returning wall clock time.  This is causing some confusion 
with the Cacti poller.

Media$ snmpget -v2c -c public localhost snmpEngineTime.0
SNMP-FRAMEWORK-MIB::snmpEngineTime.0 = INTEGER: 1784666833 seconds

Media$ date +%s
1784666836

https://github.com/Cacti/cacti/issues/7342


-Steve S.


-----Original Message-----
From: [email protected] <[email protected]> On Behalf Of Stuart 
Henderson
Sent: Friday, July 3, 2026 4:44 AM
To: [email protected]
Subject: Re: Cacti on 7.9

On 2026-07-03, Steven Surdock <[email protected]> wrote:
> Since upgrading to 7.9 my Cacti (https://www.cacti.net/) instance has 
> been mostly broken. The php-based poller is unable to perform SNMP 
> queries, which is breaking uptime and interface data (along with other 
> data). I tried compiling 'spine', but so far both 1.2.31 and 1.2.29 
> core dump when attempting to run. I'd like to start by asking if 
> anyone else has experienced issues with Cacti or anyone running Cacti 
> successfully? Thanks.
>
> You can read more details here: 
> https://forums.cacti.net/viewtopic.php?t=64129

I'm not using cacti, but I'm doing SNMP polling from PHP using LibreNMS (which 
uses a mixture of functions from PHP's SNMP extension and calls to 
snmpget/snmpbulkwalk etc) and that's working ok, so FWIW I don't think there's 
a general problem with PHP/SNMP.

spine is a bit problematic on non-linux systems, install docs tell you that it 
needs to be setuid root (though not in so many words, they just tell you to use 
chmod u+s) but it only drops privileges if you have linux "libcap" (and then 
only to the uid who started it; if started by root then it doesn't drop to a 
lower privileged user). I don't know about you but I wouldn't really want 
net-snmp + mariadb client + ssl libs + spine code in a process running as root.


--
Please keep replies on the mailing list.

Reply via email to