Problem in adding the plugin as SERVICE

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
TIO
Posts: 2
Joined: Tue Oct 21, 2014 12:19 am

Problem in adding the plugin as SERVICE

Post by TIO »

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.
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

Post by slansing »

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
TIO
Posts: 2
Joined: Tue Oct 21, 2014 12:19 am

Re: Problem in adding the plugin as SERVICE

Post by TIO »

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.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Problem in adding the plugin as SERVICE

Post by abrist »

TIO wrote:(although still get warning on the said service).
What is the new error?
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.
Locked