<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Sorry for the delay in checking back, was off on other tasks for a
while.  I resolved the "nfs" script in a slightly different way.  I
noticed that $DF was being changed and $BBOSTYPE was not set the same
when the BB extension script ran.  So I changed the xymon
bb-nfs-client.sh to define and use DFK="/bin/df -k" .<br>
<br>
On a different issue, this one relates to the "meta" extension script. 
I have it working and displaying correct results within the web page,
but it curiously writes "metahs: ftp04: no hotspare pools found"  to
the meta log each time it executes.  Any ideas why?<br>
<br>
Bill<br>
<br>
-------- Original Message --------<br>
Subject: Re: [hobbit] unable to monitor nfs with BB extension script<br>
From: Loris Serena <a class="moz-txt-link-rfc2396E" href="mailto:lserena@gmail.com"><lserena@gmail.com></a><br>
To: <a class="moz-txt-link-abbreviated" href="mailto:hobbit@hswn.dk">hobbit@hswn.dk</a><br>
Date: 8/26/2009 3:46 AM<br>
<blockquote
 cite="mid:f06a10d50908260146h1d9077d9s9ec1af7f6a374e9b@mail.gmail.com"
 type="cite">Bill, <br>
  <br>
I had exactly the same issue.<br>
Defining the following variables within the bb-nfs-client.sh script
itself is what worked for me.<br>
  <br>
PING="/usr/sbin/ping"<br>
DFSORT="4"<br>
DFEXCLUDE="cdrom"<br>
DFWARN="90"<br>
DFPANIC="95"<br>
MACHINE=`uname -n`<br>
  <br>
Hope this helps, <br>
  <br>
  <br>
Loris<br>
  <br>
  <br>
  <br>
  <br>
  <div class="gmail_quote">2009/8/21 Bill Wagner <span dir="ltr"><<a
 moz-do-not-send="true" href="mailto:william.wagner@ipacc.com">william.wagner@ipacc.com</a>></span><br>
  <blockquote class="gmail_quote"
 style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
    <div bgcolor="#ffffff" text="#000000">My xymon server is Solaris 10
running Xymon 4.2.3.  I am in the process
of migrating from BB to Xymon.  I have a solaris 10 sparc client which
is running both BB and Xymon clients.  To prep Xymon for BB extension
scripts, I first concatenated bbsys.local onto hobbitclient.cfg.<br>
    <br>
Next I installed the BB extension script <font color="#660000"><b>bb-nfs-client.sh</b></font>. 
It erroneously reports "No NFS filesystems currently mounted on ftp01"
under the Xymon client.  The same script works correctly under the BB
client.<br>
    <br>
I ran the script in debug mode.  It correctly populates PINGEDHOSTS and
NFSHOST.  However it ends as:<br>
    <br>
+ /usr/xpg4/bin/egrep -vi (No such file|not a block device)
/export/home/xymon/client/tmp/NFSOUT.8354.err<br>
STj<br>
+ /usr/bin/mv -f /export/home/xymon/client/tmp/NFSOUT.8354.err~
/export/home/xymon/client/tmp/NFSOUT.8354.err<br>
+ [ -s /export/home/xymon/client/tmp/NFSOUT.8354.err ]<br>
+ [ -s /export/home/xymon/client/tmp/NFSERR.8354 ]<br>
+ [ green = green ]<br>
STATUS=status <xxx>.nfs green Fri Aug 21 09:59:09 CDT 2009 - NFS
mounts on ftp01 OK<br>
+ [ -s /export/home/xymon/client/tmp/NFSOUT.8354 ]<br>
+ [  =  -a  =  ]<br>
LINE=No NFS filesystems currently mounted on <xxx><br>
+ /export/home/xymon/client/bin/bb 10.80.6.50 status <xxx>.nfs
green Fri Aug 21 09:59:09 CDT 2009 - NFS mounts on ftp01 OK<br>
    <br>
No NFS filesystems currently mounted on <xxx><br>
    <br>
    <br>
What else do I need to do to get this script working properly under
Xymon?<br>
    <br>
thanks<br>
    <br>
    </div>
  </blockquote>
  </div>
  <br>
</blockquote>
<br>
</body>
</html>