Nagios config file syntax
Posted: Tue Apr 26, 2022 2:07 am
Hi
I need to know the name of Nagios config files syntax, and how to parsing.
An example of Nagios host define.
define host {
host_name bogus-router
alias Bogus Router #1
address 192.168.1.254
parents server-backbone
check_command check-host-alive
check_interval 5
retry_interval 1
max_check_attempts 5
check_period 24x7
process_perf_data 0
retain_nonstatus_information 0
contact_groups router-admins
notification_interval 30
notification_period 24x7
notification omegle shagle voojio_options d,u,r
}
Thanks.
I need to know the name of Nagios config files syntax, and how to parsing.
An example of Nagios host define.
define host {
host_name bogus-router
alias Bogus Router #1
address 192.168.1.254
parents server-backbone
check_command check-host-alive
check_interval 5
retry_interval 1
max_check_attempts 5
check_period 24x7
process_perf_data 0
retain_nonstatus_information 0
contact_groups router-admins
notification_interval 30
notification_period 24x7
notification omegle shagle voojio_options d,u,r
}
Thanks.