<div dir="ltr">You're on the right track with the graphs.cfg and xymonserver.cfg<div><br></div><div>Your data has to be transmitted from the client as NCV, though. Each data point has to be sent on a line by itself in "name-colon-value" format.</div><div><br></div><div>Your message should look something like this:</div><div><br></div><div><font face="monospace, monospace">data HOSTNAME.TESTNAME </font></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace">blocks_used:3333333</font></div><div><font face="monospace, monospace">blocks_available:4444444</font></div><div><font face="monospace, monospace">blocks_size:7777777</font></div><div><font face="arial, helvetica, sans-serif"><br></font></div><div><font face="arial, helvetica, sans-serif">See the manpage for the xymon command to send a "data" message": <a href="https://www.xymon.com/help/howtograph.html">https://www.xymon.com/help/howtograph.html</a><br>Go back and read the "Custom Graph" help page, too... <a href="https://www.xymon.com/help/howtograph.html">https://www.xymon.com/help/howtograph.html</a></font></div><div><font face="arial, helvetica, sans-serif"><br></font></div><div><font face="arial, helvetica, sans-serif">Read all the way to the bottom and pay attention to how to send "trends" data directly into a specific RRD file. That might be particularly helpful; I might even change a few of my custom data scripts based on that.</font></div><div><font face="arial, helvetica, sans-serif"><br></font></div><div><font face="arial, helvetica, sans-serif">As an aside note... if it were me doing this-- trying to graph additional disk data-- I would modify the OS specific client script (e.g. /home/xymon/client/bin/xymonclient-linux.sh) to include the NFS file system you interested in graphing. Find where it executes "df -P" and replace that with a custom script, e.g. /home/xymon/client/ext/custom_df.sh</font></div><div><font face="arial, helvetica, sans-serif"><br></font></div><div><font face="arial, helvetica, sans-serif">In a normal client message, you'll see something like this:<br><br></font><pre style="color:rgb(0,0,0);word-wrap:break-word;white-space:pre-wrap">[df]
Filesystem 1024-blocks Used Available Capacity Mounted on
/dev/mapper/vgroot-lvroot 774064 506600 228148 69% /
/dev/sda1 126931 91273 29105 76% /boot
/dev/mapper/vgroot-lvhome 516040 17536 472292 4% /home
/dev/mapper/vgroot-lvopt 2064208 631884 1327468 33% /opt
/dev/mapper/vgroot-lvtmp 2064208 95144 1864208 5% /tmp
/dev/mapper/vgroot-lvusr 4902544 4284596 368924 93% /usr
/dev/mapper/vgroot-lvusrloc 1032088 95692 883968 10% /usr/local
/dev/mapper/vgroot-lvvar 10321208 6985600 2811424 72% /var
[inode]</pre><pre style="color:rgb(0,0,0);word-wrap:break-word;white-space:pre-wrap"><font face="arial, helvetica, sans-serif">Here's what that looks like in code:</font></pre><pre style="color:rgb(0,0,0);word-wrap:break-word;white-space:pre-wrap">echo "[df]"<font face="arial, helvetica, sans-serif">
</font>EXCLUDES=`cat /proc/filesystems | grep nodev | grep -v rootfs | awk '{print $2}' | xargs echo | sed -e 's! ! -x !g'`
ROOTFS=`readlink -m /dev/root`
df -Pl -x iso9660 -x $EXCLUDES | sed -e '/^[^ ][^ ]*$/{
N
s/[ ]*\n[ ]*/ /
}' -e "s&^rootfs&${ROOTFS}&"
echo "[inode]"</pre><pre style="word-wrap:break-word"><font face="arial, helvetica, sans-serif"><font color="#000000"><span style="white-space:pre-wrap">Modify the code so it will give you the results you're expecting, to include your NFS filesystem. If the line is there, it will be graphed just like the rest of them</span></font></font></pre><pre style="word-wrap:break-word">[df]
Filesystem 1024-blocks Used Available Capacity Mounted on
/dev/mapper/vgroot-lvroot 774064 506600 228148 69% /
/dev/sda1 126931 91273 29105 76% /boot
/dev/mapper/vgroot-lvhome 516040 17536 472292 4% /home
/dev/mapper/vgroot-lvopt 2064208 631884 1327468 33% /opt
/dev/mapper/vgroot-lvtmp 2064208 95144 1864208 5% /tmp
/dev/mapper/vgroot-lvusr 4902544 4284596 368924 93% /usr
/dev/mapper/vgroot-lvusrloc 1032088 95692 883968 10% /usr/local
/dev/mapper/vgroot-lvvar 10321208 6985600 2811424 72% /var
nfs-server:/NFS01 13260711552 11019471040 2241240512 84% /nfs01
[inode]</pre><pre style="color:rgb(0,0,0);word-wrap:break-word;white-space:pre-wrap"><font face="arial, helvetica, sans-serif">I know. I know. This probably REALLY violates standard Xymon practices. It certainly does add potential problems and maintenance headaches down the road when you upgrade, but it is certainly the shortest path to tracking your disk. I've made a number of modifications to my OS specific scripts in my environment over the years. When I upgrade, I diff the originals. If they're the same, I simply drop in my custom script. If not, I have all the changes documented at the top of my custom script so I can find them easier.</font></pre><pre style="color:rgb(0,0,0);word-wrap:break-word;white-space:pre-wrap"><font face="arial, helvetica, sans-serif">Good luck!</font></pre></div></div>