Viktor Matys napsal(a):
I have machine with NRPE server, where I needed change the port number
where the NRPE listens. It's simply allowed in configuration file. But I
cannot find out how to set this port number on main Nagios server, which
collects information from that remote NRPE server. Is there a
configuration directive I overlooked?
Thank for help
Viktor
Thank to everybody for help. Solution is:
We can put command line parameters in directive "address" in "define
host" statement:
# This is a nrpe remote server definition. NRPE is listening on port 5667.
# Tested on Debian Lenny.
define host {
host_name some_host
host_alias some_alias
*address host.domain.com -p 5667*
}
Thank again :o)
Viktor
--
Tato zprava byla prohledana na vyskyt viru
a nebezpecneho obsahu antivirovym systemem
MailScanner a zda se byt cista.
------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you. Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
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