Re: [Nagios-users] Determining the success or failure of external commands

2008-01-23 Thread Scott Sanders
A recurring flexible downtime is the solution I am currently using. However, my requirements have changed because certain tasks are not scheduled by time, but are instead triggered by other factors. So simply setting a recurring downtime window, or blacking out certain hours from the notification p

Re: [Nagios-users] Determining the success or failure of external commands

2008-01-23 Thread Aaron M. Segura
Can't you set flexible recurring downtime to solve this? Ie: If the MySQL Database goes down between Midnight and 4am, start a downtime window that last for 1 hour. If the DB is still down after an hour, send an alert. I wrote a PHP script you can use in cron to schedule such a downtime event:

Re: [Nagios-users] Determining the success or failure of external commands

2008-01-23 Thread Scott Sanders
Kyle, Yes, I have been following the thread you linked and saw some of the suggestions made. However, all of them seem "hackish" to me. Using NFS is not a good solution for me, because it reduces the portability of my scripts. For example, if a server that runs processes which disrupt monitored se

Re: [Nagios-users] Determining the success or failure of external commands

2008-01-23 Thread kyle . odonnell
Hi Scott, I'm in the process of doing something similar. I've come up with something that may help you. Read my thread entitle "nagios.cmd over nfs" http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_pi1[mode]=1&tx_maillisttofaq_pi1[showUid]=8571 If nfs isn't an option, Th

Re: [Nagios-users] Determining the success or failure of external commands

2008-01-23 Thread Scott Sanders
In my case, a backup job might take down a MySQL database for anywhere from 1 minute to 1 hour, depending on the size of the database. Because the time needed to perform the backup is flexible and the time when the backup might occur is not always known, I cannot simply set the affected services to

Re: [Nagios-users] Determining the success or failure of external commands

2008-01-23 Thread Andreas Ericsson
Scott Sanders wrote: > Hi, > > I am working on implementing some functionality that will allow me to safely > expose nagios.cmd to external hosts. In my environment there are maintenance > tasks that run periodically which disrupt certain services, causing nagios > to start generating alerts. Need

[Nagios-users] Determining the success or failure of external commands

2008-01-21 Thread Scott Sanders
Hi, I am working on implementing some functionality that will allow me to safely expose nagios.cmd to external hosts. In my environment there are maintenance tasks that run periodically which disrupt certain services, causing nagios to start generating alerts. Needless to say, I am tired of having