doc:appunti:linux:sa:nagios
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 [2014/03/11 11:55] – [Grafici di latenza del ping] niccolo | doc:appunti:linux:sa:nagios [2015/07/30 11:08] (current) – [check_mysql via NRPE] niccolo | ||
|---|---|---|---|
| Line 381: | Line 381: | ||
| < | < | ||
| - | command[check_mysql]=usr/ | + | command[check_mysql]=/usr/ |
| </ | </ | ||
| Line 516: | Line 516: | ||
| Ci sono varie modalità di raccogliere i // | Ci sono varie modalità di raccogliere i // | ||
| - | ===== Grafici | + | Vediamo ad esempio come attivare i **grafici |
| Attivare il demone in **''/ | Attivare il demone in **''/ | ||
| Line 525: | Line 525: | ||
| </ | </ | ||
| - | Infine | + | Il tipo di **servizio** si configura in questo modo: |
| + | |||
| + | < | ||
| + | define service { | ||
| + | hostgroup_name | ||
| + | service_description Ping | ||
| + | check_command | ||
| + | use | ||
| + | } | ||
| + | </ | ||
| + | |||
| + | conviene | ||
| < | < | ||
| Line 534: | Line 545: | ||
| use | use | ||
| } | } | ||
| + | </ | ||
| + | infine si definisce l' | ||
| + | |||
| + | < | ||
| define host { | define host { | ||
| - | host_name | + | host_name |
| address | address | ||
| use | use | ||
| + | } | ||
| + | |||
| + | define hostgroup { | ||
| + | hostgroup_name | ||
| + | members | ||
| } | } | ||
| </ | </ | ||
doc/appunti/linux/sa/nagios.1394535322.txt.gz · Last modified: (external edit)
