Hi friends,
I am facing very often that my graphs stops running. Some times, only new graphs generated wont run, but old running cool.
Newly generated graphs debug says :
RRDTool Command:
/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="|GLOPORE| - Traffic - Vl114" \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="bits per second" \
--slope-mode \
DEF:a="/usr/local/cacti-0.8.6i/rra/vidhwanl3switch_traffic_in_263.rrd":traffic_in:AVERAGE \
DEF:b="/usr/local/cacti-0.8.6i/rra/vidhwanl3switch_traffic_in_263.rrd":traffic_out:AVERAGE \
CDEF:cdefa=a,8,* \
CDEF:cdefe=b,8,* \
AREA:cdefa#7EE600:"Inbound" \
GPRINT:cdefa:LAST:" Current\:%8.2lf %s" \
GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefa:MAX:"Maximum\:%8.2lf %s\n" \
LINE1:cdefe#8F005C:"Outbound" \
GPRINT:cdefe:LAST:"Current\:%8.2lf %s" \
GPRINT:cdefe:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefe:MAX:"Maximum\:%8.2lf %s"
RRDTool Says:
ERROR: opening '/usr/local/cacti-0.8.6i/rra/vidhwanl3switch_traffic_in_263.rrd': No such file or directory
1. I tried Utilities/rebuild poller cache ,but i dont see it clears it all.
2. I run crontab as below
# run-parts
01 * * * * root run-parts /etc/cron.hourly
02 4 * * * root run-parts /etc/cron.daily
22 4 * * 0 root run-parts /etc/cron.weekly
42 4 1 * * root run-parts /etc/cron.monthly
*/1 * * * * cactiuser php /usr/local/cacti-0.8.6i/poller.php > /dev/null 2>&1
~
3. Then i ran manually poller.php and got below result
[root@stpbnms cacti-0.8.6i]# php poller.php
CACTID: Host[5] DS[187] WARNING: Result from SNMP not valid. Partial Result: ...
CACTID: Host[5] DS[188] WARNING: Result from SNMP not valid. Partial Result: ...
CACTID: Host[5] DS[214] WARNING: SNMP timeout detected [500 ms], ignoring host '164.164.130.12'
CACTID: Host[5] DS[214] WARNING: SNMP timeout detected [500 ms], ignoring host '164.164.130.12'
CACTID: Host[10] DS[208] WARNING: Result from SNMP not valid. Partial Result: ...
CACTID: Host[9] DS[162] WARNING: SNMP timeout detected [500 ms], ignoring host '164.164.128.17'
CACTID: Host[9] DS[184] WARNING: SNMP timeout detected [500 ms], ignoring host '164.164.128.17'
Content-type: text/html
X-Powered-By: PHP/4.3.9
Checking Threshold : "GATEWAY-ROUTER - 5 Minute CPU"
Data Source : 5min_cpu went above threshold of 18 with 26
Checking Threshold : "MILLENNIUM-ROUTER - 5 Minute CPU"
Data Source : 5min_cpu went above threshold of 19 with 28
OK u:0.00 s:0.00 r:4.62
OK u:0.00 s:0.00 r:4.64
OK u:0.00 s:0.00 r:4.75
ERROR: illegal attempt to update using time 1199284689 when last update time is 1199284689 (minimum one second step)
ERROR: illegal attempt to update using time 1199284689 when last update time is 1199284689 (minimum one second step)
ERROR: illegal attempt to update using time 1199284689 when last update time is 1199284689 (minimum one second step)
ERROR: illegal attempt to update using time 1199284689 when last update time is 1199284689 (minimum one second step)
ERROR: illegal attempt to update using time 1199284689 when last update time is 1199284689 (minimum one second step)
ERROR: illegal attempt to update using time 1199284689 when last update time is 1199284689 (minimum one second step)
ERROR: illegal attempt to update using time 1199284689 when last update time is 1199284689 (minimum one second step)
OK u:0.00 s:0.00 r:4.88
OK u:0.00 s:0.00 r:4.93
OK u:0.00 s:0.00 r:4.99
OK u:0.00 s:0.00 r:5.00
OK u:0.00 s:0.00 r:5.01
OK u:0.00 s:0.00 r:5.02
OK u:0.00 s:0.00 r:5.04
OK u:0.00 s:0.00 r:5.04
OK u:0.00 s:0.00 r:5.09
OK u:0.00 s:0.00 r:5.10
OK u:0.00 s:0.00 r:5.12
OK u:0.00 s:0.00 r:5.12
OK u:0.00 s:0.00 r:5.14
OK u:0.00 s:0.00 r:5.15
OK u:0.00 s:0.00 r:5.17
OK u:0.00 s:0.00 r:5.19
OK u:0.00 s:0.00 r:5.21
OK u:0.00 s:0.00 r:5.22
OK u:0.00 s:0.01 r:5.25
OK u:0.00 s:0.01 r:5.27
OK u:0.00 s:0.01 r:5.28
OK u:0.00 s:0.01 r:5.31
OK u:0.00 s:0.01 r:5.35
OK u:0.00 s:0.01 r:5.37
OK u:0.00 s:0.01 r:5.39
OK u:0.00 s:0.01 r:5.42
OK u:0.00 s:0.01 r:5.44
OK u:0.00 s:0.01 r:5.45
OK u:0.00 s:0.01 r:5.47
ERROR: could not lock RRD
OK u:0.00 s:0.01 r:5.51
OK u:0.00 s:0.01 r:5.55
OK u:0.00 s:0.01 r:5.56
OK u:0.00 s:0.01 r:5.58
OK u:0.00 s:0.01 r:5.66
OK u:0.00 s:0.01 r:5.69
OK u:0.00 s:0.01 r:5.73
OK u:0.00 s:0.01 r:5.77
OK u:0.00 s:0.01 r:5.87
OK u:0.00 s:0.01 r:5.90
ERROR: could not lock RRD
OK u:0.01 s:0.01 r:6.05
OK u:0.01 s:0.01 r:6.06
ERROR: could not lock RRD
OK u:0.01 s:0.01 r:12.70
OK u:0.01 s:0.01 r:12.77
ERROR: could not lock RRD
OK u:0.01 s:0.01 r:12.93
ERROR: could not lock RRD
OK u:0.01 s:0.01 r:13.21
ERROR: could not lock RRD
01/02/2008 08:08:23 PM - SYSTEM STATS: Time:15.0076 Method:cactid Processes:2 Threads:8 Hosts:10 HostsPerProcess:5 DataSources:104 RRDsProcessed:63
OK u:0.01 s:0.01 r:13.56
ERROR: could not lock RRD
01/02/2008 08:08:25 PM - WEATHERMAP: Poller[0] Weathermap 0.9 starting - Normal logging mode. Turn on DEBUG in Cacti for more information
01/02/2008 08:08:25 PM - WEATHERMAP: Poller[0] Map: /usr/local/cacti-0.8.6i/plugins/weathermap/configs/weather.conf -> /usr/local/cacti-0.8.6i/plugins/weathermap/output/weathermap_2.html & /usr/local/cacti-0.8.6i/plugins/weathermap/output/weathermap_2.png
01/02/2008 08:08:27 PM - WEATHERMAP: Poller[0] Unrecognised config on line 8: TITLEPOS STPI-NETWORK MONITORING SYSTEM
01/02/2008 08:08:27 PM - WEATHERMAP: Poller[0] Unrecognised config on line 12: KEYTEXTCOLOR red red red
01/02/2008 08:08:27 PM - WEATHERMAP: Poller[0] Unrecognised config on line 15: TITLECOLOR red blue blue
01/02/2008 08:08:27 PM - WEATHERMAP: Poller[0] Unrecognised config on line 16: TIMECOLOR green green green
01/02/2008 08:08:27 PM - WEATHERMAP: Poller[0] Unrecognised config on line 36: NODE node millennium
01/02/2008 08:08:27 PM - WEATHERMAP: Poller[0] Unrecognised config on line 37: LABEL MILLENNIUM
01/02/2008 08:08:27 PM - WEATHERMAP: Poller[0] Unrecognised config on line 38: POSITION 207 118
01/02/2008 08:08:27 PM - WEATHERMAP: Poller[0] Unrecognised config on line 40: NODE node gateway
01/02/2008 08:08:27 PM - WEATHERMAP: Poller[0] Unrecognised config on line 41: LABEL GATEWAY
01/02/2008 08:08:27 PM - WEATHERMAP: Poller[0] Unrecognised config on line 43: POSITION 336 108
01/02/2008 08:08:27 PM - WEATHERMAP: Poller[0] Unknown node 'millennium' on line 51 of config
01/02/2008 08:08:27 PM - WEATHERMAP: Poller[0] Unknown node 'gateway' on line 51 of config
01/02/2008 08:08:27 PM - WEATHERMAP: Poller[0] Unrecognised config on line 52: BANDWIDTH 2M
01/02/2008 08:08:27 PM - WEATHERMAP: Poller[0] About to write image file. If this is the last message in your log, increase memory_limit in php.ini
01/02/2008 08:08:27 PM - WEATHERMAP: Poller[0] Image file /usr/local/cacti-0.8.6i/index.php wasn't recognised (type=). Check format is supported by your GD library.
01/02/2008 08:08:27 PM - WEATHERMAP: Poller[0] Failed to open background image. One possible reason: Is your BACKGROUND really a PNG?
01/02/2008 08:08:27 PM - WEATHERMAP: Poller[0] Wrote map to /usr/local/cacti-0.8.6i/plugins/weathermap/output/weathermap_2.png and /usr/local/cacti-0.8.6i/plugins/weathermap/output/weathermap_thumb_2.png
01/02/2008 08:08:27 PM - WEATHERMAP: Poller[0] Map: /usr/local/cacti-0.8.6i/plugins/weathermap/configs/simple.conf -> /usr/local/cacti-0.8.6i/plugins/weathermap/output/weathermap_1.html & /usr/local/cacti-0.8.6i/plugins/weathermap/output/weathermap_1.png
01/02/2008 08:08:27 PM - WEATHERMAP: Poller[0] Unrecognised config on line 7: TITLEPOS WELCOME TO STPI NMS SYSTEM
01/02/2008 08:08:27 PM - WEATHERMAP: Poller[0] Unrecognised config on line 8: KEYPOS DEFAULT -1 -1 Traffic Load
01/02/2008 08:08:27 PM - WEATHERMAP: Poller[0] Unrecognised config on line 11: BGCOLOR blue blue blue
01/02/2008 08:08:27 PM - WEATHERMAP: Poller[0] Unrecognised config on line 12: TITLECOLOR blue green blue
01/02/2008 08:08:27 PM - WEATHERMAP: Poller[0] Unrecognised config on line 13: TIMECOLOR green red red
01/02/2008 08:08:27 PM - WEATHERMAP: Poller[0] About to write image file. If this is the last message in your log, increase memory_limit in php.ini
01/02/2008 08:08:28 PM - WEATHERMAP: Poller[0] Wrote map to /usr/local/cacti-0.8.6i/plugins/weathermap/output/weathermap_1.png and /usr/local/cacti-0.8.6i/plugins/weathermap/output/weathermap_thumb_1.png
01/02/2008 08:08:28 PM - WEATHERMAP: Poller[0] Weathermap 0.9 run complete - 2 maps were run
4. My rrd file permission shows.
-rw-r--r-- 1 cactiuser cactiuser 95328 Jan 2 20:26 vidhwan_cat5min_cpu_202.rrd
-rw-r--r-- 1 cactiuser cactiuser 95328 Jan 2 20:22 vidhwan_cisco_memfree_203.rrd
-rw-r--r-- 1 cactiuser cactiuser 95328 Jan 2 20:23 vidhwan_cisco_memused_204.rrd
-rw-r--r-- 1 cactiuser cactiuser 317288 Jan 2 20:22 vidhwanl3switch_traffic_in_258.rrd
I am confused with my Cacti running issues. Kindly help me with your valuable suggestion and better management tricks.
Thanks .
S.Toufeeq
Newly generated graphs not running..........
Moderators: Developers, Moderators
Who is online
Users browsing this forum: No registered users and 3 guests