[hobbit] Antwort: [hobbit] RE :Antwort: Re: [hobbit] New Hobbit "admin" Scripts
Stefan
Why wont your script for editing the config files work with the hobbit-clients.cfg file?
Trent
Trent Melcher Unix/Linux Systems Administrator Securities America Financial Corporation (402) 399-9111 x2774 tmelcher at saionline.com
Securities America, Inc., a Registered Broker/Dealer, Member NASD/SIPC. Advisory services offered through Securities America Advisors, Inc., an SEC Registered Investment Advisory
The text of this communication is confidential, and use by any person who is not the intended recipient is prohibited. Any person who receives this communication in error is requested to immediately destroy the text of this communication without copying or further dissemination. Your cooperation is appreciated.
From: stefan.freisler at aspect-online.de
[mailto:stefan.freisler at aspect-online.de] Sent: Wednesday, January 03, 2007 10:00 AM To: hobbit at hswn.dk Subject: [hobbit] Antwort: [hobbit] RE :Antwort: Re: [hobbit] New Hobbit "admin" Scripts
Thx for help i will do it tomorrow. I have some other things
fixed and improved (Calender to select the Time)
mfg
Stefan
Is there a way to configure an alert to go out per filesystem or per process?
Thanks Richard
On Wed, Jan 03, 2007 at 03:39:06PM -0600, Richard Leon wrote:
Is there a way to configure an alert to go out per filesystem or per process?
In hobbit-clients.cfg:
DISK /home 80 90 GROUP=useradmins PROC vpnd GROUP=network
and in hobbit-alerts.cfg
GROUP=useradmins MAIL helpdesk at foo.org
GROUP=network MAIL noc at foo.org
Henrik
In your example below.
Useradmins group will get a page for only /home.
But what if I want the unix admins who have a rule in the hobbit-alerts that sends SMS for all disk reds, not to be paged via sms if that filesystem goes red.
It would be nice if it just sends an email but if I can just get it to ignore a page at a filesystem level I can just add the email address to the user admins group.
Hope that made sense.
Richard
-----Original Message----- From: Henrik Stoerner [mailto:henrik at hswn.dk] Sent: Wednesday, January 03, 2007 3:45 PM To: hobbit at hswn.dk Subject: Re: [hobbit] Alert Per Filesystem Or Process
On Wed, Jan 03, 2007 at 03:39:06PM -0600, Richard Leon wrote:
Is there a way to configure an alert to go out per filesystem or per process?
In hobbit-clients.cfg:
DISK /home 80 90 GROUP=useradmins PROC vpnd GROUP=network
and in hobbit-alerts.cfg
GROUP=useradmins MAIL helpdesk at foo.org
GROUP=network MAIL noc at foo.org
Henrik
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
I searched the archive and found a few posts about monitoring nfs mounts.
But how can I ignore nfs mounts from showing up?
Weekly ignite backups mount a filesystem and unmount it.
I would like to ignore this filesystem on the clients but have it monitored on the server.
How can I go about this?
And also how can I delete the extra chart that it created today.
For now I just set the default higher so it would not page out.
Thanks
Richard
Hello,
I have tried different recommendations from the mailing list and I played around with different ways of ignoring some mount types.
There is two problems I always had:
- NFS/CIFS/SMB mounts hang/delay the "df" command if remote host does not respond
- Special devices should be ignored (CD/DVD/etc)
Now, I'm using the following method and as of now, it look like it work very well for me (mostly AIX or Linux environments)
*** If somebody has other ideas or think this could be done in a simpler ways, I would be glad to hear your comments. ***
My actual "method" if to catch only some vfs types from the "mount" command and pass the filesystem list to "df"
In the file /home/hobbit/client/bin/hobbitclient-aix.sh
################################################################################
Change to remove NFS and CIFS filesystems
#df -Ik | sed -e '/^[^ ][^ ]*$/{
df -Ik mount | awk '$3~/jfs/ {printf $2 " "}' | sed -e '/^[^ ][^ ]*$/{
################################################################################
Pierre
Richard Leon <rleon at racenter.com> 2007-01-04 07:39 Please respond to hobbit at hswn.dk
To hobbit at hswn.dk cc
Subject [hobbit] Ignore NFS
I searched the archive and found a few posts about monitoring nfs mounts. But how can I ignore nfs mounts from showing up?
Weekly ignite backups mount a filesystem and unmount it. I would like to ignore this filesystem on the clients but have it monitored on the server.
How can I go about this?
And also how can I delete the extra chart that it created today.
For now I just set the default higher so it would not page out.
Thanks Richard
Hi, do you have set the rights for hobbit-client.cfg? It needed write permissions for the Webserver, because it runs as an CGI script and not as the user you run hobbit. But i look against over my code eventuelly there was a bug, do you have an idea why it not work?
thx for help Stefan
participants (5)
-
henrik@hswn.dk
-
pmalenfa@malavix.com
-
rleon@racenter.com
-
stefan.freisler@aspect-online.de
-
tmelcher@saionline.com