Xymon Mailing List Archive search

devfs on FBSD

5 messages in this thread

list Lee J. Imber · Mon, 12 Sep 2005 10:37:06 -0400 ·
I installed 4.1.1 and I am getting paged for the devfs filesystem  
being over 95%.
How do I configure it so that this does not trip the hobbit?
I mean not by tweaking the hobbit-alerts.cfg :)

Also, I get a white smiley face for log data. "No log data" Is there  
another configure change needed as well?

devfs          1.0k    1.0k      0B   100%    /dev


Thanks!

Lee
list Henrik Størner · Mon, 12 Sep 2005 16:41:59 +0200 ·
quoted from Lee J. Imber
On Mon, Sep 12, 2005 at 10:37:06AM -0400, Lee J. Imber wrote:
I installed 4.1.1 and I am getting paged for the devfs filesystem  
being over 95%.
How do I configure it so that this does not trip the hobbit?
I mean not by tweaking the hobbit-alerts.cfg :)
Change the clients' "df" command to exclude the "devfs" filesystems.
The current snapshot already has this in the hobbitclient-freebsd.sh
script:

   df -H -tnonfs,nullfs,cd9660,procfs,devfs
quoted from Lee J. Imber
Also, I get a white smiley face for log data. "No log data" Is there  
another configure change needed as well?
The Hobbit client doesn't check system logs. You can use the bb-msgs
add-on from deadcat, or wait until I come up with an intelligent way
of handling this.


Henrik
list Lee J. Imber · Mon, 12 Sep 2005 11:05:23 -0400 ·
Henrik,

Thanks again for the insanely fast response. :)

Ok, I tried to tweak this

#DF="/bin/df -Pk"
DF="/bin/df -H -tnonfs,nullfs,cd9660,procfs,devfs"
#DFCMD="/bin/df -Pk"
DFCMD="/bin/df -H -tnonfs,nullfs,cd9660,procfs,devfs"


in the client but I still get the red alert. The real odd thing is  
that if I run it from the command line it works.
Environment issue?

Thanks,

Lee
quoted from Henrik Størner

On Sep 12, 2005, at 10:41 AM, Henrik Stoerner wrote:
On Mon, Sep 12, 2005 at 10:37:06AM -0400, Lee J. Imber wrote:
I installed 4.1.1 and I am getting paged for the devfs filesystem
being over 95%.
How do I configure it so that this does not trip the hobbit?
I mean not by tweaking the hobbit-alerts.cfg :)
Change the clients' "df" command to exclude the "devfs" filesystems.
The current snapshot already has this in the hobbitclient-freebsd.sh
script:

   df -H -tnonfs,nullfs,cd9660,procfs,devfs

Also, I get a white smiley face for log data. "No log data" Is there
another configure change needed as well?
The Hobbit client doesn't check system logs. You can use the bb-msgs
add-on from deadcat, or wait until I come up with an intelligent way
of handling this.


Henrik

list Henrik Størner · Mon, 12 Sep 2005 17:22:54 +0200 ·
quoted from Lee J. Imber
On Mon, Sep 12, 2005 at 11:05:23AM -0400, Lee J. Imber wrote:
Ok, I tried to tweak this

#DF="/bin/df -Pk"
DF="/bin/df -H -tnonfs,nullfs,cd9660,procfs,devfs"
#DFCMD="/bin/df -Pk"
DFCMD="/bin/df -H -tnonfs,nullfs,cd9660,procfs,devfs"

in the client but I still get the red alert.
You must do this on the *client* installation, in the file
~hobbit/client/bin/hobbitclient.sh - it looks like this:

echo "[uname]"
uname -a
echo "[uptime]"
uptime
echo "[who]"
who
echo "[df]"
df -H -tnonfs,nullfs,cd9660,procfs,devfs   <-- this line
... more lines ...

The DFCMD settings are obsolete, and have been removed from
Hobbit now - they are for the old Big Brother client.


Henrik
list Lee J. Imber · Mon, 12 Sep 2005 13:12:43 -0400 ·
Ahh..much better :)

Thanks!

Lee

On Sep 12, 2005, at 11:22 AM, Henrik Stoerner wrote:
On Mon, Sep 12, 2005 at 11:05:23AM -0400, Lee J. Imber wrote:
Ok, I tried to tweak this

#DF="/bin/df -Pk"
DF="/bin/df -H -tnonfs,nullfs,cd9660,procfs,devfs"
#DFCMD="/bin/df -Pk"
DFCMD="/bin/df -H -tnonfs,nullfs,cd9660,procfs,devfs"

in the client but I still get the red alert.
You must do this on the *client* installation, in the file
~hobbit/client/bin/hobbitclient.sh - it looks like this:

echo "[uname]"
uname -a
echo "[uptime]"
uptime
echo "[who]"
who
echo "[df]"
df -H -tnonfs,nullfs,cd9660,procfs,devfs   <-- this line
... more lines ...

The DFCMD settings are obsolete, and have been removed from
Hobbit now - they are for the old Big Brother client.


Henrik