Hi all,
i have a problem in adding the F5 load balancer plugin. i added the plugin and added the associate "command". After that I tried to add it as a SERVICE on existing F5(it was added through wizard with Standard Network Device option) but below error prompt:
Error: Service has no hosts and/or service_description (config file '/usr/local/nagios/etc/services/10.20.2.141.cfg', starting on line 16)
Below is that cfg file which starting from line 16:
define service {
host_name 10.20.2.141
service_description Ping
use xiwizard_genericnetdevice_ping_service
max_check_attempts 5
check_interval 5
retry_interval 1
check_period xi_timeperiod_24x7
notification_interval 60
notification_period xi_timeperiod_24x7
notifications_enabled 0
_xiwizard genericnetdevice
register 1
}
Can anyone give me some hints? Thx.
Problem in adding the plugin as SERVICE
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Problem in adding the plugin as SERVICE
That is a fairly generic error, on the service that you created in XI, did you assign one of the generic service templates to it? That will take care of some basics, you need to make sure everything listed in red on the below page regarding service configurations is defined in your ccm configuration for that service:
http://nagios.sourceforge.net/docs/nagi ... ml#service
http://nagios.sourceforge.net/docs/nagi ... ml#service
Re: Problem in adding the plugin as SERVICE
Thank you slansing. As your hints, I found that I missed to add "Manage Hosts" and "Manage Templates". It now can be successfully apply the configuration(although still get warning on the said service).
Anyway. You gave me a great help, cheers.
Anyway. You gave me a great help, cheers.
Re: Problem in adding the plugin as SERVICE
What is the new error?TIO wrote:(although still get warning on the said service).
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.