Empty cacti graphs

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

Moderators: Developers, Moderators

martinbouillaud
Posts: 10
Joined: Mon Jul 21, 2014 2:27 am

Empty cacti graphs

Post by martinbouillaud »

Hello, after waiting a few days to update the graphics, I've realized that nothing was happening. The graphics are empty, despite the fact that the poller is started and configured in the crontab. Here is an example of my log file :
07/21/2014 07:10:06 AM - SYSTEM SYSLOG STATS:Time:0.05 Deletes:0 Incoming:0 Removes:0 XFers:0 Alerts:0 Alarms:0 Reports:0
07/21/2014 07:20:02 AM - POLLER: Poller[0] WARNING: Cron is out of sync with the Poller Interval! The Poller Interval is '300' seconds, with a maximum of a '300' second Cron, but 601 seconds have passed since the last poll!
07/21/2014 07:20:06 AM - SYSTEM STATS: Time:4.2143 Method:spine Processes:1 Threads:10 Hosts:24 HostsPerProcess:24 DataSources:77 RRDsProcessed:43
07/21/2014 07:20:06 AM - SYSTEM SYSLOG STATS:Time:0.11 Deletes:0 Incoming:0 Removes:0 XFers:0 Alerts:0 Alarms:0 Reports:0
07/21/2014 07:25:06 AM - POLLER: Poller[0] WARNING: Cron is out of sync with the Poller Interval! The Poller Interval is '300' seconds, with a maximum of a '300' second Cron, but 304 seconds have passed since the last poll!
07/21/2014 07:25:11 AM - SYSTEM STATS: Time:4.2004 Method:spine Processes:1 Threads:10 Hosts:24 HostsPerProcess:24 DataSources:77 RRDsProcessed:43
07/21/2014 07:25:11 AM - SYSTEM SYSLOG STATS:Time:0.06 Deletes:0 Incoming:0 Removes:0 XFers:0 Alerts:0 Alarms:0 Reports:0
07/21/2014 07:30:06 AM - SYSTEM STATS: Time:4.1463 Method:spine Processes:1 Threads:10 Hosts:24 HostsPerProcess:24 DataSources:77 RRDsProcessed:43
07/21/2014 07:30:06 AM - SYSTEM SYSLOG STATS:Time:0.05 Deletes:0 Incoming:0 Removes:0 XFers:0 Alerts:0 Alarms:0 Reports:0
07/21/2014 07:35:06 AM - SYSTEM STATS: Time:4.2008 Method:spine Processes:1 Threads:10 Hosts:24 HostsPerProcess:24 DataSources:77 RRDsProcessed:43
07/21/2014 07:35:06 AM - SYSTEM SYSLOG STATS:Time:0.07 Deletes:0 Incoming:0 Removes:0 XFers:0 Alerts:0 Alarms:0 Reports:0
07/21/2014 07:40:06 AM - SYSTEM STATS: Time:4.0930 Method:spine Processes:1 Threads:10 Hosts:24 HostsPerProcess:24 DataSources:77 RRDsProcessed:43
07/21/2014 07:40:06 AM - SYSTEM SYSLOG STATS:Time:0.09 Deletes:0 Incoming:0 Removes:0 XFers:0 Alerts:0 Alarms:0 Reports:0
07/21/2014 07:45:06 AM - SYSTEM STATS: Time:4.2133 Method:spine Processes:1 Threads:10 Hosts:24 HostsPerProcess:24 DataSources:77 RRDsProcessed:43
07/21/2014 07:45:06 AM - SYSTEM SYSLOG STATS:Time:0.08 Deletes:0 Incoming:0 Removes:0 XFers:0 Alerts:0 Alarms:0 Reports:0
07/21/2014 07:50:06 AM - SYSTEM STATS: Time:4.1212 Method:spine Processes:1 Threads:10 Hosts:24 HostsPerProcess:24 DataSources:77 RRDsProcessed:43
07/21/2014 07:50:06 AM - SYSTEM SYSLOG STATS:Time:0.12 Deletes:0 Incoming:0 Removes:0 XFers:0 Alerts:0 Alarms:0 Reports:0
07/21/2014 07:55:06 AM - SYSTEM STATS: Time:4.1760 Method:spine Processes:1 Threads:10 Hosts:24 HostsPerProcess:24 DataSources:77 RRDsProcessed:43
07/21/2014 07:55:06 AM - SYSTEM SYSLOG STATS:Time:0.07 Deletes:0 Incoming:0 Removes:0 XFers:0 Alerts:0 Alarms:0 Reports:0
07/21/2014 08:05:01 AM - POLLER: Poller[0] WARNING: Cron is out of sync with the Poller Interval! The Poller Interval is '300' seconds, with a maximum of a '300' second Cron, but 599 seconds have passed since the last poll!
07/21/2014 08:05:05 AM - SYSTEM STATS: Time:4.1568 Method:spine Processes:1 Threads:10 Hosts:24 HostsPerProcess:24 DataSources:77 RRDsProcessed:43
07/21/2014 08:05:05 AM - SYSTEM SYSLOG STATS:Time:0.05 Deletes:0 Incoming:0 Removes:0 XFers:0 Alerts:0 Alarms:0 Reports:0
07/21/2014 08:10:06 AM - SYSTEM STATS: Time:4.0961 Method:spine Processes:1 Threads:10 Hosts:24 HostsPerProcess:24 DataSources:77 RRDsProcessed:43
07/21/2014 08:10:06 AM - SYSTEM SYSLOG STATS:Time:0.05 Deletes:0 Incoming:0 Removes:0 XFers:0 Alerts:0 Alarms:0 Reports:0
07/21/2014 08:20:02 AM - POLLER: Poller[0] WARNING: Cron is out of sync with the Poller Interval! The Poller Interval is '300' seconds, with a maximum of a '300' second Cron, but 600 seconds have passed since the last poll!
07/21/2014 08:20:06 AM - SYSTEM STATS: Time:4.0942 Method:spine Processes:1 Threads:10 Hosts:24 HostsPerProcess:24 DataSources:77 RRDsProcessed:43
07/21/2014 08:20:06 AM - SYSTEM SYSLOG STATS:Time:0.05 Deletes:0 Incoming:0 Removes:0 XFers:0 Alerts:0 Alarms:0 Reports:0
07/21/2014 08:25:05 AM - SYSTEM STATS: Time:4.0826 Method:spine Processes:1 Threads:10 Hosts:24 HostsPerProcess:24 DataSources:77 RRDsProcessed:43
07/21/2014 08:25:06 AM - SYSTEM SYSLOG STATS:Time:0.07 Deletes:0 Incoming:0 Removes:0 XFers:0 Alerts:0 Alarms:0 Reports:0
07/21/2014 08:30:06 AM - SYSTEM STATS: Time:4.1452 Method:spine Processes:1 Threads:10 Hosts:24 HostsPerProcess:24 DataSources:77 RRDsProcessed:43
07/21/2014 08:30:06 AM - SYSTEM SYSLOG STATS:Time:0.05 Deletes:0 Incoming:0 Removes:0 XFers:0 Alerts:0 Alarms:0 Reports:0
07/21/2014 08:35:06 AM - SYSTEM STATS: Time:4.1248 Method:spine Processes:1 Threads:10 Hosts:24 HostsPerProcess:24 DataSources:77 RRDsProcessed:43
07/21/2014 08:35:06 AM - SYSTEM SYSLOG STATS:Time:0.07 Deletes:0 Incoming:0 Removes:0 XFers:0 Alerts:0 Alarms:0 Reports:0
07/21/2014 08:40:06 AM - SYSTEM STATS: Time:4.2457 Method:spine Processes:1 Threads:10 Hosts:24 HostsPerProcess:24 DataSources:77 RRDsProcessed:43
07/21/2014 08:40:06 AM - SYSTEM SYSLOG STATS:Time:0.09 Deletes:0 Incoming:0 Removes:0 XFers:0 Alerts:0 Alarms:0 Reports:0
07/21/2014 08:45:06 AM - SYSTEM STATS: Time:4.0978 Method:spine Processes:1 Threads:10 Hosts:24 HostsPerProcess:24 DataSources:77 RRDsProcessed:43
07/21/2014 08:45:06 AM - SYSTEM SYSLOG STATS:Time:0.06 Deletes:0 Incoming:0 Removes:0 XFers:0 Alerts:0 Alarms:0 Reports:0
07/21/2014 08:50:05 AM - SYSTEM STATS: Time:4.0789 Method:spine Processes:1 Threads:10 Hosts:24 HostsPerProcess:24 DataSources:77 RRDsProcessed:43
07/21/2014 08:50:06 AM - SYSTEM SYSLOG STATS:Time:0.29 Deletes:0 Incoming:0 Removes:0 XFers:0 Alerts:0 Alarms:0 Reports:0
07/21/2014 08:55:05 AM - SYSTEM STATS: Time:4.1078 Method:spine Processes:1 Threads:10 Hosts:24 HostsPerProcess:24 DataSources:77 RRDsProcessed:43
07/21/2014 08:55:05 AM - SYSTEM SYSLOG STATS:Time:0.05 Deletes:0 Incoming:0 Removes:0 XFers:0 Alerts:0 Alarms:0 Reports:0
07/21/2014 09:05:01 AM - POLLER: Poller[0] WARNING: Cron is out of sync with the Poller Interval! The Poller Interval is '300' seconds, with a maximum of a '300' second Cron, but 600 seconds have passed since the last poll!
07/21/2014 09:05:05 AM - SYSTEM STATS: Time:4.1981 Method:spine Processes:1 Threads:10 Hosts:24 HostsPerProcess:24 DataSources:77 RRDsProcessed:43
07/21/2014 09:05:05 AM - SYSTEM SYSLOG STATS:Time:0.06 Deletes:0 Incoming:0 Removes:0 XFers:0 Alerts:0 Alarms:0 Reports:0
07/21/2014 09:10:05 AM - SYSTEM STATS: Time:4.1341 Method:spine Processes:1 Threads:10 Hosts:24 HostsPerProcess:24 DataSources:77 RRDsProcessed:43
07/21/2014 09:10:06 AM - SYSTEM SYSLOG STATS:Time:0.2 Deletes:0 Incoming:0 Removes:0 XFers:0 Alerts:0 Alarms:0 Reports:0
07/21/2014 09:20:01 AM - POLLER: Poller[0] WARNING: Cron is out of sync with the Poller Interval! The Poller Interval is '300' seconds, with a maximum of a '300' second Cron, but 600 seconds have passed since the last poll!
07/21/2014 09:20:06 AM - SYSTEM STATS: Time:4.2185 Method:spine Processes:1 Threads:10 Hosts:24 HostsPerProcess:24 DataSources:77 RRDsProcessed:43
07/21/2014 09:20:06 AM - SYSTEM SYSLOG STATS:Time:0.08 Deletes:0 Incoming:0 Removes:0 XFers:0 Alerts:0 Alarms:0 Reports:0
I do not really know what to do. Know that cacti running EyesOfNetwork. CentOS is a distribution that includes a variety of monitoring tools.
User avatar
phalek
Developer
Posts: 2838
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

Re: Empty cacti graphs

Post by phalek »

Can you post your crontab entries ?
Greetings,
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
martinbouillaud
Posts: 10
Joined: Mon Jul 21, 2014 2:27 am

Re: Empty cacti graphs

Post by martinbouillaud »

Cron task in Webmin
Image

Crontab file in ETC
Image

Cacti graphs
Image
User avatar
phalek
Developer
Posts: 2838
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

Re: Empty cacti graphs

Post by phalek »

Looks like there are 2 cronjobs then. One of these should be deleted
Greetings,
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
martinbouillaud
Posts: 10
Joined: Mon Jul 21, 2014 2:27 am

Re: Empty cacti graphs

Post by martinbouillaud »

I've juste deleted it.
martinbouillaud
Posts: 10
Joined: Mon Jul 21, 2014 2:27 am

Re: Empty cacti graphs

Post by martinbouillaud »

probably it's the graph template. I choose :

Host template : generic SNMP-enabled Host
Associated Graph Template : Interface - Traffic (bits/sec) AND ucd/net - Load Average
Associated Data Queries : SNMP - Interface Statistics

All my equipements are HP procurve Switch.
User avatar
phalek
Developer
Posts: 2838
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

Re: Empty cacti graphs

Post by phalek »

The interface statistic template is using standardized SNMP Mibs/OIDs so this shouldn't be a problem.

Can you snmpwalk the device/interface data ?

You can view what is being returned in the cacti logfile when increasing the log level to "High".
Greetings,
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
martinbouillaud
Posts: 10
Joined: Mon Jul 21, 2014 2:27 am

Re: Empty cacti graphs

Post by martinbouillaud »

07/22/2014 09:10:01 AM - SPINE: Poller[0] Host[134] TH[1] Recache DataQuery[1] OID: .1.3.6.1.2.1.1.3.0, output: 979060
07/22/2014 09:10:01 AM - SPINE: Poller[0] Host[134] TH[1] NOTE: There are '2' Polling Items for this Host
07/22/2014 09:10:01 AM - SPINE: Poller[0] Host[135] TH[1] Recache DataQuery[1] OID: .1.3.6.1.2.1.1.3.0, output: 30367475
07/22/2014 09:10:01 AM - SPINE: Poller[0] Host[135] TH[1] NOTE: There are '2' Polling Items for this Host
07/22/2014 09:10:01 AM - SPINE: Poller[0] Host[117] TH[1] DS[93] SNMP: v1: 172.16.24.170, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.58, value: 0
07/22/2014 09:10:01 AM - SPINE: Poller[0] Host[117] TH[1] DS[93] SNMP: v1: 172.16.24.170, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.58, value: 0
07/22/2014 09:10:01 AM - SPINE: Poller[0] Host[117] TH[1] Total Time: 0.28 Seconds
07/22/2014 09:10:01 AM - SPINE: Poller[0] Host[126] TH[1] DS[104] SNMP: v1: 172.16.15.170, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.101, value: 0
07/22/2014 09:10:01 AM - SPINE: Poller[0] Host[126] TH[1] DS[104] SNMP: v1: 172.16.15.170, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.101, value: 0
07/22/2014 09:10:01 AM - SPINE: Poller[0] Host[126] TH[1] DS[114] SNMP: v1: 172.16.15.170, dsname: load_1min, oid: .1.3.6.1.4.1.2021.10.1.3.1, value: U
07/22/2014 09:10:01 AM - SPINE: Poller[0] Host[126] TH[1] DS[115] SNMP: v1: 172.16.15.170, dsname: load_15min, oid: .1.3.6.1.4.1.2021.10.1.3.3, value: U
07/22/2014 09:10:01 AM - SPINE: Poller[0] Host[126] TH[1] DS[116] SNMP: v1: 172.16.15.170, dsname: load_5min, oid: .1.3.6.1.4.1.2021.10.1.3.2, value: U
07/22/2014 09:10:01 AM - SPINE: Poller[0] Host[126] TH[1] Total Time: 0.18 Seconds
07/22/2014 09:10:01 AM - SPINE: Poller[0] Host[135] TH[1] DS[113] SNMP: v1: 172.16.18.170, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.101, value: 0
07/22/2014 09:10:01 AM - SPINE: Poller[0] Host[135] TH[1] DS[113] SNMP: v1: 172.16.18.170, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.101, value: 0
07/22/2014 09:10:01 AM - SPINE: Poller[0] Host[135] TH[1] Total Time: 0.087 Seconds
07/22/2014 09:10:01 AM - SPINE: Poller[0] Host[134] TH[1] DS[112] SNMP: v1: 172.16.19.170, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.101, value: 0
07/22/2014 09:10:01 AM - SPINE: Poller[0] Host[134] TH[1] DS[112] SNMP: v1: 172.16.19.170, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.101, value: 0
07/22/2014 09:10:01 AM - SPINE: Poller[0] Host[134] TH[1] Total Time: 0.11 Seconds
07/22/2014 09:10:01 AM - SPINE: Poller[0] Host[124] TH[1] DS[99] SNMP: v1: 192.168.2.171, dsname: load_1min, oid: .1.3.6.1.4.1.2021.10.1.3.1, value: U
07/22/2014 09:10:01 AM - SPINE: Poller[0] Host[124] TH[1] DS[100] SNMP: v1: 192.168.2.171, dsname: load_15min, oid: .1.3.6.1.4.1.2021.10.1.3.3, value: U
07/22/2014 09:10:01 AM - SPINE: Poller[0] Host[124] TH[1] DS[101] SNMP: v1: 192.168.2.171, dsname: load_5min, oid: .1.3.6.1.4.1.2021.10.1.3.2, value: U
07/22/2014 09:10:01 AM - SPINE: Poller[0] Host[124] TH[1] DS[102] SNMP: v1: 192.168.2.171, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.58, value: 0
07/22/2014 09:10:01 AM - SPINE: Poller[0] Host[124] TH[1] DS[102] SNMP: v1: 192.168.2.171, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.58, value: 0
07/22/2014 09:10:01 AM - SPINE: Poller[0] Host[124] TH[1] Total Time: 0.34 Seconds
07/22/2014 09:10:05 AM - SPINE: Poller[0] Host[115] TH[1] Recache DataQuery[1] OID: .1.3.6.1.2.1.1.3.0, output: U
07/22/2014 09:10:05 AM - SPINE: Poller[0] Host[115] TH[1] Recache DataQuery[2] OID: .1.3.6.1.2.1.1.3.0, output: U
07/22/2014 09:10:05 AM - SPINE: Poller[0] Host[115] TH[1] NOTE: There are '9' Polling Items for this Host
07/22/2014 09:10:05 AM - SPINE: Poller[0] Host[115] TH[1] Total Time: 4 Seconds
07/22/2014 09:10:05 AM - SYSTEM STATS: Time:4.1802 Method:spine Processes:1 Threads:10 Hosts:24 HostsPerProcess:24 DataSources:80 RRDsProcessed:46
07/22/2014 09:10:05 AM - SPINE: Poller[0] Time: 4.1589 s, Threads: 10, Hosts: 24
07/22/2014 09:10:05 AM - SYSTEM SYSLOG STATS:Time:0.06 Deletes:0 Incoming:0 Removes:0 XFers:0 Alerts:0 Alarms:0 Reports:0
It's the log file when i put level to hard.

When i make an Smnpwalk, i've got a big list of OiD but i dont know what i can use.
User avatar
phalek
Developer
Posts: 2838
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

Re: Empty cacti graphs

Post by phalek »

Seems like you're using SNMP v1 for this switch. Try using v2
Greetings,
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
martinbouillaud
Posts: 10
Joined: Mon Jul 21, 2014 2:27 am

Re: Empty cacti graphs

Post by martinbouillaud »

I've juste trying it. I also just tried to install cacti on a virtual machine on but I did not even chart. There is a problem with the poller.php. I said to myself, at worst, I use cacti on a dedicated machine, but it does not work.
User avatar
phalek
Developer
Posts: 2838
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

Re: Empty cacti graphs

Post by phalek »

What does snmpwalk return for these commands ( replace "public" with your snmp community string ):

Code: Select all

snmpwalk -v 2c -c public 172.16.15.170.1.3.6.1.2.1.2.2.1.10.101
snmpwalk -v 2c -c public 192.168.2.171 .1.3.6.1.2.1.2.2.1.10.58
Greetings,
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
martinbouillaud
Posts: 10
Joined: Mon Jul 21, 2014 2:27 am

Re: Empty cacti graphs

Post by martinbouillaud »

Code: Select all

[root@srv-supervision ~]# snmpwalk -v 2c -c public 172.16.15.170 .1.3.6.1.2.1.2.2.1.10.101
IF-MIB::ifInOctets.101 = Counter32: 0
[root@srv-supervision ~]# snmpwalk -v 2c -c public 192.168.2.171 .1.3.6.1.2.1.2.2.1.10.58
IF-MIB::ifInOctets.58 = Counter32: 0
[root@srv-supervision ~]#
User avatar
phalek
Developer
Posts: 2838
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

Re: Empty cacti graphs

Post by phalek »

so that's exactly what is being graphed in Cacti.

Are you sure that there is data flowing through the interfaces you've selected ?
Greetings,
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
martinbouillaud
Posts: 10
Joined: Mon Jul 21, 2014 2:27 am

Re: Empty cacti graphs

Post by martinbouillaud »

Yes I'm sure. I supervised 12 switchs in cacti, they are all zero. The port is the port VLAN DATA, one through which all connections.

But what I find strange is when I want to make a chart, it tells me that the DATA interface is zero.
Image
User avatar
phalek
Developer
Posts: 2838
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

Re: Empty cacti graphs

Post by phalek »

I once had this kind of issue ( not sure what system it was ) where you cannot get VLAN specific data when you're not within the same VLAN.

Try adding the other interfaces first, to check the overall functionality.
You can also try to add a new device using the IP address you specified for the VLANs ( 172.16.18.170 for DATA, 172.16.180.170 for VOIX )

You can check if the later one returns data using this command:

Code: Select all

snmpwalk -v 2c -c public 172.16.18.170 .1.3.6.1.2.1.2.2.1.10.101
Greetings,
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests