Problem w/ Interface Data

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
techie411
Posts: 16
Joined: Thu Jun 01, 2006 10:25 pm

Problem w/ Interface Data

Post by techie411 »

Can anyone help me out with this?? Here are my debug info:


/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=1149133126 \
--end=1149219526 \
--title="Server - Traffic" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
COMMENT:"From 2006/05/31 20:38:46 To 2006/06/01 20:38:46\c" \
COMMENT:"\n" \
--vertical-label="bytes per second" \
DEF:a="/usr/share/cacti/site/rra/server_traffic_in_1237.rrd":traffic_in:AVERAGE \
DEF:b="/usr/share/cacti/site/rra/server_traffic_in_1237.rrd":traffic_out:AVERAGE \
AREA:a#00CF00:"Inbound" \
GPRINT:a:LAST:" Current\:%8.2lf %s" \
GPRINT:a:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:a:MAX:"Maximum\:%8.2lf %s\n" \
LINE1:b#002A97:"Outbound" \
GPRINT:b:LAST:"Current\:%8.2lf %s" \
GPRINT:b:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:b:MAX:"Maximum\:%8.2lf %s"


The Above is what shows when I click on the wrench on the graphs.

Below is what shows when I go to graph Management & Turn on Graph Debug Mode:

RRDTool Says:

ERROR: opening '/usr/share/cacti/site/rra/server_traffic_in_1237.rrd': No such file or directory
nfantis
Posts: 8
Joined: Fri May 26, 2006 3:01 pm

Try This

Post by nfantis »

Try this,

Go to Graph Management
Select the graph that the debug data belongs to
Look for the file giving you the error in the Supplemental Graph Template Data.
Pull down the box that lists that file and see if any other entries are in there that are exactly alike. If so try each one and see if the graph regenerates.

I have this problem with all my custom graphs, either the data doesn't get selected or the wrong data source is used. I don't know if its a bug or if I am doing it wrong but the above steps have always worked for me.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Is this the only failing one? Checked crontab for poller.php entry already? What does ./log/cacti.log say?
Reinhard
techie411
Posts: 16
Joined: Thu Jun 01, 2006 10:25 pm

Post by techie411 »

Hi Nfantis -

Solution didn't work for me.

Hi Reinhard -

I'm getting a bunch of these errors below, however I have other graphs that aren't working so the following might be for those. I'm thinking something is wrong w/ the template. Your thoughts?:

Thanks guys for your feedback. Much Appreciated!!

06/02/2006 11:20:02 AM - CMDPHP: Poller[0] Host[9] WARNING: Result from SNMP not valid. Partial Result:
06/02/2006 11:20:06 AM - CMDPHP: Poller[0] Host[13] WARNING: Result from SNMP not valid. Partial Result:
06/02/2006 11:20:06 AM - CMDPHP: Poller[0] Host[13] WARNING: Result from SNMP not valid. Partial Result:
06/02/2006 11:20:07 AM - CMDPHP: Poller[0] Host[15] WARNING: Result from SNMP not valid. Partial Result:
06/02/2006 11:20:07 AM - CMDPHP: Poller[0] Host[15] WARNING: Result from SNMP not valid. Partial Result:
06/02/2006 11:20:07 AM - CMDPHP: Poller[0] Host[15] WARNING: Result from SNMP not valid. Partial Result:
06/02/2006 11:20:07 AM - CMDPHP: Poller[0] Host[15] WARNING: Result from SNMP not valid. Partial Result:
06/02/2006 11:20:07 AM - CMDPHP: Poller[0] Host[15] WARNING: Result from SNMP not valid. Partial Result:
06/02/2006 11:20:07 AM - CMDPHP: Poller[0] Host[15] WARNING: Result from SNMP not valid. Partial Result:
06/02/2006 11:20:11 AM - CMDPHP: Poller[0] Host[37] WARNING: Result from SNMP not valid. Partial Result:
06/02/2006 11:20:11 AM - CMDPHP: Poller[0] Host[37] WARNING: Result from SNMP not valid. Partial Result:
06/02/2006 11:20:23 AM - CMDPHP: Poller[0] Host[52] WARNING: Result from SNMP not valid. Partial Result: No Such Objec
t avail
06/02/2006 11:20:29 AM - CMDPHP: Poller[0] Host[57] WARNING: Result from SNMP not valid. Partial Result: No Such Objec
t avail
06/02/2006 11:20:29 AM - CMDPHP: Poller[0] Host[57] WARNING: Result from SNMP not valid. Partial Result: No Such Objec
t avail

06/02/2006 11:20:32 AM - CMDPHP: Poller[0] Host[60] WARNING: Result from SNMP not valid. Partial Result: No Such Objec
t avail
06/02/2006 11:20:32 AM - CMDPHP: Poller[0] Host[60] WARNING: Result from SNMP not valid. Partial Result: No Such Objec
t avail
06/02/2006 11:20:32 AM - CMDPHP: Poller[0] Host[60] WARNING: Result from SNMP not valid. Partial Result: No Such Objec
t avail
06/02/2006 11:20:32 AM - CMDPHP: Poller[0] Host[60] WARNING: Result from SNMP not valid. Partial Result: No Such Objec
t avail
06/02/2006 11:20:32 AM - CMDPHP: Poller[0] Host[60] WARNING: Result from SNMP not valid. Partial Result: No Such Object avail
06/02/2006 11:20:32 AM - CMDPHP: Poller[0] Host[60] WARNING: Result from SNMP not valid. Partial Result: No Such Object avail
06/02/2006 11:20:50 AM - SYSTEM STATS: Time: 48.8661 s, Method: cmd.php, Processes: 1, Threads: N/A, Hosts: 44, Hosts/P
rocess: 44
06/02/2006 11:20:50 AM - POLLER: Poller[0] Host[60] WARNING: Recache Event Detected for Host
06/02/2006 11:20:51 AM - RECACHE: Poller[0] STATS: Time: 0.4583 s, Hosts Recached: 1
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Please check, that no SNMP Error is seen for those devices on the Device Edit screen. This would point out a SNMP config error for the target device.
Please switch Settings -> Loging Level to DEBIUG for one polling cycle and check ./log/cacti.log again. Find the failing OIDs just above those error messages. Try to snmpwalk against them from cli
Reinhard
techie411
Posts: 16
Joined: Thu Jun 01, 2006 10:25 pm

Post by techie411 »

No SNMP errors are showing on Devices >> Edit Screen

It shows:

3) SNMP - Interface Statistics (Verbose Query) Uptime Goes Backwards Success [22 Items, 4 Rows]


So can I rule out the SNMP error issue? Thank you.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

techie411 wrote:No SNMP errors are showing on Devices >> Edit Screen

It shows:

3) SNMP - Interface Statistics (Verbose Query) Uptime Goes Backwards Success [22 Items, 4 Rows]


So can I rule out the SNMP error issue? Thank you.
Yep, correct. So follow my second advice to see the failing OIDs. You may try to snmpwalk against them manually to see, what they are related to
Reinhard
techie411
Posts: 16
Joined: Thu Jun 01, 2006 10:25 pm

Post by techie411 »

How do I find out the failing OID's?? Thanks for your help.....
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

From my post above see:
lvm wrote:...
Please switch Settings -> Logging Level to DEBUG for ONE polling cycle and check ./log/cacti.log again. Find the failing OIDs just above those error messages. Try to snmpwalk against them from cli
Reinhard
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests