Graphs disappeared ...sigh.. someone help please

Post support questions that relate to the Windows 2003/2000/XP operating systems.

Moderators: Developers, Moderators

User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Alright, so lets start fresh. You have a device or two configured in Cacti to be polled with data right? Clear the poller cache.

With an admin account, turn the logging level to debug and then run: php <cactipath>\poller.php from the command prompt. Is there any output on the screen / log file?
caseth2001
Posts: 39
Joined: Tue Jul 03, 2007 7:52 am

Post by caseth2001 »

poller.php popped up on my screen when running it.
Attachments
poller.txt
(9.35 KiB) Downloaded 171 times
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Wait a minute, so you ran php <cactipath>\poller.php and it opened up php in notepad? Thats a sign that PHP is NOT properly set up on your PC and IIS. Please re-read my installation guide regarding PHP and IIS installation.
caseth2001
Posts: 39
Joined: Tue Jul 03, 2007 7:52 am

Post by caseth2001 »

easy now..easy now...i reran it from the cmd line...with cmd.php selected..and the output in the text file is what popped up in the command window.
Attachments
output.txt
(8.47 KiB) Downloaded 230 times
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Regardless how you ran it, the raw php code should not be appearing in any shape or form.

As for your latest output, looking better since now we're setting rrdtool updating the files. Are your graphs still blank?
caseth2001
Posts: 39
Joined: Tue Jul 03, 2007 7:52 am

Post by caseth2001 »

attached
Attachments
pix.JPG
pix.JPG (152.81 KiB) Viewed 3011 times
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Are there any other devices besides a PIX you can monitor... like the cacti host? I still have a hunch that the PIX is blocking snmp traffic.
caseth2001
Posts: 39
Joined: Tue Jul 03, 2007 7:52 am

Post by caseth2001 »

yes i have many devices to test.
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Ok, are all devices not returning any data?

Can you snmpwalk a device from the cacti host? i.e. snmpwalk -v 1 -c public 192.167.148.55 system.
caseth2001
Posts: 39
Joined: Tue Jul 03, 2007 7:52 am

Post by caseth2001 »

This is what is returned...

******BEGIN***********

C:\net-snmp>snmpwalk -v 1 -c f1r3st0rm 172.23.1.19 system
SNMPv2-MIB::sysDescr.0 = STRING: Cisco Adaptive Security Appliance Version 7.2(2)
SNMPv2-MIB::sysObjectID.0 = OID: SNMPv2-SMI::enterprises.9.1.672
DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (1016754000) 117 days, 16:19:00.00
SNMPv2-MIB::sysContact.0 = STRING:
SNMPv2-MIB::sysName.0 = STRING: corppartdmzasa1.corp.peopleclick.com
SNMPv2-MIB::sysLocation.0 = STRING:
SNMPv2-MIB::sysServices.0 = INTEGER: 0

*************************
caseth2001
Posts: 39
Joined: Tue Jul 03, 2007 7:52 am

Post by caseth2001 »

This is from the london Pix..

C:\net-snmp>snmpwalk -v 1 -c f1r3st0rm 172.23.100.2 system
SNMPv2-MIB::sysDescr.0 = STRING: Cisco PIX Firewall Version 6.3(5)

SNMPv2-MIB::sysObjectID.0 = OID: SNMPv2-SMI::enterprises.9.1.450
DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (3084770400) 357 days, 0:48:24.
00
SNMPv2-MIB::sysContact.0 = STRING:
SNMPv2-MIB::sysName.0 = STRING: London-PIX.peopleclick.com
SNMPv2-MIB::sysLocation.0 = STRING:
SNMPv2-MIB::sysServices.0 = INTEGER: 4
caseth2001
Posts: 39
Joined: Tue Jul 03, 2007 7:52 am

Post by caseth2001 »

fyi the graphs for the ASA do not even show up. showing up with the red x's again.
caseth2001
Posts: 39
Joined: Tue Jul 03, 2007 7:52 am

Post by caseth2001 »

I also added my core switch, which lives on the same subnet as the Cacti box. I did this to rule out any FW issues. however i get the same results. The graphs dont show up ....this is the output from the snmpwalk

**********BEGIN*****************

C:\net-snmp>snmpwalk -v 1 -c f1r3st0rm 172.23.1.1 system
SNMPv2-MIB::sysDescr.0 = STRING: Cisco IOS Software, C3750 Software (C3750-IPBAS
E-M), Version 12.2(25)SEE, RELEASE SOFTWARE (fc2)
Copyright (c) 1986-2006 by Cisco Systems, Inc.
Compiled Thu 02-Feb-06 23:31 by antonino
SNMPv2-MIB::sysObjectID.0 = OID: SNMPv2-SMI::enterprises.9.1.516
DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (49116066) 5 days, 16:26:00.66
SNMPv2-MIB::sysContact.0 = STRING:
SNMPv2-MIB::sysName.0 = STRING: CORE
SNMPv2-MIB::sysLocation.0 = STRING:
SNMPv2-MIB::sysServices.0 = INTEGER: 6
SNMPv2-MIB::sysORLastChange.0 = Timeticks: (0) 0:00:00.00
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

1) does cacti consider these broken routers up?
2) if #1, then change the logging level of cacti to medium or high for a polling cycle. Is cacti receiving any data from the routers snmp queries?
caseth2001
Posts: 39
Joined: Tue Jul 03, 2007 7:52 am

Post by caseth2001 »

The Core and the Pix515A show as up under the device menu. The ASA shows unknown for some reason. I will change to logging level now and give it a shot.
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests