[Nagios-users] Nagios and SELinux issue

2008-12-10 Thread Kenneth Holter
Hello list.


We're running Nagios 3.0.3 on RHEL 5, and are having an issue with SELinux.
A symptom I have noticed it that acknowledging a problem results in the
following error:

*Error: Could not stat() command file '/usr/local/nagios/var/rw/nagios.cmd'
*

We need to keep SELinux active on the server, so I'll have to configure it
to allow for Nagios. Does anyone know what needs to be done to do this?


Regards,
Kenneth Holter
--
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] Setting up guest user for nagios

2008-12-10 Thread Kenneth Holter
I already added a guest entry in that file, but thansk anyway. Everything
seems to be working correctly.

On 12/10/08, Ian Masters [EMAIL PROTECTED] wrote:

  I've ensured that user guest is only included in these two lists:
 
  * authorized_for_all_services=usernagios,guest
  * authorized_for_all_hosts=usernagios,guest

 That sorts out the nagios configuration side of things.

 You'll also need to add an entry to /usr/local/nagios/etc/htpasswd.users
 so that the guest user can authenticate before accessing the web
 interface as per:

 http://nagios.sourceforge.net/docs/3_0/cgiauth.html

 HTH

 IM

 --
 Nagios 3.0.4 (with plugins v1.4.13) on CentOS 5.2


--
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

[Nagios-users] Network and machine resource consumption for Nagios

2008-12-10 Thread Kenneth Holter
Hi.


Is there any resource consumption with regards to network or server/client
machines to worry about when running Nagios? We're running active checks,
i.e. the Nagios server uses SSH to run plugins on the client side and gather
the information.

I guessing that the per service per check interval load on the network is a
matter of a couple of very small packets travelling between the Nagios
server and the Nagios client. And on the client side it is only a matter of
running small, simple scripts that causes very little processing overhead.
Thus, all in all there shouldn't be much of a overhead to talk about when
running Nagios? Of course, it all depends on the check interval and the
number of checks, and if anyone knows any nagios check per
processing/network capacity ratio please speak up.


Regards,
Kenneth
--
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] Nagios and SELinux issue

2008-12-10 Thread Ian Masters
Kenneth Holter wrote:
 We're running Nagios 3.0.3 on RHEL 5, and are having an issue with 
 SELinux. A symptom I have noticed it that acknowledging a problem 
 results in the following error:
 
 /Error: Could not stat() command file
 '/usr/local/nagios/var/rw/nagios.cmd' /
 
 We need to keep SELinux active on the server, so I'll have to configure 
 it to allow for Nagios. Does anyone know what needs to be done to do this?

Did you see http://nagios.sourceforge.net/docs/3_0/quickstart-fedora.html

Especially the heading:
8) Modify SELinux Settings

IM


--
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] Nagios and SELinux issue

2008-12-10 Thread Alex Dehaini
H,

You have to hit the Selinux docs to help. I usually just disable Selinux.

Lex

On Wed, Dec 10, 2008 at 8:54 AM, Ian Masters [EMAIL PROTECTED] wrote:

 Kenneth Holter wrote:
  We're running Nagios 3.0.3 on RHEL 5, and are having an issue with
  SELinux. A symptom I have noticed it that acknowledging a problem
  results in the following error:
 
  /Error: Could not stat() command file
  '/usr/local/nagios/var/rw/nagios.cmd' /
 
  We need to keep SELinux active on the server, so I'll have to configure
  it to allow for Nagios. Does anyone know what needs to be done to do
 this?

 Did you see http://nagios.sourceforge.net/docs/3_0/quickstart-fedora.html

 Especially the heading:
 8) Modify SELinux Settings

 IM



 --
 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] Nagios and SELinux issue

2008-12-10 Thread Kenneth Holter
Thanks - I missed this part during installation. I'll give it a read.

On 12/10/08, Ian Masters [EMAIL PROTECTED] wrote:

 Kenneth Holter wrote:
  We're running Nagios 3.0.3 on RHEL 5, and are having an issue with
  SELinux. A symptom I have noticed it that acknowledging a problem
  results in the following error:
 
  /Error: Could not stat() command file
  '/usr/local/nagios/var/rw/nagios.cmd' /
 
  We need to keep SELinux active on the server, so I'll have to configure
  it to allow for Nagios. Does anyone know what needs to be done to do
 this?

 Did you see http://nagios.sourceforge.net/docs/3_0/quickstart-fedora.html

 Especially the heading:
 8) Modify SELinux Settings

 IM


--
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] Nagios and SELinux issue

2008-12-10 Thread Alex Dehaini
There should be an option in Selinux to allow certain network services run.
Try and narrow your search around that area.

Lex

On Wed, Dec 10, 2008 at 9:41 AM, Kenneth Holter [EMAIL PROTECTED]wrote:


 Thanks - I missed this part during installation. I'll give it a read.

 On 12/10/08, Ian Masters [EMAIL PROTECTED] wrote:

 Kenneth Holter wrote:
  We're running Nagios 3.0.3 on RHEL 5, and are having an issue with
  SELinux. A symptom I have noticed it that acknowledging a problem
  results in the following error:
 
  /Error: Could not stat() command file
  '/usr/local/nagios/var/rw/nagios.cmd' /
 
  We need to keep SELinux active on the server, so I'll have to configure
  it to allow for Nagios. Does anyone know what needs to be done to do
 this?

 Did you see http://nagios.sourceforge.net/docs/3_0/quickstart-fedora.html

 Especially the heading:
 8) Modify SELinux Settings

 IM




 --
 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

[Nagios-users] host port setting

2008-12-10 Thread Viktor Matys
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


Re: [Nagios-users] host port setting

2008-12-10 Thread Alex Dehaini
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

2008-12-10 Thread Alex Dehaini
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

2008-12-10 Thread Andreas Ericsson
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

2008-12-10 Thread Bo Philip Larsen
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

2008-12-10 Thread Alex Dehaini
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] Nagios and AAI (Shibboleth)

2008-12-10 Thread Marcus
Alessandro Usai schrieb:
 I would like to know if it is possible
 to manage access to Nagios using
 Shibboleth and the AAI attributes, and if so
 whether there is any documentation about it.
 Has anyone a similar user case?

My ex-colleague did this :-), so it's possible. Nagios uses the 
htaccess-username by default, so you have to map the shibboleth user to 
that attribute.
Sorry, not very technical, I know. Thats because I just sat next to my 
colleague, when she hacked the solution, and didn't do it myself.

Greetz
  Marcus


--
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

2008-12-10 Thread Alex Dehaini
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

2008-12-10 Thread Cherrington Stuart
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

2008-12-10 Thread Viktor Matys

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

Re: [Nagios-users] Nrpe and windows

2008-12-10 Thread Maxwell,Brady
We are currently setting up a second proxy and are going to split the
checks between them. I am not sure I like that solution but were going
to try it and see if it helps.

-Brady

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] 
Sent: Tuesday, December 09, 2008 10:44 PM
To: Maxwell,Brady; nagios-users@lists.sourceforge.net
Subject: RE: [Nagios-users] Nrpe and windows


Brady,

You can use NSclient++ also add a few more NSclient++ proxies.
Write a wrapper script around check_nt to use multiple proxies instead
of one.

Regards,
Naren

-Original Message-
From: Maxwell,Brady [mailto:[EMAIL PROTECTED]
Sent: Wed 12/10/2008 2:05 AM
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] Nrpe and windows

I have some questions for the group about nagios, nrpe, nrpe_nt.exe and
windows.
Some Background:
We are currently using check_nrpe to send checks to an nrpe_nt.exe which
then runs checks on about 350 windows servers and returns the output to
nagios one service at a time, a total of about 1500 checks run this way.
The servers are all one-offs and are not part of a ad auth domain.

We have have issues like [No output available from command...]: 128 on
our nrpe proxy. Rebooting the proxy server seems to fix this issue.
According to what I have found via google there is some speculation that
nrpe_nt.exe is not letting go of tcp ports it uses. I do not buy it.

Since nrpe_nt.exe is not a current project anymore I was thinking maybe
its time to find a new solution to check these servers.

Is anyone using a similar configuration? Does anyone know of a more
current project that can facilitate the same monitoring architecture?


Thanks
Brady



Please do not print this email unless it is absolutely necessary. 

The information contained in this electronic message and any attachments
to this message are intended for the exclusive use of the addressee(s)
and may contain proprietary, confidential or privileged information. If
you are not the intended recipient, you should not disseminate,
distribute or copy this e-mail. Please notify the sender immediately and
destroy all copies of this message and any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient
should check this email and any attachments for the presence of viruses.
The company accepts no liability for any damage caused by any virus
transmitted by this email. 

www.wipro.com 



--
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] Nagios and SELinux issue

2008-12-10 Thread Chris Beattie
-Original Message-
Kenneth Holter wrote:
 We're running Nagios 3.0.3 on RHEL 5, and are having an issue with
 SELinux. A symptom I have noticed it that acknowledging a problem
 results in the following error:

 /Error: Could not stat() command file
 '/usr/local/nagios/var/rw/nagios.cmd' /

 We need to keep SELinux active on the server, so I'll have to
 configure
 it to allow for Nagios. Does anyone know what needs to be done to do
 this?

I kept SELinux in Enforcing mode on CentOS 5.2, so hopefully this will
be similar.

Create a file called mynagios.te, and put this in there:

module mynagios 1.0;

require {
type initrc_tmp_t;
type httpd_sys_script_t;
type usr_t;
type ping_t;
type httpd_t;
type unlabeled_t;
class file execute_no_trans;
class association recvfrom;
class file execute;
class file { read write };
class fifo_file write;
class fifo_file getattr;
}

#= httpd_t ==
allow httpd_t usr_t:file execute_no_trans;
allow httpd_t usr_t:file execute;

#= unlabeled_t ==
allow unlabeled_t self:association recvfrom;

#= httpd_sys_script_t ==
allow httpd_sys_script_t usr_t:fifo_file write;
allow httpd_sys_script_t usr_t:fifo_file getattr;

#= ping_t ==
allow ping_t initrc_tmp_t:file { read write };


To arrive at these settings, I ran Nagios with Enforcing turned on, and
clicked on all the links in the side bar, and tried to do stuff like
send acknowledgements.  You can use audit2allow to generate the type
enforcement file above from the audit.log file.  I kept finding things
I'd missed, so the above is the result of several iterations of
audit2allow and merging copies of their output into one file:

#audit2allow -m mynagios -l -i audit.log  mynagios.te
(Make a backup copy of the .te file somewhere in case you miss something
the first time around)
#gedit mynagios.te (to merge in the settings from the previous .te
file's backup)
#checkmodule -M -m -o mynagios.mod mynagios.te 
#semodule_package -o mynagios.pp -m mynagios.mod 
#semodule -i mynagios.pp

You can verify your mynagios policy package has been installed with:
#semodule -l

There was already a Nagios policy package installed on CentOS by
default, but it didn't work for me.  Maybe it was because I installed
Nagios from source instead of using a package.  Anyway, that's why I
called it mynagios, so that it didn't collide with the provided Nagios
package.


Nothing in this message is intended to make or accept and offer or to form a 
contract, except that an attachment that is an image of a contract bearing the 
signature of an officer of our company may be or become a contract. This 
message (including any attachments) is intended only for the use of the 
individual or entity to whom it is addressed. It may contain information that 
is non-public, proprietary, privileged, confidential, and exempt from 
disclosure under applicable law or may constitute as attorney work product. If 
you are not the intended recipient, we hereby notify you that any use, 
dissemination, distribution, or copying of this message is strictly prohibited. 
If you have received this message in error, please notify us immediately by 
telephone and delete this message immediately.

Thank you.

--
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] How to reduce a very high latency number

2008-12-10 Thread Miroslaw Horbal
Have you tried modifying the OCSP command? More specifically, have you
optimized the command to have the lowest possible runtime. I noticed
that only one instance of the OCSP command is executed at a time and
this can lead to very high latencies when a large number of checks are
queued for submission.

In our environment the OCSP command took approximately 0.7seconds to
run - so with 100 checks there would be approximately 70seconds where
nagios is submitting results. It's pretty easy to see how this can
lead to performance issues as the number of checks increases.

Our OCSP command is submit_check_results is very similar to the one
shown in the nagios docs
(http://nagios.sourceforge.net/docs/3_0/distributed.html).

Notice the last line:
'''
 /bin/printf %s\t%s\t%s\t%s\n $1 $2 $return_code $4 |
/usr/local/nagios/bin/send_nsca -H central_server -c
/usr/local/nagios/etc/send_nsca.cfg
'''
In this version, the submit_check_result script has to wait for the
send_nsca command to execute before the script can exit. If send_nsca
takes 0.6seconds to send the check results and receive confirmation
that the packet has been sent then the submit_check_result script has
to wait at least 0.6seconds before exiting.

Now consider this modified line:
'''
 /bin/printf %s\t%s\t%s\t%s\n $1 $2 $return_code $4 |
/usr/local/nagios/bin/send_nsca -H central_server -c
/usr/local/nagios/etc/send_nsca.cfg  /dev/null 
'''
In this version, submit_check_result will run send_nsca in the
background (similar to forking the process). This time
submit_check_result will only execute send_nsca, but it will not wait
for send_nsca to finish running. This effectivly reduces the runtime
of submit_check_result to about 0.02seconds which is a huge
improvement compared to 0.7seconds.

Now lets look at the numbers:
Before I modified submit_check_results our average service check
latency was 160seconds. After modifying the script latency dropped
down to 1second.

Hope this helps,
beegie_b

--
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


[Nagios-users] SQL to read service configuration from mysql DB

2008-12-10 Thread Mohr James
Hi All!

I am trying to put together an SQL query to read the MySQL NDO DB in
order to get the same kind of information that the web GUI provides
under the Configuration link. I was hoping that someone already had
written the query so I would not have to re-invent the wheel. Any input
is appreciated.

regards,

Jim Mohr


--
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] How to reduce a very high latency number

2008-12-10 Thread Sean McAfee
Miroslaw Horbal wrote:

 In this version, submit_check_result will run send_nsca in the
 background (similar to forking the process). This time
 submit_check_result will only execute send_nsca, but it will not wait
 for send_nsca to finish running. This effectivly reduces the runtime
 of submit_check_result to about 0.02seconds which is a huge
 improvement compared to 0.7seconds.
Something about using shell level job control rubs me the wrong way. 

We reduced our latency to similar levels using the OCP Daemon documented 
here: http://www.nagioscommunity.org/wiki/index.php/OCP_Daemon

-- 
Sean McAfee
System Engineer

Collaborative Fusion, Inc.
 [EMAIL PROTECTED]
 412-422-3463 x 4025

5849 Forbes Avenue
Pittsburgh, PA 15217


IMPORTANT: This message contains confidential information
and is intended only for the individual named. If the reader of
this message is not an intended recipient (or the individual
responsible for the delivery of this message to an intended
recipient), please be advised that any re-use, dissemination,
distribution or copying of this message is prohibited. Please
notify the sender immediately by e-mail if you have received
this e-mail by mistake and delete this e-mail from your system.
E-mail transmission cannot be guaranteed to be secure or
error-free as information could be intercepted, corrupted, lost,
destroyed, arrive late or incomplete, or contain viruses. The
sender therefore does not accept liability for any errors or
omissions in the contents of this message, which arise as a
result of e-mail transmission.





IMPORTANT: This message contains confidential information and is intended only 
for the individual named. If the reader of this message is not an intended 
recipient (or the individual responsible for the delivery of this message to an 
intended recipient), please be advised that any re-use, dissemination, 
distribution or copying of this message is prohibited. Please notify the sender 
immediately by e-mail if you have received this e-mail by mistake and delete 
this e-mail from your system.



--
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


[Nagios-users] problems with action_url/notes_url URL truncation

2008-12-10 Thread Eric Pearce
Sorry if this in the docs or FAQ - I didn't see it if it is.
I'm running nagios 3.0.6 and 1.4.13 plugins.
I want to have a URL in the email host notification that would allow me to 
connect to an Avocent KVM switch.  This is what I have for the host definition:


define host{
use generic-host
host_name   dbtest
alias   dbtest
contact_groups  buildpeople
action_url  
https://kvmswitch/cgi-bin/kvm.cgi?file=overview-dsruserID=1326154034index=25
}

This URL works fine if you use it directly in a browser.  

I changed the notify-host-by-email command to include action_url via 
$HOSTACTIONURL$:

# 'notify-host-by-email' command definition
define command{
command_namenotify-host-by-email
command_line/usr/bin/printf %b * Nagios 
*\n\nNotification Type: $NO
TIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: 
$HOSTADDRESS$\nInfo: $HOST
OUTPUT$\n\nDate/Time: $LONGDATETIME$\nKVM URL: $HOSTACTIONURL$\n | /bin/mail 
-s ** $NOTIFICATIONTYPE$ Host Alert: $HOSTNAME$ is $HOSTSTATE$ ** 
$CONTACTEMAIL$
}


But the resulting email message seems to have lost all but the first  
character, so the URL now looks like:

KVM URL: 
https://kvmswitch/cgi-bin/kvm.cgi?file=overview-dsruserID=1326154034index=25

What am I missing here? I see others posting examples of URLs with arguements, 
which implies that they are working for them.
thanks
-e
--
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] SQL to read service configuration from mysql DB

2008-12-10 Thread Marc Powell

On Dec 10, 2008, at 11:35 AM, Mohr James wrote:

 Hi All!

 I am trying to put together an SQL query to read the MySQL NDO DB in
 order to get the same kind of information that the web GUI provides
 under the Configuration link. I was hoping that someone already had
 written the query so I would not have to re-invent the wheel. Any  
 input
 is appreciated.

Looks like these are a good starting point --

queries]# pwd ; ls

/usr/local/src/ndoutils-1.4b7/db/queries
comment_history.sql   contacts.sql   
host_comments.sql  host_notifications.sql   
scheduled_downtime.sqlservicegroup_membership.sql   
state_history.sql
comments.sql  contact_status.sql 
host_downtime_history.sql  hosts.sql
service_comments.sql  service_notifications.sql 
timed_event_queue.sql
contactgroup_membership.sql   downtime_history.sql   
host_event_handlers.sqlhost_state_history.sql   
service_downtime_history.sql  services.sql  
timed_events.sql
contact_notification_methods.sql  event_handlers.sql 
host_flapping_history.sql  host_status.sql  
service_event_handlers.sqlservice_state_history.sql
contact_notifications.sql flapping_history.sql   
hostgroup_membership.sql   notifications.sql
service_flapping_history.sql  service_status.sql


--
Marc


--
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] SQL to read service configuration from mysql DB

2008-12-10 Thread Mohr James
 -Ursprüngliche Nachricht-
 Von: Marc Powell [mailto:[EMAIL PROTECTED] 
 Gesendet: Mittwoch, 10. Dezember 2008 19:57
 An: Nagios Mailinglist
 Betreff: Re: [Nagios-users] SQL to read service configuration 
 from mysql DB
 
 
 On Dec 10, 2008, at 11:35 AM, Mohr James wrote:
 
  Hi All!
 
  I am trying to put together an SQL query to read the MySQL 
 NDO DB in 
  order to get the same kind of information that the web GUI provides 
  under the Configuration link. I was hoping that someone 
 already had 
  written the query so I would not have to re-invent the wheel. Any 
  input is appreciated.
 
 Looks like these are a good starting point --
 
 queries]# pwd ; ls
 
 /usr/local/src/ndoutils-1.4b7/db/queries

snip

THANKS!!!

Although I can't find a query that lists all of the service configration 
information, these definately give me an insight into how the tables are 
connected in order to build the query I need.

Regards,

Jim Mohr

--
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] problems with action_url/notes_url URL truncation

2008-12-10 Thread Marc Powell

On Dec 10, 2008, at 12:08 PM, Eric Pearce wrote:

 But the resulting email message seems to have lost all but the first  
  character, so the URL now looks like:

 KVM URL: 
 https://kvmswitch/cgi-bin/kvm.cgi?file=overview-dsruserID=1326154034index=25

 What am I missing here? I see others posting examples of URLs with  
 arguements, which implies that they are working for them.
 thanks

It's a stab but is '' listed in  
nagios.cfg:illegal_macro_output_chars? I know that it doesn't list  
$HOSTACTIONURL$ as one to be cleaned but it sure seems to fit. I've  
tried figuring out if that action applies to that macro but the code  
there gets a little complicated for me to follow. It seems like it  
might be cleaned though.

--
Marc


--
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] problems with action_url/notes_url URL truncation

2008-12-10 Thread Joerg Linge
Eric Pearce schrieb:
 Sorry if this in the docs or FAQ - I didn't see it if it is.
 I'm running nagios 3.0.6 and 1.4.13 plugins.
 I want to have a URL in the email host notification that would allow me 
 to connect to an Avocent KVM switch.  This is what I have for the host 
 definition:
  
  
 define host{
 use generic-host
 host_name   dbtest
 alias   dbtest
 contact_groups  buildpeople
 action_url  
 https://kvmswitch/cgi-bin/kvm.cgi?file=overview-dsruserID=1326154034index=25
  
 https://kvmswitch/cgi-bin/kvm.cgi?file=overview-dsruserID=1326154034index=25
 }
  
 This URL works fine if you use it directly in a browser. 
  
 I changed the notify-host-by-email command to include action_url via 
 $HOSTACTIONURL$:
  
 # 'notify-host-by-email' command definition
 define command{
 command_namenotify-host-by-email
 command_line/usr/bin/printf %b * Nagios 
 *\n\nNotification Type: $NO
 TIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: 
 $HOSTADDRESS$\nInfo: $HOST
 OUTPUT$\n\nDate/Time: $LONGDATETIME$\nKVM URL: $HOSTACTIONURL$\n | 
 /bin/mail -s ** $NOTIFICATIONTYPE$ Host Alert: $HOSTNAME$ is 
 $HOSTSTATE$ ** $CONTACTEMAIL$
 }
 
 But the resulting email message seems to have lost all but the first  
 character, so the URL now looks like:
  
 KVM URL: 
 https://kvmswitch/cgi-bin/kvm.cgi?file=overview-dsruserID=1326154034index=25
  
 What am I missing here? I see others posting examples of URLs with 
 arguements, which implies that they are working for them.
 thanks

Hi Eric,
please check your nagios.cfg for illegal_macro_output_chars=

kind regards,
Joerg

--
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


[Nagios-users] Lilac 1.0 beta 1 released! The most robust Nagios 3.x configuration tool available!

2008-12-10 Thread Taylor Dondich
Lilac 1.0 beta 1 is NOW released.  Featuring a robust importer for
importing existing Nagios 2.x and 3.x configurations, an exporter to
export to Nagios 3.x and a robust Auto-Discovery system.  Downloads
and documentation at http://www.lilacplatform.com

Thanks to everyone for their extensive testing of Alpha and filing
bugs and suggestions.  Beta 1 is *very* awesome.

-- 
Taylor Dondich
Check out Lilac, a configuration tool for Nagios 3 at
http://www.lilacplatform.com

Check out my Shortcut with O'Reilly Press:
Network Monitoring with Nagios:
http://oreilly.com/catalog/9780596528195/index.html

--
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] Lilac 1.0 beta 1 released! The most robust Nagios 3.x configuration tool available!

2008-12-10 Thread Whitehead, Brian
Just being picky, but unless I've slept for a year, you might want to adjust 
the date.  

12/10/2009: Beta Release Now Available

-Original Message-
From: Taylor Dondich [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, December 10, 2008 1:45 PM
To: nagios-user Mailinglist
Subject: [Nagios-users] Lilac 1.0 beta 1 released! The most robust Nagios 3.x 
configuration tool available!

Lilac 1.0 beta 1 is NOW released.  Featuring a robust importer for
importing existing Nagios 2.x and 3.x configurations, an exporter to
export to Nagios 3.x and a robust Auto-Discovery system.  Downloads
and documentation at http://www.lilacplatform.com

Thanks to everyone for their extensive testing of Alpha and filing
bugs and suggestions.  Beta 1 is *very* awesome.

-- 
Taylor Dondich
Check out Lilac, a configuration tool for Nagios 3 at
http://www.lilacplatform.com

Check out my Shortcut with O'Reilly Press:
Network Monitoring with Nagios:
http://oreilly.com/catalog/9780596528195/index.html

--
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] Network and machine resource consumption for Nagios

2008-12-10 Thread Patrick Morris
On Wed, 10 Dec 2008, Kenneth Holter wrote:

 Is there any resource consumption with regards to network or server/client 
 machines to worry about when running Nagios? We're running active checks, 
 i.e. the Nagios server uses SSH to run plugins on the client side and gather 
 the information.
 
 I guessing that the per service per check interval load on the network is a 
 matter of a couple of very small packets travelling between the Nagios server 
 and the Nagios client. And on the client side it is only a matter of running 
 small, simple scripts that causes very little processing overhead. Thus, all 
 in all there shouldn't be much of a overhead to talk about when running 
 Nagios? Of course, it all depends on the check interval and the number of 
 checks, and if anyone knows any nagios check per processing/network capacity 
 ratio please speak up.

Apologies for the upcoming non-answer, but...

Nagios is very configurable and customizable, and any overhead on either
the client or server is completely dependent on what you've configured
it to check, and how you're checking it.

In the absence of any knowledge about what that might be, it's really
impossible to come up with even a wildly inaccurate ballpark figure.

--
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] Lilac 1.0 beta 1 released! The most robust Nagios 3.x configuration tool available!

2008-12-10 Thread Taylor Dondich
hah.  doh.  Thank God it's a wiki.  :)

Taylor

On Wed, Dec 10, 2008 at 12:03 PM, Whitehead, Brian [EMAIL PROTECTED] wrote:
 Just being picky, but unless I've slept for a year, you might want to adjust 
 the date.

 12/10/2009: Beta Release Now Available

 -Original Message-
 From: Taylor Dondich [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, December 10, 2008 1:45 PM
 To: nagios-user Mailinglist
 Subject: [Nagios-users] Lilac 1.0 beta 1 released! The most robust Nagios 3.x 
 configuration tool available!

 Lilac 1.0 beta 1 is NOW released.  Featuring a robust importer for
 importing existing Nagios 2.x and 3.x configurations, an exporter to
 export to Nagios 3.x and a robust Auto-Discovery system.  Downloads
 and documentation at http://www.lilacplatform.com

 Thanks to everyone for their extensive testing of Alpha and filing
 bugs and suggestions.  Beta 1 is *very* awesome.

 --
 Taylor Dondich
 Check out Lilac, a configuration tool for Nagios 3 at
 http://www.lilacplatform.com

 Check out my Shortcut with O'Reilly Press:
 Network Monitoring with Nagios:
 http://oreilly.com/catalog/9780596528195/index.html

 --
 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





-- 
Taylor Dondich
Check out Lilac, a configuration tool for Nagios 3 at
http://www.lilacplatform.com

Check out my Shortcut with O'Reilly Press:
Network Monitoring with Nagios:
http://oreilly.com/catalog/9780596528195/index.html

--
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