get alerts on a system rebootiing
Is there a way to get an alert when a system was rebooted?
This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email
Kevin Kelly wrote:
Is there a way to get an alert when a system was rebooted?
Not exactly... but you could create an alert rule for the host for COLOR=yellow on TEST=cpu for the host. The test will go yellow for a period after the machine is rebooted. You might get alerts if the CPU warning thresholds are exceeded unless you tune some settings in hobbit-clients.cfg. Is an option. -Alan
Alert on yellow I think?
Josh Luthman Office: 937-552-2340 Direct: 937-552-2343 1100 Wayne St Suite 1337 Troy, OH 45373
"When you have eliminated the impossible, that which remains, however improbable, must be the truth." --- Sir Arthur Conan Doyle
On Mon, Jun 29, 2009 at 4:11 PM, Kevin Kelly <kkelly at lifetouch.com> wrote:
Is there a way to get an alert when a system was rebooted?
This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email
I know that when one of mine reboot, I get alerts on CPU or Uptime (depending on which client they have installed). No config required other than alerting configuration.
On Mon, Jun 29, 2009 at 4:11 PM, Kevin Kelly <kkelly at lifetouch.com> wrote:
Is there a way to get an alert when a system was rebooted?
This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email
-- Stewart
An infinite number of mathematicians walk into a bar. The first one orders a beer. The second orders half a beer. The third, a quarter of a beer. The bartender says "You're all idiots", and pours two beers.
An HTML attachment was scrubbed... URL: <http://lists.xymon.com/pipermail/xymon/attachments/20090630/be7255b3/attachment.html>
Hi all...
Finally after a bit of time I was able to create a new version of the hobbit_perl_client (monitor of databases, netapp filers, bea WLS). The download also includes a patch for xymon servers related to graph display for version 4.2.3/4.3.0-beta2/4.4.0. You can find the download here: http://sourceforge.net/projects/hobbit-perl-cl/
What's changed in the last version:
General - v1.20
- Add +time on the status message only if HOBBIT is defined (don't use it for BB).
- Added patches for xymon 4.2.3 / 4.3.0-beta2 / 4.4.0
dbcheck.pl - v1.09
- Corrected a bug with custom checks running every time instead of running only when defined (fast|medium|slow).
- Added a check for mysql thread warning/alerts.
- Changed the tablespace report to show Size as the MaxSize of the Tablespace instead of the Allocated Space. The %Used is now calculated on the MaxSize and not on the Allocated Space so that you don't get alerts if the tablespace can grow with AutoExtend.
- Added tablespace checks for mysql and changed tablespace checks for sqlserver.
- Added a "version=8|9" for db2 database in the config file and changed some query to reflect the version.
netapp.pl - v1.20
- New tests included: vol status, aggr status, iscsi (various commands), nfsstat, lun (various commands), priority check on volumes, asis deduplication checks and reports.
- New report format for disk/inode/snapshot. In disk report you can see ASIS% and aggregate where the volume reside. In the inode and snapshot report you can see where the volumes reside. Before changing the new report mode for DF you MUST patch the xymon server or the rrd for disk graphs will not be created anymore
- Created new patches for xymon 4.2.3 and 4.3.0-beta2 and 4.4.0
- Added some instruction on README.bbhosts to divide tests on 2 or more rows (number of test is starting to be high to go on a single row).
- Added support for diskless gateway from Netapp (V-Series) and IBM (N-Series). You should add diskless=yes to the filer configuration.
- Changed display of df disk and snapshot space report to display as df -h instead of Kb.
- Corrected some bug related to Environment report on older NetApp filer
- Added a license check that will report as alert if there's any license that is expired on the filer and warning if a license will expire in less then the parameter "licensewarning" defined in the netapp.ini file (default is 30 days).
Great to hear, Francesco !
thanks a lot for your work and i will test & report it immediately ..
cheers, martin
On Tue, 30 Jun 2009, Francesco Duranti wrote:
Hi all...
Finally after a bit of time I was able to create a new version of the hobbit_perl_client (monitor of databases, netapp filers, bea WLS). The download also includes a patch for xymon servers related to graph display for version 4.2.3/4.3.0-beta2/4.4.0. You can find the download here: http://sourceforge.net/projects/hobbit-perl-cl/
What's changed in the last version:
General - v1.20
- Add +time on the status message only if HOBBIT is defined (don't use it for BB).
- Added patches for xymon 4.2.3 / 4.3.0-beta2 / 4.4.0
dbcheck.pl - v1.09
- Corrected a bug with custom checks running every time instead of running only when defined (fast|medium|slow).
- Added a check for mysql thread warning/alerts.
- Changed the tablespace report to show Size as the MaxSize of the Tablespace instead of the Allocated Space. The %Used is now calculated on the MaxSize and not on the Allocated Space so that you don't get alerts if the tablespace can grow with AutoExtend.
- Added tablespace checks for mysql and changed tablespace checks for sqlserver.
- Added a "version=8|9" for db2 database in the config file and changed some query to reflect the version.
netapp.pl - v1.20
- New tests included: vol status, aggr status, iscsi (various commands), nfsstat, lun (various commands), priority check on volumes, asis deduplication checks and reports.
- New report format for disk/inode/snapshot. In disk report you can see ASIS% and aggregate where the volume reside. In the inode and snapshot report you can see where the volumes reside. Before changing the new report mode for DF you MUST patch the xymon server or the rrd for disk graphs will not be created anymore
- Created new patches for xymon 4.2.3 and 4.3.0-beta2 and 4.4.0
- Added some instruction on README.bbhosts to divide tests on 2 or more rows (number of test is starting to be high to go on a single row).
- Added support for diskless gateway from Netapp (V-Series) and IBM (N-Series). You should add diskless=yes to the filer configuration.
- Changed display of df disk and snapshot space report to display as df -h instead of Kb.
- Corrected some bug related to Environment report on older NetApp filer
- Added a license check that will report as alert if there's any license that is expired on the filer and warning if a license will expire in less then the parameter "licensewarning" defined in the netapp.ini file (default is 30 days).
On Tuesday 30 June 2009 17:09:20 Francesco Duranti wrote:
Hi all...
Finally after a bit of time I was able to create a new version of the hobbit_perl_client (monitor of databases, netapp filers, bea WLS). The download also includes a patch for xymon servers related to graph display for version 4.2.3/4.3.0-beta2/4.4.0. You can find the download here: http://sourceforge.net/projects/hobbit-perl-cl/
I see you created an svn repo ... I would feel much more comfortable if there was more of an appearance of code maintenance. We made some changes to dbcheck.pl on the version we use internally, since there was no activity on this project for a few years ....
If a VCS is available, I will try and see if any of the changes are still applicable.
Regards, Buchan
I know it was my fault but I didn't had the time to work on hobbit_perl_client for quite a long period of time. Now it seems that I start to have back some time to work on it so I created the new version and I had also the intention of putting all the source on the svn. I tried to implement also some of the patches I received in the last years. The code regarding dbcheck.pl is not changed much so probably all the patches you have could be implemented (I just changed something on the tablespace view and for sqlserver/mysql).
On the db-side I'm not a database expert so every change/new functionality would be really appreciated :)
In the next weeks I'll probably also add a new program to the hobbit_perl_client to check jboss server... more on this as soon as I have something "usable" on hand...
Regards, Francesco
-----Original Message----- From: Buchan Milne [mailto:bgmilne at staff.telkomsa.net] Sent: mercoledì 1 luglio 2009 9.55 To: hobbit at hswn.dk Cc: Francesco Duranti Subject: Re: [hobbit] Hobbit_Perl_Client v1.20
On Tuesday 30 June 2009 17:09:20 Francesco Duranti wrote:
Hi all...
Finally after a bit of time I was able to create a new version of the hobbit_perl_client (monitor of databases, netapp filers, bea WLS). The download also includes a patch for xymon servers related to graph display for version 4.2.3/4.3.0-beta2/4.4.0. You can find the download here: http://sourceforge.net/projects/hobbit-perl-cl/
I see you created an svn repo ... I would feel much more comfortable if there was more of an appearance of code maintenance. We made some changes to dbcheck.pl on the version we use internally, since there was no activity on this project for a few years ....
If a VCS is available, I will try and see if any of the changes are still applicable.
Regards, Buchan
On Wednesday 01 July 2009 10:10:07 Francesco Duranti wrote:
I know it was my fault but I didn't had the time to work on hobbit_perl_client for quite a long period of time. Now it seems that I start to have back some time to work on it so I created the new version and I had also the intention of putting all the source on the svn. I tried to implement also some of the patches I received in the last years. The code regarding dbcheck.pl is not changed much so probably all the patches you have could be implemented (I just changed something on the tablespace view and for sqlserver/mysql).
On the db-side I'm not a database expert so every change/new functionality would be really appreciated :)
In the next weeks I'll probably also add a new program to the hobbit_perl_client to check jboss server... more on this as soon as I have something "usable" on hand...
I might be worthwhile considering refactoring some of the code, and putting it under a Xymon namespace, and making an official Xymon perl framework.
I have a few other perl checks, and could probably have benefited from some routines, but didn't want to add a new dependency. However, if we make an official perl library that ships with Xymon, it would be less of an issue ...
Regards, Buchan
It would really be nice to have it included in this way so that anyone that want to develop something with perl for xymon can use a unique set of utility/libraries... The biggest problem will probably the lack of documentation (I'm not very good at it) ... but I will probably put some documentation/commenting on the source code very soon... I know that the code is not so clean but I'm also really new with perl (and probably many of the function/procedure could be written better by someone that know the language more then me :).
I will try to put the project on svn soon (in the next few day) and I'll try to start to work with it (I don't know anything about svn so I have to read some docs on how to do those things...).
Francesco
-----Original Message----- From: Buchan Milne [mailto:bgmilne at staff.telkomsa.net] Sent: mercoledì 1 luglio 2009 11.14 To: hobbit at hswn.dk Cc: Francesco Duranti Subject: Re: [hobbit] Hobbit_Perl_Client v1.20 I might be worthwhile considering refactoring some of the code, and putting it under a Xymon namespace, and making an official Xymon perl framework.
I have a few other perl checks, and could probably have benefited from some routines, but didn't want to add a new dependency. However, if we make an official perl library that ships with Xymon, it would be less of an issue ...
Regards, Buchan
Hi all... this is a bugfix release... if you applied the patch on xymon 4.2.3 please really this patch, there was a bug related to how disk/inode data was handled. This version should also fix another problem with rrd files and qtree and some more little bugs.
netapp.pl - v1.21
- Corrected some bugs related to xtstats function
- Corrected a bug related to the linecount for snapshot view
- Corrected a bug related to the new option for the extended df (netapp.pl was ignoring the netapp.ini option)
- Corrected a bug in the patch for 4.2.3 that cause errors in the hobbit_rrd processes
- Corrected the size of the volname of qtree volume and a bug related with the header line that was incorrectly recognized as a filesystem
From: Francesco Duranti [mailto:fduranti at q8.it] Sent: martedì 30 giugno 2009 17.09 To: hobbit at hswn.dk Subject: [hobbit] Hobbit_Perl_Client v1.20
Hi all...
Finally after a bit of time I was able to create a new version of the hobbit_perl_client (monitor of databases, netapp filers, bea WLS). The download also includes a patch for xymon servers related to graph display for version 4.2.3/4.3.0-beta2/4.4.0. You can find the download here: http://sourceforge.net/projects/hobbit-perl-cl/
What's changed in the last version:
General - v1.20
- Add +time on the status message only if HOBBIT is defined (don't use it for BB).
- Added patches for xymon 4.2.3 / 4.3.0-beta2 / 4.4.0
dbcheck.pl - v1.09
- Corrected a bug with custom checks running every time instead of running only when defined (fast|medium|slow).
- Added a check for mysql thread warning/alerts.
- Changed the tablespace report to show Size as the MaxSize of the Tablespace instead of the Allocated Space. The %Used is now calculated on the MaxSize and not on the Allocated Space so that you don't get alerts if the tablespace can grow with AutoExtend.
- Added tablespace checks for mysql and changed tablespace checks for sqlserver.
- Added a "version=8|9" for db2 database in the config file and changed some query to reflect the version.
netapp.pl - v1.20
- New tests included: vol status, aggr status, iscsi (various commands), nfsstat, lun (various commands), priority check on volumes, asis deduplication checks and reports.
- New report format for disk/inode/snapshot. In disk report you can see ASIS% and aggregate where the volume reside. In the inode and snapshot report you can see where the volumes reside. Before changing the new report mode for DF you MUST patch the xymon server or the rrd for disk graphs will not be created anymore
- Created new patches for xymon 4.2.3 and 4.3.0-beta2 and 4.4.0
- Added some instruction on README.bbhosts to divide tests on 2 or more rows (number of test is starting to be high to go on a single row).
- Added support for diskless gateway from Netapp (V-Series) and IBM (N-Series). You should add diskless=yes to the filer configuration.
- Changed display of df disk and snapshot space report to display as df -h instead of Kb.
- Corrected some bug related to Environment report on older NetApp filer
- Added a license check that will report as alert if there's any license that is expired on the filer and warning if a license will expire in less then the parameter "licensewarning" defined in the netapp.ini file (default is 30 days).
participants (8)
-
asparks@doublesparks.net
-
bgmilne@staff.telkomsa.net
-
fduranti@q8.it
-
josh@imaginenetworksllc.com
-
kkelly@lifetouch.com
-
martin.flemming@desy.de
-
Martin.Ward@colt.net
-
stewartl42@gmail.com