Problem with yaxis in Graph
Moderators: Developers, Moderators
Problem with yaxis in Graph
Hi everyone
I have created a script which calls a script to get the free disc space
of a partition. The graph is correct, but I don't have a index on the
y axis.
Can anyone help me ?
Thank you
I have created a script which calls a script to get the free disc space
of a partition. The graph is correct, but I don't have a index on the
y axis.
Can anyone help me ?
Thank you
- Attachments
-
- freediscspace.png (2.97 KiB) Viewed 1942 times
Did you create that graph template yourself? Post a screenshot of the bottom half of the graph template (with all the settings).
| 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 |
Weird.
1) What version of rrdtool are you using?
2) Post the string of what the rrdtool graph is using.
3) This happen for any other graphs?
4) Why didn't you use the Host MIB - Available Disk Space template?
1) What version of rrdtool are you using?
2) Post the string of what the rrdtool graph is using.
3) This happen for any other graphs?
4) Why didn't you use the Host MIB - Available Disk Space template?
| 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 |
Sorry, I didn't have the time:
You mean this ???
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="am02nag - Free Diskspace /" \
--rigid \
--base=1024 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--units-exponent=0 \
--vertical-label="free space (MB)" \
DEF:a="/var/www/cacti/rra/am02nag_diskfree_8416.rrd":diskfree:AVERAGE \
CDEF:cdefa=a,1024,* \
AREA:cdefa#4668E4:"diskfree" \
GPRINT:cdefa:LAST:"Current\:%8.2lf %s" \
GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefa:MAX:"Maximum\:%8.2lf %s"
You mean this ???
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="am02nag - Free Diskspace /" \
--rigid \
--base=1024 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--units-exponent=0 \
--vertical-label="free space (MB)" \
DEF:a="/var/www/cacti/rra/am02nag_diskfree_8416.rrd":diskfree:AVERAGE \
CDEF:cdefa=a,1024,* \
AREA:cdefa#4668E4:"diskfree" \
GPRINT:cdefa:LAST:"Current\:%8.2lf %s" \
GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefa:MAX:"Maximum\:%8.2lf %s"
-
- Posts: 49
- Joined: Tue Jan 18, 2005 7:50 am
You should be able to install net-snmp on the remote host, configure it to present data for the relevant disk/partition/filesystem, and then use the provided ucd/net snmp host templates for gathering disk space information, cpu usage, load etc etc... I am currently graphing 26 remote machines and it works fine.trick17 wrote: 4. This is the graph of a remote machine. I get it with a netsaint statd script.
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Not sure and no cacti system at hand ...trick17 wrote:Sorry, I didn't have the time:
You mean this ???
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="am02nag - Free Diskspace /" \
--rigid \
--base=1024 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--units-exponent=0 \
--vertical-label="free space (MB)" \
DEF:a="/var/www/cacti/rra/am02nag_diskfree_8416.rrd":diskfree:AVERAGE \
CDEF:cdefa=a,1024,* \
AREA:cdefa#4668E4:"diskfree" \
GPRINT:cdefa:LAST:"Current\:%8.2lf %s" \
GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefa:MAX:"Maximum\:%8.2lf %s"
Please remove the "()" and have another try. Suppose, escaping of parenthesis might be the clue.
Reinhard
Who is online
Users browsing this forum: No registered users and 4 guests