problem with passiv check
scott_yem at agilent.com
scott_yem at agilent.com
Thu Apr 14 16:58:12 CEST 2005
In addition to the other comments, did you really want to define this service as a template. Your comment at the bottom of "register 0" will do this. I don't know exactly how the system processes this, but in the Object Inheritance section of the documentation, the register function prevents the definition from being processed normally.
I am not sure if this helps, but I thought I would put my 2 cents into the discussion.
Scott Yem
-----Original Message-----
From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of christian gattermair
Sent: Thursday, April 14, 2005 7:34 AM
To: guillaume LOHEZ; nagios-users at lists.sourceforge.net
Subject: Re: [Nagios-users] problem with passiv check
thxfor your fast answer
this check is only passiv. the host is behind a firewall.
i am sure. tail brings me ever 10 sec. a massage like this:
1113469961] PROCESS_SERVICE_CHECK_RESULT;mciora02;mciora02;1;file backup
required but not available
looks fine for me ...
Am Donnerstag, 14. April 2005 11:31 schrieben Sie:
> Hi
>
> 2 hints from me:
> - Maybe you have to leave a check period instead of "none" even if
> you don't do active check....
> - check_freshness 100 means every 100 secondes local Nagios try to
> execute the check command if it doesn't receive any information from
> the remote host.
> Are you sure that your oracle server is sending information to Nagios at
> least every 95 secs ????
> Your service shoud be "critical" all the time as the command check_dummy
> should send "critical" to Nagios.
>
> That's what i see with the informations you send.
>
> Regards
> Guillaume
>
> christian gattermair a écrit :
> >hi!
> >
> >i want to controll a backup job of my oracle server. a java application.
> > for this i use nsjsd. it works perfekt i get in the file command.cfg:
> >
> >1113469961] PROCESS_SERVICE_CHECK_RESULT;mciora02;mciora02;1;file backup
> >required but not available
> >
> >in services.cfg:
> >
> >
> >define service{
> >
> >host_name mciora02
> >check_command check_dummy
> >service_description mciora02
> >check_period none
> >process_perf_data 1
> >notification_interval 0
> >notification_period 24x7
> >notification_options w,c,r
> >notifications_enabled 1
> >check_freshness 1
> >freshness_threshold 100
> >contact_groups db-admins
> >active_checks_enabled 0
> >passive_checks_enabled 1
> >max_check_attempts 5
> >retry_check_interval 1
> >register 0
> >
> >}
> >
> >but i can not see anything in nagios web frontend ....
> >
> >my system:
> >
> >debian sarge
> >nagios 1.3-cvs.20050116-4
> >
> >thx4help or any hint :-)
> >
> >greetz,
> >
> >chris
> >
> >
> >-------------------------------------------------------
> >SF email is sponsored by - The IT Product Guide
> >Read honest & candid reviews on hundreds of IT Products from real users.
> >Discover which products truly live up to the hype. Start reading now.
> >http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> >_______________________________________________
> >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
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=ick
_______________________________________________
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
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
_______________________________________________
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