Monitoring from the Hobbit Server for each client ?
list Dana Pearson
Hi, My site has 200 Linux servers. A Recovery Image file exists on a Linux Backup Server for every Linux server. The Backup server starts the process to create the Recovery Image and stores it on one of its filesystems. How can I display in Hobbit red/green alert for each Linux server when the file exists only on the backup server (not on each individual server). Can a script be run from the Hobbit server to display the status for each client ? Has someone got an example ? Regards Dana This email and any attachments may contain privileged and confidential information and are intended for the named addressee only. If you have received this e-mail in error, please notify the sender and delete this e-mail immediately. Any confidentiality, privilege or copyright is not waived or lost because this e-mail has been sent to you in error. It is your responsibility to check this e-mail and any attachments for viruses. No warranty is made that this material is free from computer virus or any other defect or error. Any loss/damage incurred by using this material is not the sender's responsibility. The sender's entire liability will be limited to resupplying the material.
list Josh Luthman
I'd guess start with making a variable ONSERVER and ONBACKUP and if both are not true or 1 then make the alert red.
▸
On 3/9/10, Dana Pearson <user-19b662a3e704@xymon.invalid> wrote:Hi, My site has 200 Linux servers. A Recovery Image file exists on a Linux Backup Server for every Linux server. The Backup server starts the process to create the Recovery Image and stores it on one of its filesystems. How can I display in Hobbit red/green alert for each Linux server when the file exists only on the backup server (not on each individual server). Can a script be run from the Hobbit server to display the status for each client ? Has someone got an example ? Regards Dana This email and any attachments may contain privileged and confidential information and are intended for the named addressee only. If you have received this e-mail in error, please notify the sender and delete this e-mail immediately. Any confidentiality, privilege or copyright is not waived or lost because this e-mail has been sent to you in error. It is your responsibility to check this e-mail and any attachments for viruses. No warranty is made that this material is free from computer virus or any other defect or error. Any loss/damage incurred by using this material is not the sender's responsibility. The sender's entire liability will be limited to resupplying the material.
--
Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX
“Success is not final, failure is not fatal: it is the courage to
continue that counts.”
--- Winston Churchill
list Bruce White
Dana,
A script run from the backup server which sends a status for each
individual server with a backup on the backup server. So you have a
list of servers with images on the backup server like:
servera
serverb
serverc
....
process the list in a loop like
for SVR in SERVERS
do
if [ -f $SVR.image];then
Color=green
STATMSG="Image file found OK!"
else
Color=red
STATMSG="Image file not found!"
fi
$BBCMD $BBDISP "status ${SVR}.image $Color $STATMSG"
done
In this way, each individual server gets an "image" test which shows the
status of that file on the backup server. The script is run fro the
xymon client on the backup server.
.......Bruce
Bruce White
Senior Enterprise Systems Engineer | Phone: XXX-XXX-XXXX | Fax: XXX-XXX-XXXX | user-58f975e8bf9d@xymon.invalid | http://www.fellowes.com/
Disclaimer: The information contained in this message may be privileged and confidential and protected from disclosure. If the reader of this message is not the intended recipient or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer. Thank you. Fellowes, Inc.
▸
From: Dana Pearson [mailto:user-19b662a3e704@xymon.invalid]
Sent: Tuesday, March 09, 2010 5:59 PM
To: 'user-ae9b8668bcde@xymon.invalid'
Subject: [hobbit] Monitoring from the Hobbit Server for each client ?
Hi,
My site has 200 Linux servers.
A Recovery Image file exists on a Linux Backup Server for every Linux
server.
The Backup server starts the process to create the Recovery Image and
stores it on one of its filesystems.
How can I display in Hobbit red/green alert for each Linux server when
the file exists only on the backup server (not on each individual
server).
Can a script be run from the Hobbit server to display the status for
each client ?
Has someone got an example ?
Regards
Dana
This email and any attachments may contain privileged and confidential
information and are intended for the named addressee only. If you have
received this e-mail in error, please notify the sender and delete
this e-mail immediately. Any confidentiality, privilege or copyright
is not waived or lost because this e-mail has been sent to you in
error. It is your responsibility to check this e-mail and any
attachments for viruses. No warranty is made that this material is
free from computer virus or any other defect or error. Any
loss/damage incurred by using this material is not the sender's
responsibility. The sender's entire liability will be limited to
resupplying the material.
list Dana Pearson
Hi, Thanks This looks like what I need. Regards Dana
▸
From: White, Bruce [mailto:user-58f975e8bf9d@xymon.invalid]
Sent: Wednesday, 10 March 2010 3:13 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: RE: [hobbit] Monitoring from the Hobbit Server for each client ?
Dana,
A script run from the backup server which sends a status for each individual server with a backup on the backup server. So you have a list of servers with images on the backup server like:
servera
serverb
serverc
....
process the list in a loop like
for SVR in SERVERS
do
if [ -f $SVR.image];then
Color=green
STATMSG="Image file found OK!"
else
Color=red
STATMSG="Image file not found!"
fi
$BBCMD $BBDISP "status ${SVR}.image $Color $STATMSG"
done
In this way, each individual server gets an "image" test which shows the status of that file on the backup server. The script is run fro the xymon client on the backup server.
.......Bruce
Bruce White
Senior Enterprise Systems Engineer | Phone: XXX-XXX-XXXX | Fax: XXX-XXX-XXXX | user-58f975e8bf9d@xymon.invalid | www.fellowes.com<http://www.fellowes.com/>; [cid:image001.jpg at 01CAC065.B8ECB170]
▸
Disclaimer: The information contained in this message may be privileged and confidential and protected from disclosure. If the reader of this message is not the intended recipient or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer. Thank you. Fellowes, Inc.
From: Dana Pearson [mailto:user-19b662a3e704@xymon.invalid]
Sent: Tuesday, March 09, 2010 5:59 PM
To: 'user-ae9b8668bcde@xymon.invalid'
Subject: [hobbit] Monitoring from the Hobbit Server for each client ?
Hi,
My site has 200 Linux servers.
A Recovery Image file exists on a Linux Backup Server for every Linux server.
The Backup server starts the process to create the Recovery Image and stores it on one of its filesystems.
How can I display in Hobbit red/green alert for each Linux server when the file exists only on the backup server (not on each individual server).
Can a script be run from the Hobbit server to display the status for each client ?
Has someone got an example ?
Regards
Dana
This email and any attachments may contain privileged and confidential
information and are intended for the named addressee only. If you have
received this e-mail in error, please notify the sender and delete
this e-mail immediately. Any confidentiality, privilege or copyright
is not waived or lost because this e-mail has been sent to you in
error. It is your responsibility to check this e-mail and any
attachments for viruses. No warranty is made that this material is
free from computer virus or any other defect or error. Any
loss/damage incurred by using this material is not the sender's
responsibility. The sender's entire liability will be limited to
resupplying the material.
This email and any attachments may contain privileged and confidential
information and are intended for the named addressee only. If you have
received this e-mail in error, please notify the sender and delete
this e-mail immediately. Any confidentiality, privilege or copyright
is not waived or lost because this e-mail has been sent to you in
error. It is your responsibility to check this e-mail and any
attachments for viruses. No warranty is made that this material is
free from computer virus or any other defect or error. Any
loss/damage incurred by using this material is not the sender's
responsibility. The sender's entire liability will be limited to
resupplying the material.