i have some trouble with my cactiserver.
Yesterday i run into the problem, that the pollerprocess was terminated by time, because of
Code: Select all
03/13/2015 11:33:00 PM - POLLER: Poller[0] Maximum runtime of 58 seconds exceeded. Exiting.
I changed the Pollerprocess to run only all 5 Minutes. Since then the Poller seems to run in normal way, but the most of my graphs are printing NaN now.
I followed the guide from here, but everything seems fine..
I checked the scripts manually and that give me some values... but that values does not find the into the graphs.
Code: Select all
[root@cacti /usr/share/cacti/site] # /usr/bin/perl /usr/local/bin/a3-monitoring.pl -u rmi://lpm-04.prod.local:9100/BHT-UserServer-1-Prod-01
ClientSessionsaktiv:2 Speichernutzung:38 Benutzeraktiv:21 Speichergesamt:2800746496 Benutzergesamt:24 Speicherbenutzt:1091567616 Speicherfrei:1708130304 Speichermaximal:3816816640 ClientSessionsgesam:2 Mandanten:1 DBSessionsaktiv:5 Threads:71 DBSessionsgesamt:5 Transaktionen:627932
Code: Select all
03/18/2015 09:32:17 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/lib/cacti/rra/53/3511.rrd --template Benutzergesamt:Speichernutzung:DBSessionsaktiv:Speichermaximal:Speicherfrei:ClientSessionsaktiv:Speichergesamt:Benutzeraktiv:Transaktionen:Threads:Mandanten:Speicherbenutzt:DBSessionsgesamt:ClientSessionsgesam 1426667489:25:45:5:3816816640:1336934400:2:2444230656:21:627298:63:1:1107296256:6:2
Code: Select all
1426660200: -nan -nan -nan -nan -nan -nan -nan -nan -nan -nan -nan -nan -nan 0,0000000000e+00
1426660560: -nan -nan -nan -nan -nan -nan -nan -nan -nan -nan -nan -nan -nan 0,0000000000e+00
1426660920: -nan -nan -nan -nan -nan -nan -nan -nan -nan -nan -nan -nan -nan 0,0000000000e+00
1426661280: -nan -nan -nan -nan -nan -nan -nan -nan -nan -nan -nan -nan -nan 0,0000000000e+00
1426661640: -nan -nan -nan -nan -nan -nan -nan -nan -nan -nan -nan -nan -nan 0,0000000000e+00
1426662000: -nan -nan -nan -nan -nan -nan -nan -nan -nan -nan -nan -nan -nan -nan
1426662360: -nan -nan -nan -nan -nan -nan -nan -nan -nan -nan -nan -nan -nan -nan
1426662720: -nan -nan -nan -nan -nan -nan -nan -nan -nan -nan -nan -nan -nan 0,0000000000e+00
1426663080: -nan -nan -nan -nan -nan -nan -nan -nan -nan -nan -nan -nan -nan 0,0000000000e+00
1426663440: -nan -nan -nan -nan -nan -nan -nan -nan -nan -nan -nan -nan -nan 0,0000000000e+00
1426663800: -nan -nan -nan -nan -nan -nan -nan -nan -nan -nan -nan -nan -nan 0,0000000000e+00
1426664160: -nan -nan -nan -nan -nan -nan -nan -nan -nan -nan -nan -nan -nan 0,0000000000e+00
1426664520: 1,7000000000e+01 2,5176309760e+09 5,0000000000e+00 4,9250000000e+01 7,7187500000e-01 3,8168166400e+09 0,0000000000e+00 1,0000000000e+00 1,2623282176e+09 5,0000000000e+00 1,2542541824e+09 5,9550000000e+01 1,9000000000e+01 0,0000000000e+00
1426664880: -nan -nan -nan -nan -nan -nan -nan -nan -nan -nan -nan -nan -nan 0,0000000000e+00
1426665240: -nan -nan -nan -nan -nan -nan -nan -nan -nan -nan -nan -nan -nan 0,0000000000e+00
1426665600: -nan -nan -nan -nan -nan -nan -nan -nan -nan -nan -nan -nan -nan 0,0000000000e+00
1426665960: -nan -nan -nan -nan -nan -nan -nan -nan -nan -nan -nan -nan -nan 0,0000000000e+00
1426666320: -nan -nan -nan -nan -nan -nan -nan -nan -nan -nan -nan -nan -nan 0,0000000000e+00
1426666680: -nan -nan -nan -nan -nan -nan -nan -nan -nan -nan -nan -nan -nan 0,0000000000e+00
1426667040: -nan -nan -nan -nan -nan -nan -nan -nan -nan -nan -nan -nan -nan 0,0000000000e+00
1426667400: -nan -nan -nan -nan -nan -nan -nan -nan -nan -nan -nan -nan -nan 1,6333333333e+00
1426667760: -nan -nan -nan -nan -nan -nan -nan -nan -nan -nan -nan -nan -nan 2,0000000000e+00
1426668120: -nan -nan -nan -nan -nan -nan -nan -nan -nan -nan -nan -nan -nan -nan
Code: Select all
[root@cacti /usr/share/cacti/site] # rrdtool info /var/lib/cacti/rra/53/3511.rrd
filename = "/var/lib/cacti/rra/53/3511.rrd"
rrd_version = "0003"
step = 60
last_update = 1426668003
header_size = 25856
ds[Benutzeraktiv].index = 0
ds[Benutzeraktiv].type = "GAUGE"
ds[Benutzeraktiv].minimal_heartbeat = 120
ds[Benutzeraktiv].min = 0,0000000000e+00
ds[Benutzeraktiv].max = 6,5000000000e+04
ds[Benutzeraktiv].last_ds = "22"
ds[Benutzeraktiv].value = NaN
ds[Benutzeraktiv].unknown_sec = 3
ds[Benutzergesamt].index = 12
ds[Benutzergesamt].type = "GAUGE"
ds[Benutzergesamt].minimal_heartbeat = 120
ds[Benutzergesamt].min = 0,0000000000e+00
ds[Benutzergesamt].max = 6,5000000000e+04
ds[Benutzergesamt].last_ds = "24"
ds[Benutzergesamt].value = NaN
ds[Benutzergesamt].unknown_sec = 3
Code: Select all
03/18/2015 09:14:24 AM - CMDPHP: Poller[0] WARNING: SNMP Get Timeout for Host:'wiki.dbh.local', and OID:'.1.3.6.1.2.1.25.2.3.1.6.32'
03/18/2015 09:14:24 AM - CMDPHP: Poller[0] WARNING: SNMP Get Timeout for Host:'wiki.dbh.local', and OID:'.1.3.6.1.2.1.25.2.3.1.5.32'
03/18/2015 09:14:24 AM - CMDPHP: Poller[0] WARNING: SNMP Get Timeout for Host:'wiki.dbh.local', and OID:'.1.3.6.1.2.1.25.2.3.1.6.33'
03/18/2015 09:14:24 AM - CMDPHP: Poller[0] WARNING: SNMP Get Timeout for Host:'wiki.dbh.local', and OID:'.1.3.6.1.2.1.25.2.3.1.5.33'
03/18/2015 09:14:24 AM - CMDPHP: Poller[0] WARNING: SNMP Get Timeout for Host:'zhosting8.dbh.de', and OID:'.1.3.6.1.2.1.25.2.3.1.6.8'
03/18/2015 09:14:24 AM - CMDPHP: Poller[0] WARNING: SNMP Get Timeout for Host:'zhosting18.prod.local', and OID:'.1.3.6.1.2.1.25.2.3.1.6.8'
03/18/2015 09:14:24 AM - CMDPHP: Poller[0] WARNING: SNMP Get Timeout for Host:'zhosting21-db-slave.prod.local', and OID:'.1.3.6.1.2.1.25.2.3.1.6.8'
03/18/2015 09:14:24 AM - CMDPHP: Poller[0] WARNING: SNMP Get Timeout for Host:'zhosting8-db-slave.prod.local', and OID:'.1.3.6.1.2.1.25.2.3.1.6.8'
03/18/2015 09:14:25 AM - CMDPHP: Poller[0] WARNING: SNMP Get Timeout for Host:'wadis-bhv-db-slave.prod.local', and OID:'.1.3.6.1.2.1.25.2.3.1.6.63'
03/18/2015 09:14:25 AM - CMDPHP: Poller[0] WARNING: SNMP Get Timeout for Host:'wadis-bhv-db-slave.prod.local', and OID:'.1.3.6.1.2.1.25.2.3.1.5.63'
03/18/2015 09:14:26 AM - CMDPHP: Poller[0] WARNING: SNMP Get Timeout for Host:'wadis-whv-db-slave.prod.local', and OID:'.1.3.6.1.2.1.25.2.3.1.6.63'
I also checked this poller_output in my mysqldb
Code: Select all
Database changed
mysql> select count(*) from poller_output;
+----------+
| count(*) |
+----------+
| 0 |
+----------+
1 row in set (0.00 sec)
Poller InformationOperating System: Ubuntu 14.04.1 LTS (3.13.0-34-generic)
Webserver: Server version: Apache/2.4.7 (Ubuntu) Server built: Jul 22 2014 14:36:38
Cacti: 0.8.8b
Spine: SPINE 0.8.8b
MySQL: 5.5.38-0ubuntu0.14.04.1
PHP: 5.5.9-1ubuntu4.3
RRDTool (Cygwin): 1.4.7
Net-SNMP: NET-SNMP version: 5.7.2
Cygwin (cygwin1.dll version):
Plugin Architecture:3.1
Hosts: 329
Graphs: 12016
Data Sources: Script/Command: 2187
SNMP: 1116
SNMP Query: 6918
Script Query: 123
Script - Script Server (PHP): 78
Script Query - Script Server: 1719
Total: 12141
PHP InformationInterval 300
Type SPINE 0.8.8b Copyright 2002-2013 by The Cacti Group
Items Action[0]: 12117
Action[1]: 2187
Action[2]: 3422
Total: 17726
Concurrent Processes 4
Max Threads 30
PHP Servers 9
Script Timeout 80
Max OID 25
Last Run Statistics Time:71.7355 Method:spine Processes:4 Threads:30 Hosts:323 HostsPerProcess:81 DataSources:17726 RRDsProcessed:11607
If you need some more informations, please let me know...PHP SNMP Installed
max_execution_time 180
memory_limit: 512M