Unusual Problem

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

Moderators: Developers, Moderators

Post Reply
sayasif
Posts: 24
Joined: Thu Sep 12, 2002 12:28 am
Location: India

Unusual Problem

Post by sayasif »

HI

Basic info,

I got latest cacti on w2k running fine. I added snmp support by putting snmp binaries like get, walk etc in usr/bin directory. I had some problems with MIBS as they were giving unable to link when I ran cmd.php, which i traced down to some notificationgroup entry under snmpv2-mib.txt file , so I deleted taht line and there wasn't any problem for the errors. So now when I query for an OID by snmpget then I do get the value back !

Now the problem,

Cacti is collecting the OID value but not putting it on graph, in other words the graphs are blank. Data is definately there, as when I put a keyword in legend with <octets> I do see the value printed but no the graph

Following is a sample configuration for graph which is getting CPU utilization in percentage from a remote system


c:/rrd/rrdtool.exe graph - \
--imgformat=PNG \
--start="-86400" \
--title="NTIIS CPU01 Utlization" \
--rigid \
--base=1000 \
--height=150 \
--width=500 \
--upper-limit=100 \
--lower-limit=0 \
--vertical-label="Percentage" \
DEF:a="e\:/cacti/rra/ntiiscpu01.rrd":ntiiscpu01:AVERAGE \
AREA:a#7CB3F1:"4


Can anyone pointout the problem? Has it got anything to do with the change I did in the SNMPV2.mib . confused as of now.

I would appreciate any help

thanx
ACE
Guest

Post by Guest »

Have you tried to use the numeric OID ? (1.2.3.5 etc.) Also check that the octet-size you polling is not exceeding the max set in the RRA-settings, else they will be discarded, and thus producing a graph with no values.
sayasif
Posts: 24
Joined: Thu Sep 12, 2002 12:28 am
Location: India

Thanx a Million

Post by sayasif »

HI and so many thanx for giving that hint.. that WAS the problem, it was 1 initially so i change it to 100 and it works !!

any idea of this particular thing in the graph source

DEF:a="e\:/cacti/rra/ntiiscpu01.rrd":ntiiscpu01:AVERAGE \
DEF:a="e\://cacti/rra/ntiiscpu01.rrd":ntiiscpu01:AVERAGE \

is it right either way I mean the forward slashes that comes after "e" , e being my drive letter.

one last question

I got cygwin installed on my system, so that I can use the awk and grep utils, so that I can use the contrib scripts provided. how do I interface the contrib scripts to go to the bash shell , If somebody can show one example it would be really helpful for all those who want to get it done ..

thanx again for ur help
:D
ACE
ONE MORE DAY WASTED !
Guest

Post by Guest »

Im glad it worked for you :D

I think you should use forward slashes on win32 (c:/foxserv/www....), i know it works 100%. Although I have seen those variations you wrote....

DEF:a="e:/cacti/rra/ntiiscpu01.rrd":ntiiscpu01:AVERAGE \

Sorry i dont know much about cygwin, so i cant help you there ;(

-Stefan
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests