Created
August 19, 2019 07:27
-
-
Save realtebo/083d0f51cc752a56ec59bbf5d5f8f23a to your computer and use it in GitHub Desktop.
example config for a server without npa
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# this config file is an example of config file for handle | |
# remote host with nrpe insted of the new ncpa | |
# save this file on the controller, NOT on the controlled machine | |
define host { | |
host_name Server 212 | |
address 212.271.149.146 | |
check_command check-host-alive | |
max_check_attempts 5 | |
check_interval 5 | |
retry_interval 1 | |
check_period 24x7 | |
contacts nagiosadmin | |
notification_interval 60 | |
notification_period 24x7 | |
notifications_enabled 1 | |
icon_image debian.png | |
statusmap_image debian.png | |
register 1 | |
} | |
define service { | |
host_name Server 212 | |
service_description Sito www.blabblabla.it | |
servicegroups website | |
check_command check_http!-w 5 -c 10 --ssl -H www.blablabla.it | |
max_check_attempts 5 | |
check_interval 5 | |
retry_interval 1 | |
check_period 24x7 | |
notification_interval 60 | |
notification_period 24x7 | |
contacts nagiosadmin | |
register 1 | |
} | |
define service { | |
host_name Server 212 | |
service_description Certificato www.blablabla.it | |
servicegroups certificates | |
check_command check_http!-H www.blablabla.it -C 14 | |
max_check_attempts 5 | |
check_interval 60 | |
retry_interval 10 | |
check_period 24x7 | |
notification_interval 60 | |
notification_period 24x7 | |
contacts nagiosadmin | |
register 1 | |
} | |
define service { | |
host_name Server 212 | |
service_description Cpu Load | |
servicegroups cpu_load | |
check_command check_nrpe!check_load | |
max_check_attempts 5 | |
check_interval 5 | |
check_period 24x7 | |
notification_interval 60 | |
notification_period 24x7 | |
contacts nagiosadmin | |
register 1 | |
} | |
define service { | |
host_name Server 212 | |
service_description Root Partition | |
service_groups disks | |
check_command check_nrpe!check_root_partition | |
max_check_attempts 5 | |
check_interval 5 | |
check_period 24x7 | |
notification_interval 60 | |
notification_period 24x7 | |
contacts nagiosadmin | |
register 1 | |
} | |
define service { | |
host_name Server 212 | |
service_description Memory Usage | |
service_groups ram | |
check_command check_nrpe!check_mem | |
max_check_attempts 5 | |
check_interval 5 | |
check_period 24x7 | |
notification_interval 60 | |
notification_period 24x7 | |
contacts nagiosadmin | |
register 1 | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment