Nagios Appender 1.5.1

Robert Wolfe robert.wolfe at robertwolfe.org
Thu Mar 25 13:20:11 CET 2010


Try putting a space between "device" and "{"

 

From: Raymond Setchfield [mailto:raymond.setchfield at seewhy.com] 
Sent: Thursday, March 25, 2010 5:26 AM
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:rwolfe at i-evolve.com] 
Sent: 24 March 2010 18:00
To: nagios-users at 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.setchfield at seewhy.com] 
Sent: Wednesday, March 24, 2010 1:02 PM
To: nagios-users at 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 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20100325/8135c815/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
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
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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


More information about the Users mailing list