In Nagios
xi, the service defined in Nagios Network Analyzer will show up in Nagios
xi under the "Unconfigured Objects", so it's pretty much straight forward process. For example, here's what I have in my Nagios NA and Nagios
xi + configs.
example01.PNG
example02.PNG
Code: Select all
define service {
host_name test-host
service_description test-service
use xiwizard_passive_service
max_check_attempts 1
check_interval 1
retry_interval 1
check_period xi_timeperiod_24x7
notification_interval 60
notification_period xi_timeperiod_24x7
notifications_enabled 0
contacts nagiosadmin
stalking_options n
_xiwizard passiveobject
register 1
}
Code: Select all
define service {
name xiwizard_passive_service
service_description Passive Service
use xiwizard_generic_service
check_command check_dummy!0!"No data received yet."!!!!!!
is_volatile 0
initial_state o
max_check_attempts 1
active_checks_enabled 0
passive_checks_enabled 1
flap_detection_enabled 0
stalking_options o,w,c,u,
register 0
}
Code: Select all
define service {
name xiwizard_generic_service
service_description xiwizard_generic_service
check_command check_xi_service_none
is_volatile 0
max_check_attempts 5
check_interval 5
retry_interval 1
active_checks_enabled 1
passive_checks_enabled 1
check_period xi_timeperiod_24x7
parallelize_check 1
obsess_over_service 1
check_freshness 0
event_handler_enabled 1
flap_detection_enabled 1
process_perf_data 1
retain_status_information 1
retain_nonstatus_information 1
notification_interval 60
first_notification_delay 0
notification_period xi_timeperiod_24x7
notification_options w,c,u,r,f,s,
notifications_enabled 1
register 0
}
In Nagios Core, you will need to create the config manually. Hopefully, you can use this as an example.
You do not have the required permissions to view the files attached to this post.