Passive service checks w/ alerts on no update?
Jeff McCombs
jeffm at nicusa.com
Fri Feb 25 23:01:01 CET 2005
Gang,
I'm trying to figure out the best way to monitor our NetBackup systems
via Nagios.
Right now, I've got it setup so that the netBackup backup_exit_notify,
sends updates to services on a per-client basis via nsca. Each host then has
a list of paths that are backed up as a "service", an example of how things
are configured is below..
define service{
use production-cdc
register 0
name generic-backup-service
service_description generic-backup-service
is_volatile 1
check_command check-host-alive
max_check_attempts 1
normal_check_interval 1
retry_check_interval 1
active_checks_enabled 0
passive_checks_enabled 1
check_period 24x7
obsess_over_service 0
notification_period 24x7
notification_options w,u,c,r
notifications_enabled 1
contact_groups nics-admin
}
Define service{
use generic-backup-service
service_description backup on /var
host_name hostA.mydomain.com,hostB.mydomain.com
}
Problem is, is that I'd like to be able to have a fallback position
incase the backup_exit_notify script ever fails to fire off.
Is there a way to setup Nagios so that "if passive service last update
was > (seconds|minutes|hours|days|weeks|whatever) ago, then generate an
alert" ?
Is that how freshness thresholds are supposed to be used, or am I way
off base?
-Jeff
--
Jeff McCombs | NIC, Inc
Systems Administrator | http://www.nicusa.com
jeffm at nicusa.com | NASDAQ: EGOV
Phone: (703) 909-3277 | "NIC - the People Behind eGovernment"
--
"Computers in the future may weigh no more than 1.5 tons"
- Popular Mechanics, 1949
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list