Nagios monitoring bacula - service dependencies

Jeronimo Zucco jczucco at ucs.br
Tue Dec 19 11:21:42 CET 2006


NOBODY KNOWS ???

Jeronimo Zucco escreveu:
> Hi, all.
>
>     I have problem using service dependencies. I have a backup server 
> (bacula), and I check status of backup through a mysql query ( 
> http://darcs.complete.org/debian/bacula.upstream/examples/nagios.txt ) 
> on server bacula using nrpe in server bacula.
>
>     I have many others servers with I do backups in bacula (like server1 
> below), then I check status of backup of this server, with this definition:
>
> define service{
>         use                             generic-service         ; Name 
> of service template to use
>         name                            TEMPLATE-REMOTE-BACULA-BACKUP
>         service_description             Backup
>         is_volatile                     0
>         check_period                    24x7
>         max_check_attempts              4
>         normal_check_interval           5
>         retry_check_interval            1
>         notification_options            w,u,c,r
>         notification_interval           0
>         notification_period             24x7
>         register                        0
>         }
>
> define service{
>         use                             TEMPLATE-REMOTE-BACULA-BACKUP
>         host_name            server1
>         contact_groups    admins
>         register                        1
>         check_command                   check_remote_bacula_server1Job
>         }
>
> define servicedependency{
>         host_name                       server1
>         service_description             Backup
>         dependent_host_name             bacula
>         dependent_service_description   PING
>         execution_failure_criteria      u,c
>         notification_failure_criteria   w,u,c
>         }
>
>     I configure service dependency because when I shutdown bacula/mysql 
> server, I got many notifications about backups. What is wrong in my 
> definition of service dependency ? I want no notifications when bacula 
> server is down.
>
> Thank you.
>
>   


-- 
Jeronimo Zucco
LPIC-1 Linux Professional Institute Certified
Núcleo de Processamento de Dados
Universidade de Caxias do Sul

http://jczucco.blogspot.com


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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