Re: [Nagios-users] host port setting
U have to explain your setup pretty well before I can advice. For example, a web server listens on port 80. A web browser connects to the web server on port 80 before communication can take place. How is your setup like? Lex On Wed, Dec 10, 2008 at 10:15 AM, Cherrington Stuart [EMAIL PROTECTED] wrote: Viktor, The nrpe.cfg file (in my install its in /etc/Nagios) hold the port number 5666, is this what you rlooking for? Thanks, Stuart Cherrington Unix Systems Admin Royal Holloway University Mobile: 07756 857607 -Original Message- From: Viktor Matys [mailto:[EMAIL PROTECTED] Sent: 10 December 2008 09:43 To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] host port setting 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 -- 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/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 -- 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 -- Alex Dehaini Developer Site - www.alexdehaini.com Email - [EMAIL PROTECTED] -- 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
Re: [Nagios-users] host port setting
I will advice you configure the nrpe daemon on the remote host to listen on which ever port you choose. After that, restart nagios on the monitoring host and use the plugin in the libexec directory to see if you can still talk to the remote server. To answer your question, I do not know of any directive to change the port number for nrpe on nagios. Perhaps it is harded coded in the plugin, perhaps not, you will only know after testing it. Lex On Wed, Dec 10, 2008 at 10:30 AM, Viktor Matys [EMAIL PROTECTED] wrote: Alex Dehaini napsal(a): U have to explain your setup pretty well before I can advice. For example, a web server listens on port 80. A web browser connects to the web server on port 80 before communication can take place. How is your setup like? Lex On Wed, Dec 10, 2008 at 10:15 AM, Cherrington Stuart [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Viktor, The nrpe.cfg file (in my install its in /etc/Nagios) hold the port number 5666, is this what you rlooking for? Hello, thanks The question is: Is there a configuration direcitive for Nagios to connect remote NRPE on a port nuber different from 5666? Do you know that directive? Thank you Viktor -- Tato zprava byla prohledana na vyskyt viru a nebezpecneho obsahu antivirovym systemem MailScanner a zda se byt cista. -- Alex Dehaini Developer Site - www.alexdehaini.com Email - [EMAIL PROTECTED] -- 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
Re: [Nagios-users] host port setting
Alex Dehaini wrote: A process/app as to listen/bind on a port before it can be used. That was the most irrelevant answer I've yet seen on this list, while still being 100% accurate. Are you by any chance a member of the microsoft customer support team? On Wed, Dec 10, 2008 at 9:42 AM, Viktor Matys [EMAIL PROTECTED] wrote: 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? To change the port-number check_nrpe will connect to, use the -p flag. check_nrpe --help would have told you so. I just filled it in to get a chance to be a bit rude up above without adding to the list-noise ;-) -- Andreas Ericsson [EMAIL PROTECTED] OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 -- 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
Re: [Nagios-users] host port setting
Hi, You can use the -p port parameter on check_nrpe Bo From: Alex Dehaini [mailto:[EMAIL PROTECTED] Sent: 10. december 2008 11:52 To: Viktor Matys Cc: Nagios Users Mailinglist Subject: Re: [Nagios-users] host port setting I will advice you configure the nrpe daemon on the remote host to listen on which ever port you choose. After that, restart nagios on the monitoring host and use the plugin in the libexec directory to see if you can still talk to the remote server. To answer your question, I do not know of any directive to change the port number for nrpe on nagios. Perhaps it is harded coded in the plugin, perhaps not, you will only know after testing it. Lex On Wed, Dec 10, 2008 at 10:30 AM, Viktor Matys [EMAIL PROTECTED]mailto:[EMAIL PROTECTED] wrote: Alex Dehaini napsal(a): U have to explain your setup pretty well before I can advice. For example, a web server listens on port 80. A web browser connects to the web server on port 80 before communication can take place. How is your setup like? Lex On Wed, Dec 10, 2008 at 10:15 AM, Cherrington Stuart [EMAIL PROTECTED]mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]mailto:[EMAIL PROTECTED] wrote: Viktor, The nrpe.cfg file (in my install its in /etc/Nagios) hold the port number 5666, is this what you rlooking for? Hello, thanks The question is: Is there a configuration direcitive for Nagios to connect remote NRPE on a port nuber different from 5666? Do you know that directive? Thank you Viktor -- Tato zprava byla prohledana na vyskyt viru a nebezpecneho obsahu antivirovym systemem MailScanner a zda se byt cista. -- Alex Dehaini Developer Site - www.alexdehaini.comhttp://www.alexdehaini.com Email - [EMAIL PROTECTED]mailto:[EMAIL PROTECTED] No virus found in this incoming message. Checked by AVG - http://www.avg.com Version: 8.0.176 / Virus Database: 270.9.16/1840 - Release Date: 09-12-2008 16:53 -- 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
Re: [Nagios-users] host port setting
On Wed, Dec 10, 2008 at 11:02 AM, Andreas Ericsson [EMAIL PROTECTED] wrote: Alex Dehaini wrote: A process/app as to listen/bind on a port before it can be used. That was the most irrelevant answer I've yet seen on this list, while still being 100% accurate. Are you by any chance a member of the microsoft customer support team? - lol, the beauty of mailing list is to allow people express themselves no, I don't work for microsoft On Wed, Dec 10, 2008 at 9:42 AM, Viktor Matys [EMAIL PROTECTED] wrote: 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? To change the port-number check_nrpe will connect to, use the -p flag. check_nrpe --help would have told you so. I just filled it in to get a chance to be a bit rude up above without adding to the list-noise ;-) -- Andreas Ericsson [EMAIL PROTECTED] OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 -- Alex Dehaini Developer Site - www.alexdehaini.com Email - [EMAIL PROTECTED] -- 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
Re: [Nagios-users] host port setting
A process/app as to listen/bind on a port before it can be used. On Wed, Dec 10, 2008 at 9:42 AM, Viktor Matys [EMAIL PROTECTED] wrote: 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 -- 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 -- Alex Dehaini Developer Site - www.alexdehaini.com Email - [EMAIL PROTECTED] -- 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
Re: [Nagios-users] host port setting
Viktor, The nrpe.cfg file (in my install its in /etc/Nagios) hold the port number 5666, is this what you rlooking for? Thanks, Stuart Cherrington Unix Systems Admin Royal Holloway University Mobile: 07756 857607 -Original Message- From: Viktor Matys [mailto:[EMAIL PROTECTED] Sent: 10 December 2008 09:43 To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] host port setting 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 -- 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 -- 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
Re: [Nagios-users] host port setting SOLVED
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_namesome_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