doc:appunti:linux:sa:nagios_passivo
                Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| doc:appunti:linux:sa:nagios_passivo [2010/08/24 13:42] – niccolo | doc:appunti:linux:sa:nagios_passivo [2014/01/31 16:39] (current) – [Configurazione del server (Nagios)] niccolo | ||
|---|---|---|---|
| Line 11: | Line 11: | ||
| ===== Configurazione del server (Nagios) ===== | ===== Configurazione del server (Nagios) ===== | ||
| - | In Debian troviamo  | + | In Debian  | 
| La comunicazione tra client e server avviene in chiaro e senza password, se si vuole qualcosa di meglio editare il file ''/ | La comunicazione tra client e server avviene in chiaro e senza password, se si vuole qualcosa di meglio editare il file ''/ | ||
| Line 22: | Line 22: | ||
|     name            passive-service  |     name            passive-service  | ||
| ; referenced in other service definitions | ; referenced in other service definitions | ||
| - |     active_checks_enabled  | + |     active_checks_enabled  | 
|     passive_checks_enabled  |     passive_checks_enabled  | ||
|     parallelize_check  |     parallelize_check  | ||
| - | ; (disabling this can lead to major performance | + |                                         ; (disabling this can lead to major performance  | 
|     obsess_over_service  |     obsess_over_service  | ||
|     check_freshness  |     check_freshness  | ||
| - |     freshness_threshold  | + |     freshness_threshold  | 
|     notifications_enabled  |     notifications_enabled  | ||
|     event_handler_enabled  |     event_handler_enabled  | ||
| Line 60: | Line 60: | ||
| name bacula-service | name bacula-service | ||
|         use                              |         use                              | ||
| - |         freshness_threshold  | + |         freshness_threshold  | 
| + |         max_check_attempts  | ||
|         check_command  |         check_command  | ||
| + |         notification_interval  | ||
|         register  |         register  | ||
| } | } | ||
| </ | </ | ||
| + | |||
| + | Due parametri i fondamentali da configurare. Il primo è **freshness_threshold**: | ||
| Poi si aggiunge un finto host, che serve solo per raggruppare tutti i backup monitorati. Si può creare il file **''/ | Poi si aggiunge un finto host, che serve solo per raggruppare tutti i backup monitorati. Si può creare il file **''/ | ||
| Line 78: | Line 82: | ||
|         use                              |         use                              | ||
|         check_command  |         check_command  | ||
| - |         max_check_attempts  | ||
|         notification_interval  |         notification_interval  | ||
|         notification_period  |         notification_period  | ||
| Line 107: | Line 110: | ||
| Se la pipe non esiste i comandi vengono accodati al file **''/ | Se la pipe non esiste i comandi vengono accodati al file **''/ | ||
| + | ===== Problema di versione ===== | ||
| + | |||
| + | Attenzione alla **versione del client e del server nsca**! Debian Squeeze (nsca 2.7.2) e Debian Wheezy (nsca 2.9.1) non sono compatibili, | ||
| + | |||
| + | < | ||
| + | Dropping packet with invalid CRC32 - possibly due to client using wrong password or crypto algorithm? | ||
| + | </ | ||
| + | |||
| + | più comprensibile se la crittografia è disabilitata: | ||
| + | |||
| + | < | ||
| + | Received invalid packet type/ | ||
| + | </ | ||
| + | |||
| + | Per fortuna si trova il backport del pacchetto per Debian Squeeze. | ||
| ===== Configurazione del client (Bacula) ===== | ===== Configurazione del client (Bacula) ===== | ||
doc/appunti/linux/sa/nagios_passivo.1282650171.txt.gz · Last modified:  by niccolo
                
                