I have a problem with my new Cacti 1.1.35
After i setup the SNMP connection, select the device template and create the proper graphs it connects and starts registering graphs but once the host goes down nothing happens.
In the device list and monitoring the status is UP.
I keep getting this in the log
02/21/2018 10:22:24 - CMDPHP PHP ERROR WARNING Backtrace: (/poller.php: 632 CactiErrorHandler)(/lib/functions.php: 4619 cacti_debug_backtrace)
02/21/2018 10:22:24 - ERROR PHP WARNING: A non-numeric value encountered in file: /var/www/html/cacti/poller.php on line: 632
I see that the system keeps identifying that the host is down but in monitoring or devices its status is UP.
Please tell me what information do you need from me in order to solve this problem.
Thanks
Status always UP
Moderators: Developers, Moderators
Re: Status always UP
If that line is still the same in the development version, you have somehow managed to trigger
This in turn means that somehow, you've got an issue where either $loop_start, $loop_end or $poller_interval is not a numer.
Are you still seeing this issue? If so, can you add the following code just before that line:
Code: Select all
cacti_log('WARNING: Cacti Polling Cycle Exceeded Poller Interval by ' .
$loop_end-$loop_start-$poller_interval . ' seconds',
true, 'POLLER', $level);
Are you still seeing this issue? If so, can you add the following code just before that line:
Code: Select all
if (!is_numeric($loop_end)) cacti_log('loop end is NOT numeric');
if (!is_numeric($loop_start)) cacti_log('loop start is NOT numeric');
if (!is_numeric($poller_interval)) cacti_log('poller_interval is NOT numeric');
if (!is_numeric($level) cacti_log('level is NOT numeric');
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
The Cacti Group
Director
BV IT Solutions Ltd
+--------------------------------------------------------------------------+
Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
Re: Status always UP
My gut feeling is that it will be poller_interval that is non-numeric.
Code: Select all
select name,value from settings where name = 'poller_interval';
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
The Cacti Group
Director
BV IT Solutions Ltd
+--------------------------------------------------------------------------+
Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
Who is online
Users browsing this forum: No registered users and 0 guests