Re: No additional data after upgrade

Tony Roman <[email protected]> Sun, 7 Oct 2018 17:52:21 -0400
Newsgroups gmane.network.cacti.user
Message-ID <[email protected]>
Are only certain devices not working or is it all devices?

That timeout is just for one host that probably either isn't responding 
quick enough over SNMP or SNMP isn't enabled.  I would find that host 
and make sure the timeout is set to something that will work for that 
device or adjust the "Downed Device Detection" to work for that specific 
host/device.

Check the `cache` directory and it's sub directories.  Make sure they 
are read/write for the user/group for the web server.  This might be an 
issue with the poller and graph cache system not being able to write.

Tony

On 10/7/18 11:56 AM, Jaime Kikpole via cacti-user wrote:
> Thanks for the suggestions.  Here is what I've got so far:
> 
> - FreeBSD 11.2-RELEASE-p4
> - Cacti 1.1.37
> - PHP 7.1.22
> - MySQL 5.6.41
> - RRD 1.7.0
> 
> 
> All software (other than FreeBSD itself) was installed via the "pkg"
> command.  The old versions were uninstalled prior to the new version being
> installed, since that is what "pkg" does.  However, it doesn't remove any
> modified files.
> 
> After the install by pkg, the web GUI prompted me through an "install"
> process and upgraded the SQL backend in the process, confirmed some
> settings in MySQL's configuration, etc.
> 
> The path /var/db/cacti/rra is currently owned by user cacti and group cacti
> and mode 755.  As far as I can tell, the last modification dates on those
> files are from just before the upgrade.
> 
> The poller is run by cron jobs owned by user cacti.  Here is what "crontab
> -u cacti -e" gives me:
> 
> */5 * * * * /usr/local/bin/php /usr/local/share/cacti/poller.php >
> /dev/null 2>&1
> 
> 
> The log file at /usr/local/share/cacti/log/cacti.log ends like this:
> 
> 10/07/2018 11:05:06 - CMDPHP WARNING: SNMP Error:'Timeout (500 ms)',
> Device:'10.3.100.5', OID:'.1.3.6.1.2.1.1.3.0'
> 10/07/2018 11:05:10 - SYSTEM STATS: Time:10.2242 Method:cmd.php
> Processes:1 Threads:N/A Hosts:66 HostsPerProcess:66 DataSources:14462
> RRDsProcessed:0
> 10/07/2018 11:10:06 - CMDPHP WARNING: SNMP Error:'Timeout (500 ms)',
> Device:'10.1.100.5', OID:'.1.3.6.1.2.1.1.3.0'
> 10/07/2018 11:10:07 - CMDPHP WARNING: SNMP Error:'Timeout (500 ms)',
> Device:'10.5.100.5', OID:'.1.3.6.1.2.1.1.3.0'
> 10/07/2018 11:10:08 - CMDPHP WARNING: SNMP Error:'Timeout (500 ms)',
> Device:'10.3.100.5', OID:'.1.3.6.1.2.1.1.3.0'
> 10/07/2018 11:10:11 - SYSTEM STATS: Time:10.8459 Method:cmd.php
> Processes:1 Threads:N/A Hosts:66 HostsPerProcess:66 DataSources:14462
> RRDsProcessed:0
> 10/07/2018 11:15:05 - CMDPHP WARNING: SNMP Error:'Timeout (500 ms)',
> Device:'10.1.100.5', OID:'.1.3.6.1.2.1.1.3.0'
> 10/07/2018 11:15:06 - CMDPHP WARNING: SNMP Error:'Timeout (500 ms)',
> Device:'10.5.100.5', OID:'.1.3.6.1.2.1.1.3.0'
> 10/07/2018 11:15:07 - CMDPHP WARNING: SNMP Error:'Timeout (500 ms)',
> Device:'10.3.100.5', OID:'.1.3.6.1.2.1.1.3.0'
> 10/07/2018 11:15:09 - SYSTEM STATS: Time:9.6688 Method:cmd.php
> Processes:1 Threads:N/A Hosts:66 HostsPerProcess:66 DataSources:14462
> RRDsProcessed:0
> 
> 
> I'm not sure what could be causing these timeouts.
> 
> Any suggestions on what to check next?
> 
> 
> Jaime Kikpole
> Director of Technology & Innovations
> Cairo-Durham Central School District
>