Passive service checks w/ alerts on no update?

Robert S. Galloway - Nagios nagios at the-galloways.us
Sat Feb 26 03:04:45 CET 2005


Jeff,

I have no idea what they do, but there are several scripts for NetBackup
monitoring on the NagiosExchange page here:

http://www.nagiosexchange.org/Misc.54.0.html?
&tx_netnagext_pi1[p_view]=22

Robert

On Fri, 2005-02-25 at 17:01 -0500, Jeff McCombs wrote:
> 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
> 



-------------------------------------------------------
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