NO graphs showing

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

Moderators: Developers, Moderators

User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

nrakis0 wrote:/usr/local/rrdtool-1.2.19/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="goodaur1 - CPU Usage" \
--rigid \
--base=1000 \
--height=120 \
--width=720 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="cpu ticks" \
--slope-mode \
--font TITLE:12: \
--font AXIS:8: \
--font LEGEND:10: \
--font UNIT:8: \
DEF:a="/export/home/cacti/htdocs/cacti/rra/goodaur1_ucd_sscpurawsystem_280.rrd":ucd_ssCpuRawSystem:AVERAGE \
DEF:b="/export/home/cacti/htdocs/cacti/rra/goodaur1_ucd_sscpurawuser_281.rrd":ucd_ssCpuRawUser:AVERAGE \
DEF:c="/export/home/cacti/htdocs/cacti/rra/goodaur1_ucd_sscpurawidle_279.rrd":ucd_ssCpuRawIdle:AVERAGE \
CDEF:cdefa=a,100,*,TIME,1266902595,GT,a,a,UN,0,a,IF,IF,TIME,1266902595,GT,b,b,UN,0,b,IF,IF,TIME,1266902595,GT,c,c,UN,0,c,IF,IF,+,+,/ \
CDEF:cdeff=b,100,*,TIME,1266902595,GT,a,a,UN,0,a,IF,IF,TIME,1266902595,GT,b,b,UN,0,b,IF,IF,TIME,1266902595,GT,c,c,UN,0,c,IF,IF,+,+,/ \
CDEF:cdefba=c,100,*,TIME,1266902595,GT,a,a,UN,0,a,IF,IF,TIME,1266902595,GT,b,b,UN,0,b,IF,IF,TIME,1266902595,GT,c,c,UN,0,c,IF,IF,+,+,/ \
AREA:cdefa#FF0000FF:"System" \
GPRINT:cdefa:LAST:"Current\:%8.2lf %s" \
GPRINT:cdefa:AVERAGE:"Avg\:%8.2lf %s" \
GPRINT:cdefa:MIN:"Min\:%8.2lf %s" \
GPRINT:cdefa:MAX:"Max\:%8.2lf %s\n" \
AREA:cdeff#0000FFFF:"User":STACK \
GPRINT:cdeff:LAST:" Current\:%8.2lf %s" \
GPRINT:cdeff:AVERAGE:"Avg\:%8.2lf %s" \
GPRINT:cdeff:MIN:"Min\:%8.2lf %s" \
GPRINT:cdeff:MAX:"Max\:%8.2lf %s\n" \
AREA:cdefba#C0C0C0FF:"Idle":STACK \
GPRINT:cdefba:LAST:" Current\:%8.2lf %s" \
GPRINT:cdefba:AVERAGE:"Avg\:%8.2lf %s" \
GPRINT:cdefba:MIN:"Min\:%8.2lf %s" \
GPRINT:cdefba:MAX:"Max\:%8.2lf %s"
R.
User avatar
nrakis0
Posts: 13
Joined: Sun Feb 21, 2010 7:49 pm
Location: sydney australia

Post by nrakis0 »

More information please - you just copied and pasted the commands i found in cacti

:o :o :o

1) do i run them via another program

2) do i download the the aix template

3) do i use a different value of y-axis

4) none of the above?

regarsds nr
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

nrakis0 wrote:More information please - you just copied and pasted the commands i found in cacti
You asked for the command to run, I've presented you with it. Run that from cli and redirect output to foo.png
R.
User avatar
nrakis0
Posts: 13
Joined: Sun Feb 21, 2010 7:49 pm
Location: sydney australia

Post by nrakis0 »

OK R i don't have rrdtool and dont know how to use it - i will download it check how it is used and get back to you i guess.

I only wanted to get some graphs for aix, this is a messy messy business so far .. :o :o :o :roll:

but i will keep going and see what else comes up.

nic
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Without rrdtool cacti won't work
R.
User avatar
nrakis0
Posts: 13
Joined: Sun Feb 21, 2010 7:49 pm
Location: sydney australia

Post by nrakis0 »

Dandalf,


cacti is installed on the unix server how do you check the command(s) in question, using a browser or from a telnet session ?

nic

bash-3.00# ls -la
total 228
drwxr-xr-x 2 bin bin 512 Dec 8 14:14 .
drwxr-xr-x 7 bin bin 512 Dec 8 15:09 ..
-rwxr-xr-x 1 bin bin 28420 Mar 25 2007 rrdcgi
-rwxr-xr-x 1 bin bin 5848 Mar 25 2007 rrdtool
-rwxr-xr-x 1 bin bin 79676 Mar 25 2007 rrdupdate
bash-3.00# pwd
/usr/local/rrdtool-1.2.19/bin
bash-3.00#
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Copy the whole stuff into a file, e.g. rrdcmd.sh. Then run that file, e.g. "sh rrdcmd.sh > image.png". Now you will see rrdtool errors if any
R.
User avatar
nrakis0
Posts: 13
Joined: Sun Feb 21, 2010 7:49 pm
Location: sydney australia

Post by nrakis0 »

Dandalf as you can see i can print the graph perfectly but no data is showing.

Is it an snmp or net-snmp problem with the aix servers and i need additioanl software to install?

However if i look at the load average graph from the same server (unix host) i get clearly data flowing on the cacti server.

Any ideas on how to debug this problem ?

nic
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Please see 2nd link of my sig
R.
User avatar
nrakis0
Posts: 13
Joined: Sun Feb 21, 2010 7:49 pm
Location: sydney australia

Post by nrakis0 »

Randalf, I am looking at your link and the messages i have in the cacti.log are of different nature, can i ask the same question again?

is this problem relating to net_snmp or can this be fixd with the origina aix 5.3 snmp ? or is this something else.

regards Nic

I get the following: " results from snmp not valid partial re" ??

03/09/2010 10:40:07 AM - CMDPHP: Poller[0] Host[29] DS[331] WARNING: Result from SNMP not valid. Partial Re
03/09/2010 10:40:07 AM - CMDPHP: Poller[0] Host[29] DS[332] WARNING: Result from SNMP not valid. Partial Re
03/09/2010 10:40:07 AM - CMDPHP: Poller[0] Host[29] DS[333] WARNING: Result from SNMP not valid. Partial Re
03/09/2010 10:40:07 AM - CMDPHP: Poller[0] Host[29] DS[335] WARNING: Result from SNMP not valid. Partial Re
03/09/2010 10:40:07 AM - CMDPHP: Poller[0] Host[29] DS[336] WARNING: Result from SNMP not valid. Partial Re
03/09/2010 10:40:07 AM - CMDPHP: Poller[0] Host[29] DS[337] WARNING: Result from SNMP not valid. Partial Re
03/09/2010 10:40:07 AM - CMDPHP: Poller[0] Host[29] DS[338] WARNING: Result from SNMP not valid. Partial Re
03/09/2010 10:40:07 AM - CMDPHP: Poller[0] Host[29] DS[339] WARNING: Result from SNMP not valid. Partial Re
03/09/2010 10:40:07 AM - CMDPHP: Poller[0] Host[29] DS[340] WARNING: Result from SNMP not valid. Partial Re
03/09/2010 10:40:07 AM - CMDPHP: Poller[0] Host[29] DS[341] WARNING: Result from SNMP not valid. Partial Re
03/09/2010 10:40:07 AM - CMDPHP: Poller[0] Host[29] DS[342] WARNING: Result from SNMP not valid. Partial Re
03/09/2010 10:40:07 AM - CMDPHP: Poller[0] Host[29] DS[343] WARNING: Result from SNMP not valid. Partial Re
03/09/2010 10:40:07 AM - CMDPHP: Poller[0] Host[29] DS[344] WARNING: Result from SNMP not valid. Partial Re
03/09/2010 10:40:07 AM - CMDPHP: Poller[0] Host[29] DS[345] WARNING: Result from SNMP not valid. Partial Re
03/09/2010 10:40:07 AM - SYSTEM STATS: Time:5.7046 Method:cmd.php Processes:1 Threads:N/A Hosts:19 HostsPerP
rces:336 RRDsProcessed:272
bash-3.00# pwd
/export/home/cacti/htdocs/cacti/log
bash-3.00#
User avatar
nrakis0
Posts: 13
Joined: Sun Feb 21, 2010 7:49 pm
Location: sydney australia

Post by nrakis0 »

Randalf, I am looking at your link and the messages i have in the cacti.log are of different nature, can i ask the same question again?

is this problem relating to net_snmp or can this be fixd with the origina aix 5.3 snmp ? or is this something else.

regards Nic

I get the following: " results from snmp not valid partial re" ??

03/09/2010 10:40:07 AM - CMDPHP: Poller[0] Host[29] DS[331] WARNING: Result from SNMP not valid. Partial Re
03/09/2010 10:40:07 AM - CMDPHP: Poller[0] Host[29] DS[332] WARNING: Result from SNMP not valid. Partial Re
03/09/2010 10:40:07 AM - CMDPHP: Poller[0] Host[29] DS[333] WARNING: Result from SNMP not valid. Partial Re
03/09/2010 10:40:07 AM - CMDPHP: Poller[0] Host[29] DS[335] WARNING: Result from SNMP not valid. Partial Re
03/09/2010 10:40:07 AM - CMDPHP: Poller[0] Host[29] DS[336] WARNING: Result from SNMP not valid. Partial Re
03/09/2010 10:40:07 AM - CMDPHP: Poller[0] Host[29] DS[337] WARNING: Result from SNMP not valid. Partial Re
03/09/2010 10:40:07 AM - CMDPHP: Poller[0] Host[29] DS[338] WARNING: Result from SNMP not valid. Partial Re
03/09/2010 10:40:07 AM - CMDPHP: Poller[0] Host[29] DS[339] WARNING: Result from SNMP not valid. Partial Re
03/09/2010 10:40:07 AM - CMDPHP: Poller[0] Host[29] DS[340] WARNING: Result from SNMP not valid. Partial Re
03/09/2010 10:40:07 AM - CMDPHP: Poller[0] Host[29] DS[341] WARNING: Result from SNMP not valid. Partial Re
03/09/2010 10:40:07 AM - CMDPHP: Poller[0] Host[29] DS[342] WARNING: Result from SNMP not valid. Partial Re
03/09/2010 10:40:07 AM - CMDPHP: Poller[0] Host[29] DS[343] WARNING: Result from SNMP not valid. Partial Re
03/09/2010 10:40:07 AM - CMDPHP: Poller[0] Host[29] DS[344] WARNING: Result from SNMP not valid. Partial Re
03/09/2010 10:40:07 AM - CMDPHP: Poller[0] Host[29] DS[345] WARNING: Result from SNMP not valid. Partial Re
03/09/2010 10:40:07 AM - SYSTEM STATS: Time:5.7046 Method:cmd.php Processes:1 Threads:N/A Hosts:19 HostsPerP
rces:336 RRDsProcessed:272
bash-3.00# pwd
/export/home/cacti/htdocs/cacti/log
bash-3.00#
User avatar
nrakis0
Posts: 13
Joined: Sun Feb 21, 2010 7:49 pm
Location: sydney australia

Post by nrakis0 »

Randalf, I am looking at your link and the messages i have in the cacti.log are of different nature, can i ask the same question again?

is this problem relating to net_snmp or can this be fixd with the origina aix 5.3 snmp ? or is this something else.

regards Nic

I get the following: " results from snmp not valid partial re" ??

03/09/2010 10:40:07 AM - CMDPHP: Poller[0] Host[29] DS[331] WARNING: Result from SNMP not valid. Partial Re
03/09/2010 10:40:07 AM - CMDPHP: Poller[0] Host[29] DS[332] WARNING: Result from SNMP not valid. Partial Re
03/09/2010 10:40:07 AM - CMDPHP: Poller[0] Host[29] DS[333] WARNING: Result from SNMP not valid. Partial Re
03/09/2010 10:40:07 AM - CMDPHP: Poller[0] Host[29] DS[335] WARNING: Result from SNMP not valid. Partial Re
03/09/2010 10:40:07 AM - CMDPHP: Poller[0] Host[29] DS[336] WARNING: Result from SNMP not valid. Partial Re
03/09/2010 10:40:07 AM - CMDPHP: Poller[0] Host[29] DS[337] WARNING: Result from SNMP not valid. Partial Re
03/09/2010 10:40:07 AM - CMDPHP: Poller[0] Host[29] DS[338] WARNING: Result from SNMP not valid. Partial Re
03/09/2010 10:40:07 AM - CMDPHP: Poller[0] Host[29] DS[339] WARNING: Result from SNMP not valid. Partial Re
03/09/2010 10:40:07 AM - CMDPHP: Poller[0] Host[29] DS[340] WARNING: Result from SNMP not valid. Partial Re
03/09/2010 10:40:07 AM - CMDPHP: Poller[0] Host[29] DS[341] WARNING: Result from SNMP not valid. Partial Re
03/09/2010 10:40:07 AM - CMDPHP: Poller[0] Host[29] DS[342] WARNING: Result from SNMP not valid. Partial Re
03/09/2010 10:40:07 AM - CMDPHP: Poller[0] Host[29] DS[343] WARNING: Result from SNMP not valid. Partial Re
03/09/2010 10:40:07 AM - CMDPHP: Poller[0] Host[29] DS[344] WARNING: Result from SNMP not valid. Partial Re
03/09/2010 10:40:07 AM - CMDPHP: Poller[0] Host[29] DS[345] WARNING: Result from SNMP not valid. Partial Re
03/09/2010 10:40:07 AM - SYSTEM STATS: Time:5.7046 Method:cmd.php Processes:1 Threads:N/A Hosts:19 HostsPerP
rces:336 RRDsProcessed:272
bash-3.00# pwd
/export/home/cacti/htdocs/cacti/log
bash-3.00#
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

The host does not know the request OID. You may verify that by running an snmpwalk against the host using the OID in question
R.
Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests