Well, there is no check_command defined in the configuration you have
posted, but that also depends on the template virtual-passive-service.
Jonathan Wheeler
e-Science Centre
Rutherford Appleton Laboratory
From: Raymond Setchfield [mailto:raymond.setchfi...@seewhy.com]
Sent: 25 March 2010 09:26
To: 'Nagios Users List'
Subject: Re: [Nagios-users] Nagios Appender 1.5.1
Hi Robert & Martin
Here is the full config file from the HelloWorld.cfg
define service{
use virtual-passive-service
host_name production
service_description HelloWorldApplication
active_checks_enabled 0
passive_checks_enabled 1
normal_check_interval 5
retry_check_interval 3
check_period 24x7
contact_groups server_admin
}
Thanks for your help
Raymond
From: Robert Wolfe [mailto:rwo...@i-evolve.com]
Sent: 24 March 2010 18:00
To: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] Nagios Appender 1.5.1
Perhaps if you could post the entire service definition.
From: Raymond Setchfield [mailto:raymond.setchfi...@seewhy.com]
Sent: Wednesday, March 24, 2010 1:02 PM
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] Nagios Appender 1.5.1
Hi Folks
I am trying to follow the documentation on the Nagios Application
Monitoring and I am having a few issues which if someone could help me
resolve. I have copied the files VirtualHost.cfg and HelloWorld.cfg into
my objects folder and pointed nagios.cfg to look at them. I have altered
the files to suit my requirements etc.
Whilst doing the pre-flight checks it is flagging up an error;
Error: Service description, host name, or check command is NULL
Error: Could not register service (config file
'/usr/local/nagios/etc/objects/HelloWorld.cfg', starting on line 16)
Error processing object config files!
When checking line 16 of the HelloWorld it is this;
define service{
This appears to me that there is nothing wrong with it at all, but for
some reason Nagios doesn't like it. Can someone please help me on why
this isn't working? Or possibly point me in the direction of some
documentation on how to install this Appender properly?
Many Thanks
Raymond
--
Scanned by iCritical.
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting
any issue.
::: Messages without supporting info will risk being sent to /dev/null