Hi all,
I am running Cacti below version since 4 months and couldn't work on it further and had left as it was. Recently i found disk was full due to traps and graph database. So i cleared all logs and all.
Cacti Version 0.8.6i
Plugin Architecture 1.1
Poller Type Cactid v0.8.6i
Server Info Linux 2.6.9-22.EL
Web Server Apache/2.0.52 (Red Hat)
PHP Version 4.3.9
PHP Extensions yp, xml, wddx, tokenizer, sysvshm, sysvsem, standard, sockets, shmop, session, pspell, posix, pcre, overload, mime_magic, iconv, gmp, gettext, ftp, exif, dio, dbx, dba, curl, ctype, calendar, bz2, bcmath, zlib, openssl, apache2handler, gd, ldap, mysql
MySQL Version 4.1.12
RRDTool Version 1.2.19
SNMP Version 5.4
Plugins Device Monitoring (monitor - v0.7)
PHP Network Weathermap (weathermap - v0.9)
Thresholds (thold - v0.3.2)
Update Checker (update - v0.3)
Host Info (hostinfo - v0.1)
Now if i create any new graphs it, its not generating.It says "nan" on graph. I have attached the snapshot for reference.
Could anybody of you let me know basic diagnostic things and respective commands to be tested before working on any change in configuration.
Thanks and Regards,
S.Toufeeq
My graphs are generating from recently.
Moderators: Developers, Moderators
My graphs are generating from recently.
- Attachments
-
- Newly created template with existing template.
- rrd.gif (100.77 KiB) Viewed 2770 times
-
- Cacti User
- Posts: 54
- Joined: Fri Jun 24, 2005 10:16 am
Yes, i tried, but no change!!!!
Hi Sir,
Actually i had forgot the password for my "cactiuser" .So i changed it to new and then logged in and ran following command. Please find the below info found on screen. It says
" Can't open perl script "/usr/local/bin/ping_latency.pl": No such file or directory." , but i don't thnk its related to my "Not generation of Graph" problem concerned.
Wonder is my previously configured graphs are still running cool.but none of newly generated.!!!!!
Please suggest me further, what to check and test.
Thanks and Regards.
[cactiuser@cacti 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[10] DS[208] WARNING: Result from SNMP not valid. Partial Result: ...
Can't open perl script "/usr/local/bin/ping_latency.pl": No such file or directory.
Use -S to search $PATH for it.
CACTID: Host[10] ERROR: Empty result [164.164.130.10]: 'perl /usr/local/bin/ping_latency.pl '
CACTID: Host[10] DS[200] WARNING: Result from SCRIPT not valid. Partial Result: ...
Content-type: text/html
X-Powered-By: PHP/4.3.9
Checking Threshold : "Millennium - 5 Minute CPU"
Data Source : 5min_cpu went above threshold of 19 with 35
Checking Threshold : "GatewayRouter - 5 Minute CPU"
Data Source : 5min_cpu went above threshold of 18 with 30
OK u:0.00 s:0.00 r:0.10
ERROR: Not enough arguments
OK u:0.00 s:0.00 r:0.10
OK u:0.00 s:0.00 r:0.10
OK u:0.00 s:0.00 r:0.10
OK u:0.00 s:0.00 r:0.10
OK u:0.00 s:0.00 r:0.10
OK u:0.00 s:0.00 r:0.10
OK u:0.00 s:0.00 r:0.10
OK u:0.00 s:0.00 r:0.10
OK u:0.00 s:0.00 r:0.10
OK u:0.00 s:0.00 r:0.10
OK u:0.00 s:0.00 r:0.10
OK u:0.00 s:0.00 r:0.10
OK u:0.00 s:0.00 r:0.10
OK u:0.00 s:0.00 r:0.10
OK u:0.00 s:0.00 r:0.10
OK u:0.00 s:0.00 r:0.10
OK u:0.00 s:0.00 r:0.10
OK u:0.00 s:0.00 r:0.10
OK u:0.00 s:0.00 r:0.10
OK u:0.00 s:0.00 r:0.10
OK u:0.00 s:0.00 r:0.11
OK u:0.00 s:0.00 r:0.11
OK u:0.00 s:0.00 r:0.11
OK u:0.00 s:0.00 r:0.11
OK u:0.00 s:0.00 r:0.11
OK u:0.00 s:0.00 r:0.11
OK u:0.00 s:0.00 r:0.11
OK u:0.00 s:0.00 r:0.11
OK u:0.00 s:0.00 r:0.11
OK u:0.00 s:0.00 r:0.11
OK u:0.00 s:0.00 r:0.11
OK u:0.00 s:0.00 r:0.11
OK u:0.00 s:0.00 r:0.11
OK u:0.00 s:0.00 r:0.11
OK u:0.00 s:0.00 r:0.11
OK u:0.00 s:0.01 r:0.11
OK u:0.00 s:0.01 r:0.11
OK u:0.00 s:0.01 r:0.11
OK u:0.00 s:0.01 r:0.11
OK u:0.00 s:0.01 r:0.11
OK u:0.00 s:0.01 r:0.11
OK u:0.00 s:0.01 r:0.11
OK u:0.00 s:0.01 r:0.11
OK u:0.00 s:0.01 r:0.12
OK u:0.01 s:0.01 r:0.12
OK u:0.01 s:0.01 r:0.12
OK u:0.01 s:0.01 r:0.12
09/03/2007 06:51:33 PM - SYSTEM STATS: Time:6.1720 Method:cactid Processes:2 Threads:8 Hosts:8 HostsPerProcess:4 DataSources:108 RRDsProcessed:49
09/03/2007 06:51:33 PM - WEATHERMAP: Poller[0] Weathermap 0.9 starting - Normal logging mode. Turn on DEBUG in Cacti for more information
09/03/2007 06:51:33 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
09/03/2007 06:51:33 PM - WEATHERMAP: Poller[0] Unrecognised config on line 8: TITLEPOS STPI-NETWORK MONITORING SYSTEM
09/03/2007 06:51:33 PM - WEATHERMAP: Poller[0] Unrecognised config on line 12: KEYTEXTCOLOR red red red
09/03/2007 06:51:33 PM - WEATHERMAP: Poller[0] Unrecognised config on line 15: TITLECOLOR red blue blue
09/03/2007 06:51:33 PM - WEATHERMAP: Poller[0] Unrecognised config on line 16: TIMECOLOR green green green
09/03/2007 06:51:33 PM - WEATHERMAP: Poller[0] Unrecognised config on line 36: NODE node millennium
09/03/2007 06:51:33 PM - WEATHERMAP: Poller[0] Unrecognised config on line 37: LABEL MILLENNIUM
09/03/2007 06:51:33 PM - WEATHERMAP: Poller[0] Unrecognised config on line 38: POSITION 207 118
09/03/2007 06:51:33 PM - WEATHERMAP: Poller[0] Unrecognised config on line 40: NODE node gateway
09/03/2007 06:51:33 PM - WEATHERMAP: Poller[0] Unrecognised config on line 41: LABEL GATEWAY
09/03/2007 06:51:33 PM - WEATHERMAP: Poller[0] Unrecognised config on line 43: POSITION 336 108
09/03/2007 06:51:33 PM - WEATHERMAP: Poller[0] Unknown node 'millennium' on line 51 of config
09/03/2007 06:51:33 PM - WEATHERMAP: Poller[0] Unknown node 'gateway' on line 51 of config
09/03/2007 06:51:33 PM - WEATHERMAP: Poller[0] Unrecognised config on line 52: BANDWIDTH 2M
09/03/2007 06:51:33 PM - WEATHERMAP: Poller[0] About to write image file. If this is the last message in your log, increase memory_limit in php.ini
09/03/2007 06:51:33 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.
09/03/2007 06:51:33 PM - WEATHERMAP: Poller[0] Failed to open background image. One possible reason: Is your BACKGROUND really a PNG?
09/03/2007 06:51:33 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
09/03/2007 06:51:33 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
09/03/2007 06:51:33 PM - WEATHERMAP: Poller[0] Unrecognised config on line 7: TITLEPOS WELCOME TO STPI NMS SYSTEM
09/03/2007 06:51:33 PM - WEATHERMAP: Poller[0] Unrecognised config on line 8: KEYPOS DEFAULT -1 -1 Traffic Load
09/03/2007 06:51:33 PM - WEATHERMAP: Poller[0] Unrecognised config on line 11: BGCOLOR blue blue blue
09/03/2007 06:51:33 PM - WEATHERMAP: Poller[0] Unrecognised config on line 12: TITLECOLOR blue green blue
09/03/2007 06:51:33 PM - WEATHERMAP: Poller[0] Unrecognised config on line 13: TIMECOLOR green red red
09/03/2007 06:51:33 PM - WEATHERMAP: Poller[0] About to write image file. If this is the last message in your log, increase memory_limit in php.ini
09/03/2007 06:51:33 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
09/03/2007 06:51:33 PM - WEATHERMAP: Poller[0] Weathermap 0.9 run complete - 2 maps were run
Actually i had forgot the password for my "cactiuser" .So i changed it to new and then logged in and ran following command. Please find the below info found on screen. It says
" Can't open perl script "/usr/local/bin/ping_latency.pl": No such file or directory." , but i don't thnk its related to my "Not generation of Graph" problem concerned.
Wonder is my previously configured graphs are still running cool.but none of newly generated.!!!!!
Please suggest me further, what to check and test.
Thanks and Regards.
[cactiuser@cacti 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[10] DS[208] WARNING: Result from SNMP not valid. Partial Result: ...
Can't open perl script "/usr/local/bin/ping_latency.pl": No such file or directory.
Use -S to search $PATH for it.
CACTID: Host[10] ERROR: Empty result [164.164.130.10]: 'perl /usr/local/bin/ping_latency.pl '
CACTID: Host[10] DS[200] WARNING: Result from SCRIPT not valid. Partial Result: ...
Content-type: text/html
X-Powered-By: PHP/4.3.9
Checking Threshold : "Millennium - 5 Minute CPU"
Data Source : 5min_cpu went above threshold of 19 with 35
Checking Threshold : "GatewayRouter - 5 Minute CPU"
Data Source : 5min_cpu went above threshold of 18 with 30
OK u:0.00 s:0.00 r:0.10
ERROR: Not enough arguments
OK u:0.00 s:0.00 r:0.10
OK u:0.00 s:0.00 r:0.10
OK u:0.00 s:0.00 r:0.10
OK u:0.00 s:0.00 r:0.10
OK u:0.00 s:0.00 r:0.10
OK u:0.00 s:0.00 r:0.10
OK u:0.00 s:0.00 r:0.10
OK u:0.00 s:0.00 r:0.10
OK u:0.00 s:0.00 r:0.10
OK u:0.00 s:0.00 r:0.10
OK u:0.00 s:0.00 r:0.10
OK u:0.00 s:0.00 r:0.10
OK u:0.00 s:0.00 r:0.10
OK u:0.00 s:0.00 r:0.10
OK u:0.00 s:0.00 r:0.10
OK u:0.00 s:0.00 r:0.10
OK u:0.00 s:0.00 r:0.10
OK u:0.00 s:0.00 r:0.10
OK u:0.00 s:0.00 r:0.10
OK u:0.00 s:0.00 r:0.10
OK u:0.00 s:0.00 r:0.11
OK u:0.00 s:0.00 r:0.11
OK u:0.00 s:0.00 r:0.11
OK u:0.00 s:0.00 r:0.11
OK u:0.00 s:0.00 r:0.11
OK u:0.00 s:0.00 r:0.11
OK u:0.00 s:0.00 r:0.11
OK u:0.00 s:0.00 r:0.11
OK u:0.00 s:0.00 r:0.11
OK u:0.00 s:0.00 r:0.11
OK u:0.00 s:0.00 r:0.11
OK u:0.00 s:0.00 r:0.11
OK u:0.00 s:0.00 r:0.11
OK u:0.00 s:0.00 r:0.11
OK u:0.00 s:0.00 r:0.11
OK u:0.00 s:0.01 r:0.11
OK u:0.00 s:0.01 r:0.11
OK u:0.00 s:0.01 r:0.11
OK u:0.00 s:0.01 r:0.11
OK u:0.00 s:0.01 r:0.11
OK u:0.00 s:0.01 r:0.11
OK u:0.00 s:0.01 r:0.11
OK u:0.00 s:0.01 r:0.11
OK u:0.00 s:0.01 r:0.12
OK u:0.01 s:0.01 r:0.12
OK u:0.01 s:0.01 r:0.12
OK u:0.01 s:0.01 r:0.12
09/03/2007 06:51:33 PM - SYSTEM STATS: Time:6.1720 Method:cactid Processes:2 Threads:8 Hosts:8 HostsPerProcess:4 DataSources:108 RRDsProcessed:49
09/03/2007 06:51:33 PM - WEATHERMAP: Poller[0] Weathermap 0.9 starting - Normal logging mode. Turn on DEBUG in Cacti for more information
09/03/2007 06:51:33 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
09/03/2007 06:51:33 PM - WEATHERMAP: Poller[0] Unrecognised config on line 8: TITLEPOS STPI-NETWORK MONITORING SYSTEM
09/03/2007 06:51:33 PM - WEATHERMAP: Poller[0] Unrecognised config on line 12: KEYTEXTCOLOR red red red
09/03/2007 06:51:33 PM - WEATHERMAP: Poller[0] Unrecognised config on line 15: TITLECOLOR red blue blue
09/03/2007 06:51:33 PM - WEATHERMAP: Poller[0] Unrecognised config on line 16: TIMECOLOR green green green
09/03/2007 06:51:33 PM - WEATHERMAP: Poller[0] Unrecognised config on line 36: NODE node millennium
09/03/2007 06:51:33 PM - WEATHERMAP: Poller[0] Unrecognised config on line 37: LABEL MILLENNIUM
09/03/2007 06:51:33 PM - WEATHERMAP: Poller[0] Unrecognised config on line 38: POSITION 207 118
09/03/2007 06:51:33 PM - WEATHERMAP: Poller[0] Unrecognised config on line 40: NODE node gateway
09/03/2007 06:51:33 PM - WEATHERMAP: Poller[0] Unrecognised config on line 41: LABEL GATEWAY
09/03/2007 06:51:33 PM - WEATHERMAP: Poller[0] Unrecognised config on line 43: POSITION 336 108
09/03/2007 06:51:33 PM - WEATHERMAP: Poller[0] Unknown node 'millennium' on line 51 of config
09/03/2007 06:51:33 PM - WEATHERMAP: Poller[0] Unknown node 'gateway' on line 51 of config
09/03/2007 06:51:33 PM - WEATHERMAP: Poller[0] Unrecognised config on line 52: BANDWIDTH 2M
09/03/2007 06:51:33 PM - WEATHERMAP: Poller[0] About to write image file. If this is the last message in your log, increase memory_limit in php.ini
09/03/2007 06:51:33 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.
09/03/2007 06:51:33 PM - WEATHERMAP: Poller[0] Failed to open background image. One possible reason: Is your BACKGROUND really a PNG?
09/03/2007 06:51:33 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
09/03/2007 06:51:33 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
09/03/2007 06:51:33 PM - WEATHERMAP: Poller[0] Unrecognised config on line 7: TITLEPOS WELCOME TO STPI NMS SYSTEM
09/03/2007 06:51:33 PM - WEATHERMAP: Poller[0] Unrecognised config on line 8: KEYPOS DEFAULT -1 -1 Traffic Load
09/03/2007 06:51:33 PM - WEATHERMAP: Poller[0] Unrecognised config on line 11: BGCOLOR blue blue blue
09/03/2007 06:51:33 PM - WEATHERMAP: Poller[0] Unrecognised config on line 12: TITLECOLOR blue green blue
09/03/2007 06:51:33 PM - WEATHERMAP: Poller[0] Unrecognised config on line 13: TIMECOLOR green red red
09/03/2007 06:51:33 PM - WEATHERMAP: Poller[0] About to write image file. If this is the last message in your log, increase memory_limit in php.ini
09/03/2007 06:51:33 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
09/03/2007 06:51:33 PM - WEATHERMAP: Poller[0] Weathermap 0.9 run complete - 2 maps were run
What do i do before upgradation
Hi Gandalf,
It seems upgrading my 0.8.6i version to 0.8.6j would resolve my issue of 'nan' on the newly generated graphs,while my previous graphs still run cool !!!!!.
Please let me know what cautions i have to take before upgradation. Will my existing graphs runs as it is after the upgradation??
How do i take my backup and restore and what and all i have to?
Kindly help me out. It will be great support.
Thanks and Regards,
It seems upgrading my 0.8.6i version to 0.8.6j would resolve my issue of 'nan' on the newly generated graphs,while my previous graphs still run cool !!!!!.
Please let me know what cautions i have to take before upgradation. Will my existing graphs runs as it is after the upgradation??
How do i take my backup and restore and what and all i have to?
Kindly help me out. It will be great support.
Thanks and Regards,
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Re: What do i do before upgradation
No special action have to be taken. Graphs surely will work afterwards.smartech1 wrote:Hi Gandalf,
It seems upgrading my 0.8.6i version to 0.8.6j would resolve my issue of 'nan' on the newly generated graphs,while my previous graphs still run cool !!!!!.
Please let me know what cautions i have to take before upgradation. Will my existing graphs runs as it is after the upgradation??
[/quote]How do i take my backup and restore and what and all i have to?[/quote]I recommend a daily mysqldump of the database along with a complete backup of the cacti directory and all subdirectories. From this, you will be able to recover at any time.
Reinhard
Who is online
Users browsing this forum: No registered users and 1 guest