Recaching host issue

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

Moderators: Developers, Moderators

Post Reply
axcviii
Posts: 3
Joined: Thu May 10, 2018 10:00 pm

Recaching host issue

Post by axcviii »

A bunch of devices I added to a new install of Cacti (latest from Git) are failing to show most of their graphs and reporting the following error. Any idea if this is something on my end or a new bug? (PHP 7.2 on FreeBSD 11.1)


05/10/2018 21:55:08 - POLLER: Poller[1] ASSERT: '2275922<0:6:24:16.00' failed. Recaching host 'x.x.x.179', data query #1
05/10/2018 21:55:08 - POLLER: Poller[1] ASSERT: '2275944<0:6:24:16.04' failed. Recaching host 'x.x.x.179', data query #3
05/10/2018 21:55:08 - POLLER: Poller[1] ASSERT: '2276136<0:6:24:16.08' failed. Recaching host 'x.x.x.179', data query #4
05/10/2018 21:55:08 - POLLER: Poller[1] ASSERT: '2276249<0:6:24:16.13' failed. Recaching host 'x.x.x.179', data query #5
05/10/2018 21:55:08 - POLLER: Poller[1] ASSERT: '2276266<0:6:24:16.17' failed. Recaching host 'x.x.x.179', data query #6
05/10/2018 21:55:08 - POLLER: Poller[1] ASSERT: '2276279<0:6:24:16.21' failed. Recaching host 'x.x.x.179', data query #7
05/10/2018 21:55:09 - POLLER: Poller[1] ASSERT: '2599046<0:7:18:04.25' failed. Recaching host 'x.x.x.8', data query #1
05/10/2018 21:55:09 - POLLER: Poller[1] ASSERT: '2599060<0:7:18:04.30' failed. Recaching host 'x.x.x.8', data query #3
05/10/2018 21:55:09 - POLLER: Poller[1] ASSERT: '2599227<0:7:18:04.34' failed. Recaching host 'x.x.x.8', data query #4
05/10/2018 21:55:09 - POLLER: Poller[1] ASSERT: '2599302<0:7:18:04.38' failed. Recaching host 'x.x.x.8', data query #5
05/10/2018 21:55:09 - POLLER: Poller[1] ASSERT: '2599320<0:7:18:04.43' failed. Recaching host 'x.x.x.8', data query #6
05/10/2018 21:55:09 - POLLER: Poller[1] ASSERT: '2599334<0:7:18:04.47' failed. Recaching host 'x.x.x.8', data query #7
05/10/2018 21:55:00 - POLLER: Poller[1] ASSERT: '251826<0:0:46:38.23' failed. Recaching host 'x.x.x.46', data query #1
05/10/2018 21:55:00 - POLLER: Poller[1] ASSERT: '251828<0:0:46:38.23' failed. Recaching host 'x.x.x.46', data query #3
05/10/2018 21:55:00 - POLLER: Poller[1] ASSERT: '251921<0:0:46:38.24' failed. Recaching host 'x.x.x.46', data query #4
05/10/2018 21:55:00 - POLLER: Poller[1] ASSERT: '251982<0:0:46:38.24' failed. Recaching host 'x.x.x.46', data query #5
05/10/2018 21:55:00 - POLLER: Poller[1] ASSERT: '251983<0:0:46:38.24' failed. Recaching host 'x.x.x.46', data query #6
05/10/2018 21:55:00 - POLLER: Poller[1] ASSERT: '251984<0:0:46:38.24' failed. Recaching host 'x.x.x.46', data query #7
netniV
Cacti Guru User
Posts: 3441
Joined: Sun Aug 27, 2017 12:05 am

Re: Recaching host issue

Post by netniV »

Try running PHP interactively and running a comparision test.

For example, below is the output that I got which suggests that the first value is NOT below the second in both cases

Code: Select all

php -a
Interactive shell

php > $first=2275922;$second='0:6:24:16.00';
php > echo "$first<$second=".($first<$second);
2275922<0:6:24:16.00=
php > $first='2275922';$second='0:6:24:16.00';
php > echo "$first<$second=".($first<$second);
2275922<0:6:24:16.00=
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
axcviii
Posts: 3
Joined: Thu May 10, 2018 10:00 pm

Re: Recaching host issue

Post by axcviii »

Ah, I didn't realize that was an actual expression. What do those numbers correspond to though?

For one device, every graph except for load averages isn't working, so it seems that it's definitely not an issue with the device's SNMP or being able to connect to the device (otherwise the load averages graph would also not be working).
axcviii
Posts: 3
Joined: Thu May 10, 2018 10:00 pm

Re: Recaching host issue

Post by axcviii »

I was able to fix it by switching to Spine, but I'm not sure if I should report this to the Github community? Seems like a bug, but I'm not sure.
netniV
Cacti Guru User
Posts: 3441
Joined: Sun Aug 27, 2017 12:05 am

Re: Recaching host issue

Post by netniV »

If you were using the latest development version, then yes please do. That is still being developed for the 1.2 release.

The fact that it fails using the cmd.php but works using Spine means something isn't quite right.
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
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests