Service Dependencies - refer to self

moshe sharon moshesharon at gmail.com
Mon Feb 5 05:43:50 CET 2007


Hi

its pretty simple solution without perl script. create a service called NRPE

and enter the following check_command
command_name nrpe_version
command_line ./check_nrpe -H 212.150.36.20

when running this command against NRPE daemon you should get response "NRPE
v2.0"

now create your dependencies that this NRPE is the master server and the
other dependent on it.

Hope it Help

Moshe Sharon
http://www.centerity.com



On 2/4/07, Andy Shellam (Mailing Lists) <
andy.shellam-lists at mailnetwork.co.uk> wrote:
>
> Hugo van der Kooij wrote:
>
> On Sun, 4 Feb 2007, Andy Shellam (Mailing Lists) wrote:
>
>
>
> Is there any way to make a service dependency refer to the service's own
> host?
>
>
> In your case I would write a tiny script and generate the service
> dependencies. I guess some 20 lines of perl might do the trick if you are
> fluent in perl.
>
> Hugo.
>
>
>
>
> Thanks Hugo, I'll probably do it in PHP as I haven't touched Perl other
> than the very basics.
> Was just hoping there may have been an easier way I'd missed in the docs
> ;)
>
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job
> easier.
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> 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
>



-- 
Moshe Sharon
http://www.centerity.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20070205/380d43c0/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
-------------- 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