Hi!
Are there any way to make XYmon run scripts on clients depending on alerts? I'm monitoring a bunch of services on windows 2003/2008 servers running bbwin, and I would like to run different scripts depending on which service is failing. Instead of just restarting the service, I would like to run a script to take care of the real reason of the failure.
Are there any way to do this with XYmon?
Mathias Carlsson
Are there any way to make XYmon run scripts on clients depending on alerts? I'm monitoring a bunch of services on windows 2003/2008 servers running bbwin, and I would like to run different scripts depending on which service is failing. Instead of just restarting the service, I would like to run a script to take care of the real reason of the failure.
Are there any way to do this with XYmon?
You could write an external script called from BBwin that checks the service status and calls the relevant script when it fails.
Malcolm
-- Technical copy-editor & proofreader
KDE Proofreading Team KDE British English Translation Team
http://l10n.kde.org/team-infos.php?teamcode=en_GB
Facebook: http://www.facebook.com/FriendlyAtheist
Jetzt kostenlos herunterladen: Internet Explorer 8 und Mozilla Firefox 3.5 - sicherer, schneller und einfacher! http://portal.gmx.net/de/go/chbrowser
Hello
is there a way to cleanup hostdata and histlogs automaticly? Lets say delete all files older than half a year or so. May I do that via OS or is there a special Hobbit-way to do it.
Thanks
Thorsten Erdmann
If you are not the intended addressee, please inform us immediately that you have received this e-mail in error, and delete it. We thank you for your cooperation.
Use the Hobbit trimhistory utility.
From: thorsten.erdmann at daimler.com
[mailto:thorsten.erdmann at daimler.com] Sent: 01 February 2010 13:41 To: hobbit at hswn.dk Subject: [hobbit] cleanup hostdata and histlogs
Hello
is there a way to cleanup hostdata and histlogs automaticly?
Lets say delete all files older than half a year or so. May I do that via OS or is there a special Hobbit-way to do it.
Thanks
Thorsten Erdmann
If you are not the intended addressee, please inform us
immediately that you have received this e-mail in error, and delete it. We thank you for your cooperation.
The information contained in this email is intended only for the use of the intended recipient at the email address to which it has been addressed. If the reader of this message is not an intended recipient, you are hereby notified that you have received this document in error and that any review, dissemination or copying of the message or associated attachments is strictly prohibited. If you have received this email in error, please contact the sender by return email or call 01793 877777 and ask for the sender and then delete it immediately from your system.Please note that neither the RWE Group of Companies nor the sender accepts any responsibility for viruses and it is your responsibility to scan attachments (if any).
On 02/01/2010 07:40 AM, thorsten.erdmann at daimler.com wrote:
Hello
is there a way to cleanup hostdata and histlogs automaticly? Lets say delete all files older than half a year or so. May I do that via OS or is there a special Hobbit-way to do it.
Thanks
Thorsten Erdmann
If you are not the intended addressee, please inform us immediately that you have received this e-mail in error, and delete it. We thank you for your cooperation.
Take a look at the trimhistory command.
-- Rich Smrcina Phone: 414-491-6001 http://www.linkedin.com/in/richsmrcina
Catch the WAVV! http://www.wavv.org WAVV 2010 - Apr 9-13, 2010 Covington, KY
On 02/01/2010 07:40 AM, thorsten.erdmann at daimler.com wrote:
Hello
is there a way to cleanup hostdata and histlogs automaticly? Lets say delete all files older than half a year or so. May I do that via OS or
is there a special Hobbit-way to do it.
Thanks
Thorsten Erdmann Take a look at the trimhistory command. Ok, trimhistory cleans up the histlogs, but not the hostdata. I did the following:
./trimhistory --cutoff=expr \date +%s\` - 31536000` --drop --droplogs
Can I simply delete the old hostdata files?
Thank you Thorsten Erdmann
If you are not the intended addressee, please inform us immediately that you have received this e-mail in error, and delete it. We thank you for your cooperation.
On 02/01/2010 08:49 AM, thorsten.erdmann at daimler.com wrote:
On 02/01/2010 07:40 AM, thorsten.erdmann at daimler.com wrote:
Hello
is there a way to cleanup hostdata and histlogs automaticly? Lets say delete all files older than half a year or so. May I do that via
OS or
is there a special Hobbit-way to do it.
Thanks
Thorsten Erdmann Take a look at the trimhistory command. Ok, trimhistory cleans up the histlogs, but not the hostdata. I did the following:
./trimhistory --cutoff=
expr \date +%s\` - 31536000` --drop --droplogsCan I simply delete the old hostdata files?
Thank you Thorsten Erdmann
If you are not the intended addressee, please inform us immediately that you have received this e-mail in error, and delete it. We thank you for your cooperation.
I suggest checking the list archive, but based on how much historical information you require I'm inclined to say yes.
-- Rich Smrcina Phone: 414-491-6001 http://www.linkedin.com/in/richsmrcina
Catch the WAVV! http://www.wavv.org WAVV 2010 - Apr 9-13, 2010 Covington, KY
Hi
I use the hobbit extension script dbcheck.pl for checking my oracle databases. Now for the first time one of my databases gets a tablespace full warning on the undo tablespace. dbcheck.pl says undotablespace is filled up to 99%. But Enterprise Manager says it's only 75%.
Further analysis shows that indeed dba_free_space is up to 99%. As I understand this, it does not make sense to check dba_free_space for undo tablespaces because dba_free_space only shows the free data at the end of a datafile, not the free blocks in the middle of the files (maybe this is also tru with tablespaces containing BLOBs).
So I think it would be more sensefull to ignore undo tablespaces in the tablespace check, therefor dbcheck has the undo-check. How can I filter out all the undo tablespaces without knowing their exact names in general. BTW: in the graph section of the tablespace-checks the undo tablespaces are missing already, why?
Another problem is the MemReq-check. It shows the sum of all errors since the beginning of time. I think this is more a database issue, but how can I clear the counter if I think I have repaired the cause?
Thank you
Thorsten Erdmann
If you are not the intended addressee, please inform us immediately that you have received this e-mail in error, and delete it. We thank you for your cooperation.
Hi Thorsten,
I am in the same situation, did u delete hostdata and does it create any other issues ?
Best Regards Kumaresh
On Mon, Feb 1, 2010 at 10:49 AM, <thorsten.erdmann at daimler.com> wrote:
On 02/01/2010 07:40 AM, thorsten.erdmann at daimler.com wrote:
Hello
is there a way to cleanup hostdata and histlogs automaticly? Lets say delete all files older than half a year or so. May I do that via OS or is there a special Hobbit-way to do it.
Thanks
Thorsten Erdmann
Take a look at the trimhistory command. Ok, trimhistory cleans up the histlogs, but not the hostdata. I did the following:
./trimhistory --cutoff=
expr \date +%s\` - 31536000` --drop --droplogsCan I simply delete the old hostdata files?
Thank you
Thorsten Erdmann
If you are not the intended addressee, please inform us immediately that you have received this e-mail in error, and delete it. We thank you for your cooperation.
Hi, On a linux client you I can use hobbitboard. I don't know if bbwin supports hobbitboard.
I use this script to restart devmon on a bbproxy:
#!/bin/sh
TEST=/home/bbmon/server/bin/bb IP_of_XYMON "hobbitdboard test=dm color=purple" | grep myhost
if [ -n "$TEST" ];
then
PID=cat /var/run/devmon/devmon.pid
echo $PID;
kill $PID;
sleep 30;
/usr/local/devmon/devmon
xm=1;
else
xm=0;
fi
#echo $xm
On Mon, Feb 1, 2010 at 8:36 AM, Malcolm Hunter <malcolm.hunter at gmx.co.uk>wrote:
Are there any way to make XYmon run scripts on clients depending on alerts? I'm monitoring a bunch of services on windows 2003/2008 servers running bbwin, and I would like to run different scripts depending on which service is failing. Instead of just restarting the service, I would like to run a script to take care of the real reason of the failure.
Are there any way to do this with XYmon?
You could write an external script called from BBwin that checks the service status and calls the relevant script when it fails.
Malcolm
-- Technical copy-editor & proofreader
KDE Proofreading Team KDE British English Translation Team
http://l10n.kde.org/team-infos.php?teamcode=en_GB
Facebook: http://www.facebook.com/FriendlyAtheist
Jetzt kostenlos herunterladen: Internet Explorer 8 und Mozilla Firefox 3.5
sicherer, schneller und einfacher! http://portal.gmx.net/de/go/chbrowser
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
participants (7)
-
Chris.Morris@rwe.com
-
malcolm.hunter@gmx.co.uk
-
Mathias.Carlsson@systeam.se
-
pnkumaresh@gmail.com
-
rower.master@gmail.com
-
rsmrcina@wi.rr.com
-
thorsten.erdmann@daimler.com