I've got exactly the same error. When I do snmpget I see all the values, in the rrdfiles there are only NaN values. Linux/windows devices monitoring are working fine.BSOD2600 wrote:Each time you change an interface up/down on the router, Cacti needs to be reindexed. Possibly look into running poller_reindex_hosts.php nightly to accomplish this.
Looking in the cacti log file after debugging cycle, are the OIDs it's trying to poll which are invalid, different than before?
My Cacti works good but no graph drawn with my CISCO routers
Moderators: Developers, Moderators
The question is though, are the OIDs which returned data the same ones Cacti is polling? I'm betting no.vera wrote: When I do snmpget I see all the values, in the rrdfiles there are only NaN values.
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
I have the same problem!
How do I verify the OID cacti is polling?
Re: I have the same problem!
laarocho wrote:How do I verify the OID cacti is polling?
README STICKY wrote:Turn the polling level in cacti to debug (Settings | Polling level) for one cycle, wait for Cacti to run, and paste the output of the actual log file (<webroot>/cacti/log/cacti.log). If it contains WEBLOG entries, then don't bother posting since they just clutter up the log. Turn off WEBEVENTS logging and try again.
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
The Log File
Thanks for the info. Here's the log file. Like others users I'm able to do snmwalk and get info on the router. I cleared the cacti log before running the next cycle in debug mode.
- Attachments
-
- troubleshooting.txt
- The log file this afternoon.
- (35.77 KiB) Downloaded 260 times
-
- Posts: 5
- Joined: Tue May 16, 2006 5:27 am
- Contact:
send me screen shot.
send me one screen shot.
laarocho: It seems most of your hosts aren't responding to the UDP pings. Try changing it to ICMP.
CACTID: Poller[0] Host[2] PING Result: UDP: Ping timed out
CACTID: Poller[0] Host[2] SNMP Result: SNMP not performed due to setting or ping result
Ignore Madhumohan, he's just posting uselessly in all posts.
CACTID: Poller[0] Host[2] PING Result: UDP: Ping timed out
CACTID: Poller[0] Host[2] SNMP Result: SNMP not performed due to setting or ping result
Ignore Madhumohan, he's just posting uselessly in all posts.
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
Make the default file for your /cacti/ website graph_view.php instead of index.php. If you left the Guest user account enabled, there is no password needed.
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
Back again ....
But unfortunately with bad bad news !
Still have the same problem , my routers don't work anymore and can't know why ....
I re-index them each time I can,
I got SNMP info with snmpwalk.
But graph aren't drawn, even if the picture is present,
Can someone help me please???
But unfortunately with bad bad news !
Still have the same problem , my routers don't work anymore and can't know why ....
I re-index them each time I can,
I got SNMP info with snmpwalk.
But graph aren't drawn, even if the picture is present,
Can someone help me please???
- Attachments
-
- debug polling.txt
- Debug
- (11.27 KiB) Downloaded 216 times
Here is my configuration :
Windows XP With Cacti 8.6h patched
RRDTool 1.2 Cygwin build
Cactid 8.6g
Apache2
MySQL5
PHP 5.1.2
Windows XP With Cacti 8.6h patched
RRDTool 1.2 Cygwin build
Cactid 8.6g
Apache2
MySQL5
PHP 5.1.2
Sims: Anytime cacti is returning errors or warnings in the log file you must change the logging to debugging to see really what is going on. But it seems the OID(s) cacti is trying to use are invalid. Host 49 and 50 are your two routers? What are the OIDs which its trying to unsucessfully poll? Are you able to manually poll those OIDs with snmpwalk?
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
That's what I did...it is a debug log, but I cut it cause it was too large , I can post it entirely (see attached file) I have disable all my other devices to make it clearer....BSOD2600 wrote:Anytime cacti is returning errors or warnings in the log file you must change the logging to debugging to see really what is going on
Oids that I trying to poll is In/out bits and Errors/discard
I did snmpwalk for this :
Code: Select all
06/09/2006 10:30:32 AM - CMDPHP: Poller[0] DEBUG: SQL Exec: "replace into host_snmp_cache (host_id,snmp_query_id,field_name,field_value,snmp_index,oid) values ('49','1','ifIndex','18','18','.1.3.6.1.2.1.2.2.1.1.18')"
06/09/2006 10:30:32 AM - CMDPHP: Poller[0] DEBUG: SQL Exec: "replace into host_snmp_cache (host_id,snmp_query_id,field_name,field_value,snmp_index,oid) values ('49','1','ifIndex','17','17','.1.3.6.1.2.1.2.2.1.1.17')"
06/09/2006 10:30:32 AM - CMDPHP: Poller[0] DEBUG: SQL Exec: "replace into host_snmp_cache (host_id,snmp_query_id,field_name,field_value,snmp_index,oid) values ('49','1','ifIndex','16','16','.1.3.6.1.2.1.2.2.1.1.16')"
06/09/2006 10:30:32 AM - CMDPHP: Poller[0] DEBUG: SQL Exec: "replace into host_snmp_cache (host_id,snmp_query_id,field_name,field_value,snmp_index,oid) values ('49','1','ifIndex','15','15','.1.3.6.1.2.1.2.2.1.1.15')"
06/09/2006 10:30:32 AM - CMDPHP: Poller[0] DEBUG: SQL Exec: "replace into host_snmp_cache (host_id,snmp_query_id,field_name,field_value,snmp_index,oid) values ('49','1','ifIndex','14','14','.1.3.6.1.2.1.2.2.1.1.14')"
06/09/2006 10:30:32 AM - CMDPHP: Poller[0] DEBUG: SQL Exec: "replace into host_snmp_cache (host_id,snmp_query_id,field_name,field_value,snmp_index,oid) values ('49','1','ifIndex','13','13','.1.3.6.1.2.1.2.2.1.1.13')"
06/09/2006 10:30:32 AM - CMDPHP: Poller[0] DEBUG: SQL Exec: "replace into host_snmp_cache (host_id,snmp_query_id,field_name,field_value,snmp_index,oid) values ('49','1','ifIndex','12','12','.1.3.6.1.2.1.2.2.1.1.12')"
06/09/2006 10:30:32 AM - CMDPHP: Poller[0] DEBUG: SQL Exec: "replace into host_snmp_cache (host_id,snmp_query_id,field_name,field_value,snmp_index,oid) values ('49','1','ifIndex','11','11','.1.3.6.1.2.1.2.2.1.1.11')"
06/09/2006 10:30:32 AM - CMDPHP: Poller[0] DEBUG: SQL Exec: "replace into host_snmp_cache (host_id,snmp_query_id,field_name,field_value,snmp_index,oid) values ('49','1','ifIndex','10','10','.1.3.6.1.2.1.2.2.1.1.10')"
06/09/2006 10:30:32 AM - CMDPHP: Poller[0] DEBUG: SQL Exec: "replace into host_snmp_cache (host_id,snmp_query_id,field_name,field_value,snmp_index,oid) values ('49','1','ifIndex','9','9','.1.3.6.1.2.1.2.2.1.1.9')"
06/09/2006 10:30:32 AM - CMDPHP: Poller[0] DEBUG: SQL Exec: "replace into host_snmp_cache (host_id,snmp_query_id,field_name,field_value,snmp_index,oid) values ('49','1','ifIndex','8','8','.1.3.6.1.2.1.2.2.1.1.8')"
06/09/2006 10:30:32 AM - CMDPHP: Poller[0] DEBUG: SQL Exec: "replace into host_snmp_cache (host_id,snmp_query_id,field_name,field_value,snmp_index,oid) values ('49','1','ifIndex','7','7','.1.3.6.1.2.1.2.2.1.1.7')"
06/09/2006 10:30:32 AM - CMDPHP: Poller[0] DEBUG: SQL Exec: "replace into host_snmp_cache (host_id,snmp_query_id,field_name,field_value,snmp_index,oid) values ('49','1','ifIndex','6','6','.1.3.6.1.2.1.2.2.1.1.6')"
06/09/2006 10:30:32 AM - CMDPHP: Poller[0] DEBUG: SQL Exec: "replace into host_snmp_cache (host_id,snmp_query_id,field_name,field_value,snmp_index,oid) values ('49','1','ifIndex','5','5','.1.3.6.1.2.1.2.2.1.1.5')"
06/09/2006 10:30:32 AM - CMDPHP: Poller[0] DEBUG: SQL Exec: "replace into host_snmp_cache (host_id,snmp_query_id,field_name,field_value,snmp_index,oid) values ('49','1','ifIndex','4','4','.1.3.6.1.2.1.2.2.1.1.4')"
06/09/2006 10:30:32 AM - CMDPHP: Poller[0] DEBUG: SQL Exec: "replace into host_snmp_cache (host_id,snmp_query_id,field_name,field_value,snmp_index,oid) values ('49','1','ifIndex','3','3','.1.3.6.1.2.1.2.2.1.1.3')"
06/09/2006 10:30:32 AM - CMDPHP: Poller[0] DEBUG: SQL Exec: "replace into host_snmp_cache (host_id,snmp_query_id,field_name,field_value,snmp_index,oid) values ('49','1','ifIndex','2','2','.1.3.6.1.2.1.2.2.1.1.2')"
06/09/2006 10:30:32 AM - CMDPHP: Poller[0] DEBUG: SQL Exec: "replace into host_snmp_cache (host_id,snmp_query_id,field_name,field_value,snmp_index,oid) values ('49','1','ifIndex','1','1','.1.3.6.1.2.1.2.2.1.1.1')"
Y=1 to 6
IF-MIB::ifindex.Y = INTEGER Y
- Attachments
-
- debug polling - part1.txt
- Debug 1
- (913.32 KiB) Downloaded 233 times
-
- debug polling - part2.txt
- Debug 2 (second part)
- (645.1 KiB) Downloaded 186 times
Here is my configuration :
Windows XP With Cacti 8.6h patched
RRDTool 1.2 Cygwin build
Cactid 8.6g
Apache2
MySQL5
PHP 5.1.2
Windows XP With Cacti 8.6h patched
RRDTool 1.2 Cygwin build
Cactid 8.6g
Apache2
MySQL5
PHP 5.1.2
Please read the last entry in my FAQ on how you know debugging mode is enabled. What you posted might be debugging information, but not what we're after. You want to see cacti trying to poll OIDs and updating rrd files.
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
Who is online
Users browsing this forum: No registered users and 0 guests