[Just in case this is useful to someone...]<div><br></div><div>Over a year ago I posted a question about getting Xymon 4.2.3 and AIX df to play nice together. I solved the problem by using a freeware version of df that has an option for Posix formatted output in the client script (see included messages). <div>

<br></div><div>I just discovered that we were not getting alerts for full file systems on AIX servers. The disk column wasn't even turning red or yellow. After digging into it I found that the hobbitd/client/aix.c module in the source needed to be changed to reflect the change in the headers produced by this version of df. After changing it and re-installing we were suddenly greeted by a multitude of almost full file systems on our AIX servers. </div>

<div><br></div><div>Steve<br><br><div class="gmail_quote">On Thu, Jul 29, 2010 at 10:03 PM, Steve Holmes <span dir="ltr"><<a href="mailto:sholmes42@gmail.com">sholmes42@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

That was the ticket which we found. That plus /use/freeware/bin/df which does both local file systems and POSIX output format.<br>
Thanks<br>
Steve<br>
<br>
Wherever you go, there you are.<br>
<div><div></div><div class="h5"><br>
On Jul 29, 2010, at 6:07 PM, Tim McCloskey <<a href="mailto:tm@freedom.com">tm@freedom.com</a>> wrote:<br>
<br>
> Should have mentioned, on the client under the client/bin dir are various hobbitclient-os.sh scripts.  Maybe you can have a look on your AIX client for some clues....<br>
><br>
> This is from a 4.2.0 client.<br>
><br>
> client/bin gegrep -3 df hobbitclient-aix.sh<br>
> uptime<br>
> echo "[who]"<br>
> who<br>
> echo "[df]"<br>
> # The sed stuff is to make sure lines are not split into two.<br>
> df -Ik | sed -e '/^[^   ][^     ]*$/{<br>
> N<br>
> s/[     ]*\n[   ]*/ /<br>
> }'<br>
><br>
><br>
> Regards,<br>
><br>
> Tim<br>
><br>
><br>
><br>
><br>
> ________________________________________<br>
> From: <a href="mailto:sholmes42@gmail.com">sholmes42@gmail.com</a> [<a href="mailto:sholmes42@gmail.com">sholmes42@gmail.com</a>] On Behalf Of Steve Holmes [<a href="mailto:sholmes42@mac.com">sholmes42@mac.com</a>]<br>


> Sent: Thursday, July 29, 2010 12:19 PM<br>
> To: <a href="mailto:xymon@xymon.com">xymon@xymon.com</a><br>
> Subject: [xymon] AIX df command problem<br>
><br>
> I am having a problem similar to one recently posted, but this is on an AIX host and is caused (I think) by a problem in the way xymon does df on AIX.<br>
> The xymon version is 4.2.3 and the AIX OS version is 3.5 (I think, I'm a Solaris Admin). Anyway, I can find no way to force the df on AIX to use POSIX formatting AND to report only local file systems. Even if I could, I don't think I can override what xymon uses for df since the comments in the hobbitclient.cfg file say that the envariable definition is only there for compatibility and it is not used.<br>


><br>
> The problem is that an NFS mount file system line in the df output is being parsed wrong and the number in the usage column is being used for the percent used (Available) so that is a huge number. Not only that, again similar to the previous problem, the file system name is being picked up as the contents of the last 3 fields in the output line, i.e. it is not /mnt/tsmupdates (which is what it should be) but "3020485 50% /tsm/updates", which, of course, prevents me from effectively ignoring that file system. I've tried using<br>


><br>
> DISK %.*/mnt/.* IGNORE<br>
><br>
> and that doesn't work.<br>
><br>
> Does anyone have any suggestions? We have a big red page where we shouldn't have.<br>
><br>
> Thanks,<br>
> Steve<br>
><br></div></div></blockquote></div>
</div></div>