Firstly, I apologise if this question has been asked before. I've looked at what I'm trying to do and if there's an error I just can't see it. Below is a section of my mrtg.cfg
-----------------------mrtg.cfg ------------------------------------------------------------- Title[VCH-NA1.SYS]: Disk Space Usage on SYS Target[VCH-NA1.SYS]: `/usr/lib/nagios/plugins/check_nwstat 10.5.1.9 -v VKFSYS | cut -f2 -d =` Kilo[VCH-NA1.SYS]:1024 AbsMax[VCH-NA1.SYS]:2097152000 MaxBytes[VCH-NA1.SYS]: 1638912 Options[VCH-NA1.SYS]: gauge, nopercent YLegend[VCH-NA1.SYS]: Free Space ShortLEgend[VCH-NA1.SYS]: bytes Legend1[VCH-NA1.SYS]: SYS Legend2[VCH-NA1.SYS]: Legend3[VCH-NA1.SYS]: SYS Peak Legend4[VCH-NA1.SYS]: LegendI[VCH-NA1.SYS]: SYS: LegendO[VCH-NA1.SYS]: PageTop[VCH-NA1.SYS]: <H1>Disk space stats for VCH-NA1\SYS </H1> <p> These graphs track disk space usage on SYS ------------------------End of mrtg.cfg ------------------------------------- If I execute the command from a bash shell i get nagios1:/etc/init.d # /usr/lib/nagios/plugins/check_nwstat 10.5.1.9 -v VKFSYS 1126912 KB free on volume SYS|KBFreeSYS=1126912;0;0;; nagios1:/etc/init.d # /usr/lib/nagios/plugins/check_nwstat 10.5.1.9 -v VKFSYS | cut -f2 -d = 1126912;0;0;; nagios1:/etc/init.d # I was hoping this would get me a log file in my workdir=/var/www/mrtg but nothing. I get a link on my mrtg web page but obviously no log file means no .html file. (Before somebody asks why I'm not using snmp, I'll explain that these are nss volumes so snmp doesn't return the most accurate of figures were as the check_nwstat command is fairly spot on.) Is 1126912;0;0;; in the correct format or have I missed something eg it's delimited by |? Thanks, PeteH -- View this message in context: http://mrtg-mailinglists.795376.n2.nabble.com/Graphing-netware-disk-usage-tp5777936p5777936.html Sent from the MRTG Users Mailinglist mailing list archive at Nabble.com. _______________________________________________ mrtg mailing list [email protected] https://lists.oetiker.ch/cgi-bin/listinfo/mrtg
