Re: [Nagios-users] Suggestions needed for VMWare Guest OS'es

2007-07-18 Thread Esben Bach
Steve Shipway wrote:
>> As we are currently consolidating hosts to VMWare i need some way to
>> define reasonable parent/child relations ships in Nagios as well as
>> defining host dependencies. 
>> 
>
> This is a really awkward one.
>
> What we do here is to first define the guests as individual hosts for
> monitoring, although we don't monitor CPU or Memory on them as the
> standard plugins don't give meaningful data under vmware.
>
> Next we're using the check_esx2 plugin on the servers in the farm which
> will alert for excessing virtual CPU, Ready, and Memory usage.
>
> Finally, we run a script regularly (daily) which probes the vmware
> server and reconfigured the parent/child relationships for the vhosts vs
> the esx servers.  Not ideal - particularly when you have automigration
> enabled - but better than nothing. 
>
> Now we're going to ESX3 I'm considering defining a dummy object in
> Nagios for the whole ESX farm.  The guests become children of the ESX
> Farm object, and the ESX farm object is a child of *all* the ESX
> servers.  The ESX farm host check is defined using check_summary over
> the ESX servers, and contains another check_summary check for its only
> service, although it could also hold the SNMP traps from the
> VirtualCentre server (we have this as a separate Nagios object).  This
> setup will make more sense under ESX3, there the VC can automatically
> restart a guest on a new ESX server if the ESX server currently hosting
> it goes down.
>   
Thanks, i think ill try creating a dummy object, i was not aware of the 
check_summary plugin, but it seems reasonable to rely on that for the 
farm status.

--
Esben


> Steve
>
> -
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> ___
> 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
>   


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
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] Version problem

2007-07-18 Thread Marc Powell


> -Original Message-
> From: [EMAIL PROTECTED] [mailto:nagios-users-
> [EMAIL PROTECTED] On Behalf Of Abhishek V
> Sent: Wednesday, July 18, 2007 12:31 AM
> To: nagios-users@lists.sourceforge.net
> Subject: [Nagios-users] Version problem
> 
> 
> Hi
> 
> Currently i m trying to run nagios on Fedora version2 with kernel
> version2.6 it configured properly but when i m trying out to
> access the cgi part it giving error Permission denied in
> /usr/local/nagios/sbin/tac.cgi and /usr/local/nagios/sbin/status.cgi
> 
> I have also checked that the permission to these files are proper or
not.
> Also added nagios and apache to the same group
> but even after all this no luck ..

Can you show --

- The error from your web server log
- the permissions on ~nagios, ~nagios/sbin and ~nagios/sbin/*; they
should all be 755 nagios:nagios at least.
- the group membership of your web server

SELinux is known to be broken in FC2. You do have it disabled? 

--
Marc

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
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] how to test?

2007-07-18 Thread B. Cook
I am trying to figure out how to test sending notifications to my telephone.

It is a nokia 6126 and I am trying to send to the email address my 
provider has given me, and I am using the epager notifications.

Sending using the default epager sends me two messages for each 
notification due to the spacing and such of the message.

Anyway what I am looking for is a way to send test messages that would 
have real data, so that I can figure out the best way to format it for 
my display.

Is that possible?



-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
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] Contacts.cfg

2007-07-18 Thread Do-young Jung
Hi all, I just set up Nagios, after installing all the configuration
files, with the sample ones as well, I do not see an
"usr/local/nagios/etc/objects/contacts.cfg" file, nor do I see an
"Objects" folder under etc.

Is there something I am missing?  Or is this file that I have to create
from scratch?

I ran the command like so, "make install-config", shouldn't this have
installed all the sample config files?  If not, can someone send me
theirs? =)

 

Much thanks!

 

Do-young Jung

IT Analyst

Auda Advisor Associates

 

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
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] Simple Host Monitoring - ICMP

2007-07-18 Thread Sean Keplinger

I have Nagios running on Linux monitoring around 500 hosts on our network. 
For most of those hosts, we only need to know if they respond to a ping. 
Since I've read that enabling "active host checks" may cause performance 
problems, I made an "ICMP" service and assigned each server to it.

This works great save for one problem: If a host fails to respond to the 
ICMP service check, it instantly jumps to the host check (which is also a 
ping) and times out after 1 1/2 minutes (or 10 host check pings with 10 
second timeouts).

What I need is for it to behave like a standard service check, that is to 
obey by the rules of the retry_interval. Is this possible?


Thanks,
Sean
--
Sean Keplinger
LAN/Windows/Unix Analyst - Western & Southern Financial Group

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
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] Contacts.cfg

2007-07-18 Thread Marc Powell


> -Original Message-
> From: [EMAIL PROTECTED] [mailto:nagios-users-
> [EMAIL PROTECTED] On Behalf Of Do-young Jung
> Sent: Wednesday, July 18, 2007 7:48 AM
> To: nagios-users@lists.sourceforge.net
> Subject: [Nagios-users] Contacts.cfg
> 
> Hi all, I just set up Nagios, after installing all the configuration
> files, with the sample ones as well, I do not see an
> "usr/local/nagios/etc/objects/contacts.cfg" file, nor do I see an
> "Objects" folder under etc.
> 
> Is there something I am missing?  Or is this file that I have to
create
> from scratch?

Yes and no respectively...

> I ran the command like so, "make install-config", shouldn't this have
> installed all the sample config files?  If not, can someone send me
> theirs? =)

Nagios-2.x sample config files are only bigger.cfg, minimal.cfg,
checkcommands.cfg, miscommands.cfg, resource.cfg, cgi.cfg and
nagios.cfg. There is no contacts.cfg nor is there an Objects directory
created. bigger.cfg and mimimal.cfg are example files that contain _all_
the object directives (contact, host, services, etc). You can split each
object type out into its own file if you like but it's not necessary.

--
Marc

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
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] Simple Host Monitoring - ICMP

2007-07-18 Thread Marc Powell


> -Original Message-
> From: [EMAIL PROTECTED] [mailto:nagios-users-
> [EMAIL PROTECTED] On Behalf Of Sean Keplinger
> Sent: Wednesday, July 18, 2007 8:44 AM
> To: nagios-users@lists.sourceforge.net
> Subject: [Nagios-users] Simple Host Monitoring - ICMP
> 
> 
> I have Nagios running on Linux monitoring around 500 hosts on our
network.
> For most of those hosts, we only need to know if they respond to a
ping.
> Since I've read that enabling "active host checks" may cause
performance
> problems, I made an "ICMP" service and assigned each server to it.
> 
> This works great save for one problem: If a host fails to respond to
the
> ICMP service check, it instantly jumps to the host check (which is
also a
> ping) and times out after 1 1/2 minutes (or 10 host check pings with
10
> second timeouts).
> 
> What I need is for it to behave like a standard service check, that is
to
> obey by the rules of the retry_interval. Is this possible?

It is behaving like a standard nagios-2 service check. If any service on
a host returns a non-OK result, the host is checked immediately. If the
host check fails, it goes critical immediately. I would advise disabling
host checks for those ping-only hosts to get the behavior you desire.
Nagios-3 introduces the behavior you are looking for.

--
Marc

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
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] Simple Host Monitoring - ICMP

2007-07-18 Thread Sean Keplinger

On Wed, 18 Jul 2007, Marc Powell wrote:

> It is behaving like a standard nagios-2 service check. If any service on
> a host returns a non-OK result, the host is checked immediately. If the
> host check fails, it goes critical immediately. I would advise disabling
> host checks for those ping-only hosts to get the behavior you desire.
> Nagios-3 introduces the behavior you are looking for.

I will look forward to upgrading to Nagios 3.

In the meantime, to disable the host check, I just leave the check_command 
blank for those hosts, correct?

So during an outage, I will only receive a "service is critical" 
notification for the ICMP service?


Thanks,
Sean
--
Sean Keplinger
LAN/Windows/Unix Analyst - Western & Southern Financial Group

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
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] Simple Host Monitoring - ICMP

2007-07-18 Thread Marc Powell


> -Original Message-
> From: Sean Keplinger [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, July 18, 2007 9:44 AM
> To: Marc Powell
> Cc: nagios-users@lists.sourceforge.net
> Subject: Re: [Nagios-users] Simple Host Monitoring - ICMP
> 


> I will look forward to upgrading to Nagios 3.
> 
> In the meantime, to disable the host check, I just leave the
check_command
> blank for those hosts, correct?

More precisely, don't include the check_command directive at all in the
host{} definition.

> So during an outage, I will only receive a "service is critical"
> notification for the ICMP service?

Correct.

--
Marc

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
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] Simple SMS alerting

2007-07-18 Thread Ton Voon
Hi!

Just wanted to make you aware of a simple way of getting SMS alerting  
from your Nagios system. For Opsview, we've been working with a  
company called AQL (http://aql.com) who provide an SMS gateway. We've  
been speaking to their technical guys and David Precious, a perl  
developer who has written SMS::AQL (http://search.cpan.org/dist/SMS- 
AQL/), to get really easy communication with AQL's systems.

You can read about it on our blog site: http://altinity.blogs.com/ 
dotorg/2007/07/sms-alerting-vi.html

There's also a script to download, which can then provide you with  
the mechanism to send your alerts via AQL.

Enjoy!

Ton

http://www.altinity.com
T: +44 (0)870 787 9243
F: +44 (0)845 280 1725
Skype: tonvoon




-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
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] Version problem

2007-07-18 Thread Gagandeep Singh
Hi Abhishek I am having the same problem and keep on getting denied when i try 
to access /localhost/nagios/cgi-bin/ ..  I dont know what is the problem.  Make 
sure you have the selinux disabled.  But that didnt do it for me.  I followed 
the documentation exactly as stated @ nagios.org.  Still no luck.  I also tried 
google but didnt help.
   
  Anybody have any idea what could be wrong.
   
  Gagan Rakkar

Abhishek V <[EMAIL PROTECTED]> wrote:
  
Hi 

Currently i m trying to run nagios on Fedora version2 with kernel version2.6 it 
configured properly but when i m trying out to 
access the cgi part it giving error Permission denied in 
/usr/local/nagios/sbin/tac.cgi and /usr/local/nagios/sbin/status.cgi 

I have also checked that the permission to these files are proper or not. Also 
added nagios and apache to the same group 
but even after all this no luck .. 

Kindly help.. 

Abhishek Vyas
Tata Consultancy Services
Mailto: [EMAIL PROTECTED]
Website: http://www.tcs.com

Experience certainty.IT Services
   Business Solutions
   Outsourcing

=-=-=  Notice: The information contained in this e-mail  
message and/or attachments to it may contain   confidential or privileged 
information. If you are   not the intended recipient, any dissemination, use,   
review, distribution, printing or copying of the   information contained in 
this e-mail message   and/or attachments to it are strictly prohibited. If   
you have received this communication in error,   please notify us by reply 
e-mail or telephone and   immediately and permanently delete the message   and 
any attachments. Thank you  
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
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

   
-
Need a vacation? Get great deals to amazing places on Yahoo! Travel. -
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
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] Version problem

2007-07-18 Thread Peter Brown
Gagan 

In the Fedora RPM (I'm guessing that was what you used) there is a
nagios.conf file located in /etc/httpd/conf.d/ dir. I would guess that
you are making changes to the main Apache httpd.conf file for
permissions, and this files orders are conflicting with those
directives. Eliminate one or the other...

Or maybe its something else... :)


Peter Brown

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Gagandeep Singh
Sent: Wednesday, July 18, 2007 12:01 PM
To: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] Version problem


Hi Abhishek I am having the same problem and keep on getting denied when
i try to access /localhost/nagios/cgi-bin/ ..  I dont know what is the
problem.  Make sure you have the selinux disabled.  But that didnt do it
for me.  I followed the documentation exactly as stated @ nagios.org.
Still no luck.  I also tried google but didnt help.

Anybody have any idea what could be wrong.

Gagan Rakkar

Abhishek V <[EMAIL PROTECTED]> wrote:

Hi 

Currently i m trying to run nagios on Fedora version2 with kernel
version2.6 it configured properly but when i m trying out to 
access the cgi part it giving error Permission denied in
/usr/local/nagios/sbin/tac.cgi and /usr/local/nagios/sbin/status.cgi 

I have also checked that the permission to these files are proper or
not. Also added nagios and apache to the same group 
but even after all this no luck .. 

Kindly help.. 

Abhishek Vyas
Tata Consultancy Services
Mailto: [EMAIL PROTECTED]
Website: http://www.tcs.com

Experience certainty.IT Services
   Business Solutions
   Outsourcing

=-=-=  Notice: The information contained in this
e-mail  message and/or
 attachments to it may contain   confidential or privileged information.
If you are   not the intended recipient, any dissemination, use,
review, distribution, printing or copying of the   information contained
in this e-mail message   and/or attachments to it are strictly
prohibited. If   you have received this communication in error,   please
notify us by reply e-mail or telephone and   immediately and permanently
delete the message   and any attachments. Thank you  

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
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




Need a vacation? Get great deals to amazing places on Yahoo! Travel. 

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
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] Digest Method

2007-07-18 Thread Fred

I was wondering if Nagios has a configuration setting that would send
errors grouped into one email?

I added some website checking and ended up with around 600 services.
100 of those services were Warnings and 50 were critical.

By the next morning my email client was locked up with around 5000
emails in it.

If I could get nagios setup to only send 1 email with all the current
errors/warnings every 5 minutes, it would not lock up my email account,
but let me check all of our websites, etc.

Thanks in advance.

Sincerely,
Fred
 
><><><><><><><><><><><><><><><><><><
   Fred Tyre
   Information Services
   Heartland Communications, Inc.
   515-574-2147
   [EMAIL PROTECTED]
><><><><><><><><><><><><><><><><><>< 
 
 


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
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] Version problem

2007-07-18 Thread Gagandeep Singh

Peter I installed nagios from source.
   
  I am able to access nagios through /localhost/nagios/.  But not the 
/localhost/nagios/cgi-bin/
   
  The only thing I changed in the /etc/httpd/conf/httpd.conf was I added the 
scriptalias and thats it.  Is there anything else I need to add in the 
httpd.conf file?
   
  Gagan Rakkar
Peter Brown <[EMAIL PROTECTED]> wrote:
  Gagan 

In the Fedora RPM (I'm guessing that was what you used) there is a
nagios.conf file located in /etc/httpd/conf.d/ dir. I would guess that
you are making changes to the main Apache httpd.conf file for
permissions, and this files orders are conflicting with those
directives. Eliminate one or the other...

Or maybe its something else... :)


Peter Brown

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Gagandeep Singh
Sent: Wednesday, July 18, 2007 12:01 PM
To: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] Version problem


Hi Abhishek I am having the same problem and keep on getting denied when
i try to access /localhost/nagios/cgi-bin/ .. I dont know what is the
problem. Make sure you have the selinux disabled. But that didnt do it
for me. I followed the documentation exactly as stated @ nagios.org.
Still no luck. I also tried google but didnt help.

Anybody have any idea what could be wrong.

Gagan Rakkar

Abhishek V wrote:

Hi 

Currently i m trying to run nagios on Fedora version2 with kernel
version2.6 it configured properly but when i m trying out to 
access the cgi part it giving error Permission denied in
/usr/local/nagios/sbin/tac.cgi and /usr/local/nagios/sbin/status.cgi 

I have also checked that the permission to these files are proper or
not. Also added nagios and apache to the same group 
but even after all this no luck .. 

Kindly help.. 

Abhishek Vyas
Tata Consultancy Services
Mailto: [EMAIL PROTECTED]
Website: http://www.tcs.com

Experience certainty. IT Services
Business Solutions
Outsourcing

=-=-= Notice: The information contained in this
e-mail message and/or
attachments to it may contain confidential or privileged information.
If you are not the intended recipient, any dissemination, use,
review, distribution, printing or copying of the information contained
in this e-mail message and/or attachments to it are strictly
prohibited. If you have received this communication in error, please
notify us by reply e-mail or telephone and immediately and permanently
delete the message and any attachments. Thank you 

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
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




Need a vacation? Get great deals to amazing places on Yahoo! Travel. 

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
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


 
-
8:00? 8:25? 8:40?  Find a flick in no time
 with theYahoo! Search movie showtime shortcut.-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
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] check_http output

2007-07-18 Thread Nagios
Hello

is there any way to change check_http plugin output .
here is my output :
HTTP OK HTTP/1.1 200 OK - 918 bytes in 0.012 seconds

but I want to have different output based on service names.
like : host_name: HTTP OK HTTP/1.1 200 OK - 918 bytes in 0.012 seconds

check_snmp does this but not check_http.

Thanks

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
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] Digest Method

2007-07-18 Thread Marc Powell


> -Original Message-
> From: [EMAIL PROTECTED] [mailto:nagios-users-
> [EMAIL PROTECTED] On Behalf Of Fred
> Sent: Wednesday, July 18, 2007 2:11 PM
> To: nagios-users@lists.sourceforge.net
> Subject: [Nagios-users] Digest Method
> 
> 
> I was wondering if Nagios has a configuration setting that would send
> errors grouped into one email?
> 


> If I could get nagios setup to only send 1 email with all the current
> errors/warnings every 5 minutes, it would not lock up my email
account,
> but let me check all of our websites, etc.

Nagios doesn't have the capability built in. It will send a notification
immediately as necessary. However, your notification program can be
anything at all so it's a fine place to create your own notification
logic via scripting. Some people have already done the work for you ;) I
don't use it but NAN
(http://www.nagiosexchange.org/Notifications.35.0.html?&tx_netnagext_pi1
[p_view]=309) seems to be just what you're looking for.

--
Marc

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
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] Version problem

2007-07-18 Thread Peter Brown
Gagan

If that is true, then you didn't follow *all* the directions...

Re-check your documentation entitled "Setting Up The Web Interface". You
need the ScriptAlias, two directory statements and a share alias. Plus
you need to setup htpasswd files and such. You still have some work to
do, but re-read the documentation...it's all in there.

Best of luck.

-Peter Brown

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Gagandeep Singh
Sent: Wednesday, July 18, 2007 12:16 PM
To: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] Version problem



Peter I installed nagios from source.

I am able to access nagios through /localhost/nagios/.  But not the
/localhost/nagios/cgi-bin/

The only thing I changed in the /etc/httpd/conf/httpd.conf was I added
the scriptalias and thats it.  Is there anything else I need to add in
the httpd.conf file?

Gagan Rakkar
Peter Brown <[EMAIL PROTECTED]> wrote:
Gagan 

In the Fedora RPM (I'm guessing that was what you used) there is a
nagios.conf file located in /etc/httpd/conf.d/ dir. I would guess that
you are making changes to the main Apache httpd.conf file for
permissions, and this files orders are conflicting with those
directives. Eliminate one or the other...

Or maybe its something else... :)


Peter Brown

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Gagandeep Singh
Sent: Wednesday, July 18, 2007 12:01 PM
To: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] Version problem


Hi Abhishek I am having the same problem and keep on getting denied when
i try to access /localhost/nagios/cgi-bin/ .. I dont know what is the
problem. Make sure you have the selinux disabled. But that didnt do it
for me. I followed the documentation exactly as stated @ nagios.org.
Still no luck. I also tried google but didnt help.

Anybody have any idea what could be wrong.

Gagan Rakkar

Abhishek V wrote:

Hi 

Currently i m trying to run nagios on Fedora version2 with kernel
version2.6 it configured properly but when i m trying out to 
access the cgi part it giving error Permission denied in
/usr/local/nagios/sbin/tac.cgi and /usr/local/nagios/sbin/status.cgi 

I have also checked that the permission to these files are proper or
not. Also added nagios and apache to the same group 
but even after all this no luck .. 

Kindly help.. 

Abhishek Vyas
Tata Consultancy Services
Mailto: [EMAIL PROTECTED]
Website: http://www.tcs.com

Experience certainty. IT Services
Business Solutions
Outsourcing

=-=-= Notice: The information contained in this
e-mail message and/or
attachments to it may contain confidential or privileged information.
If you are not the intended recipient, any dissemination, use,
review, distribution, printing or copying of the information contained
in this e-mail message and/or attachments to it are strictly
prohibited. If you have received this communication in error, please
notify us by reply e-mail or telephone and immediately and permanently
delete the message and any attachments. Thank you 

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
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




Need a vacation? Get great deals to amazing places on Yahoo! Travel. 


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
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





8:00? 8:25? 8:40? Find a flick in no time
with theYahoo! Search movie showtime shortcut.

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://list

Re: [Nagios-users] Digest Method

2007-07-18 Thread Hugo van der Kooij
On Wed, 18 Jul 2007, Fred wrote:

>
> I was wondering if Nagios has a configuration setting that would send
> errors grouped into one email?
>
> I added some website checking and ended up with around 600 services.
> 100 of those services were Warnings and 50 were critical.
>
> By the next morning my email client was locked up with around 5000
> emails in it.
>
> If I could get nagios setup to only send 1 email with all the current
> errors/warnings every 5 minutes, it would not lock up my email account,
> but let me check all of our websites, etc.

With these numbers one should not use normal email for volatile things. At 
least I would recommend against it.

I would use the firefox plugin to babysit such a volatile environment.
But that is just me. (In fact I would not babysit such a darn thing but go 
in and do some serious troubleshooting with a nice submachinegun. ;)

You could always setup something like mailman and let it do the digests 
for you.

Or send them to a dummy email box, parse them with procmail and use a nice 
parser to process the procmail log to make your digest for you.

Hugo.

-- 
[EMAIL PROTECTED]   http://hugo.vanderkooij.org/
This message is using 100% recycled electrons.

Some men see computers as they are and say "Windows"
I use computers with Linux and say "Why Windows?"
(Thanks JFK, for the insight.)

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
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] Digest Method

2007-07-18 Thread Fred
Thank you very much for the responses.

I have already made an automatic bounce parser that loads email failures
into an Oracle database using flex/yacc, so I like the parsing idea.
But seeing how much time I have, I will probably go the easy route.

Thanks again.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Hugo
van der Kooij
Sent: Wednesday, July 18, 2007 2:25 PM
To: Nagios Users mailinglist
Subject: Re: [Nagios-users] Digest Method


On Wed, 18 Jul 2007, Fred wrote:

>
> I was wondering if Nagios has a configuration setting that would send 
> errors grouped into one email?
>
> I added some website checking and ended up with around 600 services. 
> 100 of those services were Warnings and 50 were critical.
>
> By the next morning my email client was locked up with around 5000 
> emails in it.
>
> If I could get nagios setup to only send 1 email with all the current 
> errors/warnings every 5 minutes, it would not lock up my email 
> account, but let me check all of our websites, etc.

With these numbers one should not use normal email for volatile things.
At 
least I would recommend against it.

I would use the firefox plugin to babysit such a volatile environment.
But that is just me. (In fact I would not babysit such a darn thing but
go 
in and do some serious troubleshooting with a nice submachinegun. ;)

You could always setup something like mailman and let it do the digests 
for you.

Or send them to a dummy email box, parse them with procmail and use a
nice 
parser to process the procmail log to make your digest for you.

Hugo.

-- 
[EMAIL PROTECTED]   http://hugo.vanderkooij.org/
This message is using 100% recycled electrons.

Some men see computers as they are and say "Windows"
I use computers with Linux and say "Why Windows?"
(Thanks JFK, for the insight.)


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
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


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
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] NRPE times out after 10 seconds

2007-07-18 Thread Masoud Tabrizi
All,

Using NRPE we manage to monitor a few servers in China. The traffic goes
through our WAN and all probes seem to be working fine except the
check_logfiles; Have noticed that during the time applications are used,
check_logfiles gets timed out. I have set the timeout argument to 420 yet in
the notification email it says that NRPE timed-out after 10 seconds. 

 

/opt/csw/libexec/nagios-plugins/check_logfiles -t 420 -f
/home/nrpe/config/myconfig.conf

 

Running it locally on the host works fine!

 

I have checked the network and there is no indication of latency; all other
probes are working fine.

 

Any help is appreciated!

 

Regards,

Masoud

 

 

++

Masoud Tabrizi

[EMAIL PROTECTED]

++

 

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
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] Perfdata/nagiosgraph hiccup frustration

2007-07-18 Thread Marlier, Ian
Hey, all --

Strange little problem that I'm trying to figure out.

I've got nagios 2.5 up and running, installed from the RPMs in opensuse
10.2.  I've enabled the service-perfdata options, and am sending service
perfdata to a file.

I'm using nagiosgraph, called via the
service_perfdata_file_processing_command, to process the
service-perfdata file into RRD files.

All seems to be working fine, for the most part.  Except for one little
thing...

Nagiosgraph is able to parse and insert the data in these lines:
1184788008||xenhost3.wdc.studentuniverse.com||CPU Load||Load : 0.01 0.06
0.06 : OK||
1184788012||xenhost11.wdc.studentuniverse.com||CPU Load||Load : 0.00
0.00 0.00 : OK||
1184788017||xenhost4.wdc.studentuniverse.com||CPU Load||Load : 0.04 0.03
0.00 : OK||

But it doesn't do anything at all with this one:
1184788284||xenhost0.wdc.studentuniverse.com||CPU Load||Load : 0.23 0.24
0.21 : OK||

No RRD file is created, no data is inserted, etc.

The extra strange thing is that this _was_ working.  I did a restart of
the server yesterday afternoon, and the files seem to have stopped
updating after that restart.

All of these perfdata lines are a result of the same service in my
service configuration (the machines are in a single hostgroup, and only
one check is set up for that hostgroup).

The nagiosgraph map definition is this:
# Service type: cpu-load
#   output:Load : 0.01 0.01 0.00 : OK
/output:Load.*?([.0-9]+).*?([.0-9]+).*?([.0-9]+).*/
and push @s,[ 'cpu-load',
[ '1minute', GAUGE, $1 ],
[ '5minute', GAUGE, $2 ],
[ '15minute', GAUGE, $3 ]
];  


The nagiosgraph.log doesn't show me anything about the skipped lines...

Anyone have any ideas why this wouldn't be working right?  What could
restarting the server have broken?  Is this nagios being funky, or
nagiosgraph, or RRDTool, or something else?  

TIA,

Ian

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
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] watching Layer 2 device

2007-07-18 Thread Brandino Andreas
Hi list,

i am trying to watch a layer 2 device. It has no ip or snmp
capabilites.

Except of watching the ethernet port on the switch is any other way to
check if is up?

Regards


<> ---  ---  --- <> 
Brandino Andreas
[EMAIL PROTECTED]
<> ---  ---  --- <> 


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
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] temp_file nagios.tmp issue

2007-07-18 Thread Peter Schulz

Hello,
	I am having an issue with nagios.tmp re-creating every hour and  
using my disk space up. Is there anyway to turn is hourly option off?

the docs read:
Temp File
Format: temp_file=
Example:temp_file=/usr/local/nagios/var/nagios.tmp
This is a temporary file that Nagios periodically creates to use when  
updating comment data, status data, etc. The file is deleted when it  
is no longer needed.


Issue is the file does not get deleted but gets regenerated once an  
hour w/a new name example: nagios.tmpvVNenp


Thanks for the insight/help!
Peter H
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
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] Version problem

2007-07-18 Thread Gagandeep Singh
Sorry about that I was trying to post on the list.  But yes i did follow all 
the docs already.  The two files .htaccess and htpassword.usersare in their 
proper directories.
   
  Gagan Rakkar

Peter Brown <[EMAIL PROTECTED]> wrote:
  Gagan

If that is true, then you didn't follow *all* the directions...

Re-check your documentation entitled "Setting Up The Web Interface". You
need the ScriptAlias, two directory statements and a share alias. Plus
you need to setup htpasswd files and such. You still have some work to
do, but re-read the documentation...it's all in there.

Best of luck.

-Peter Brown

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Gagandeep Singh
Sent: Wednesday, July 18, 2007 12:16 PM
To: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] Version problem



Peter I installed nagios from source.

I am able to access nagios through /localhost/nagios/. But not the
/localhost/nagios/cgi-bin/

The only thing I changed in the /etc/httpd/conf/httpd.conf was I added
the scriptalias and thats it. Is there anything else I need to add in
the httpd.conf file?

Gagan Rakkar
Peter Brown 
wrote:
Gagan 

In the Fedora RPM (I'm guessing that was what you used) there is a
nagios.conf file located in /etc/httpd/conf.d/ dir. I would guess that
you are making changes to the main Apache httpd.conf file for
permissions, and this files orders are conflicting with those
directives. Eliminate one or the other...

Or maybe its something else... :)


Peter Brown

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Gagandeep Singh
Sent: Wednesday, July 18, 2007 12:01 PM
To: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] Version problem


Hi Abhishek I am having the same problem and keep on getting denied when
i try to access /localhost/nagios/cgi-bin/ .. I dont know what is the
problem. Make sure you have the selinux disabled. But that didnt do it
for me. I followed the documentation exactly as stated @ nagios.org.
Still no luck. I also tried google but didnt help.

Anybody have any idea what could be wrong.

Gagan Rakkar

Abhishek V wrote:

Hi 

Currently i m trying to run nagios on Fedora version2 with kernel
version2.6 it configured properly but when i m trying out to 
access the cgi part it giving error Permission denied in
/usr/local/nagios/sbin/tac.cgi and /usr/local/nagios/sbin/status.cgi 

I have also checked that the permission to these files are proper or
not. Also added nagios and apache to the same group 
but even after all this no luck .. 

Kindly help.. 

Abhishek Vyas
Tata Consultancy Services
Mailto: [EMAIL PROTECTED]
Website: http://www.tcs.com

Experience certainty. IT Services
Business Solutions
Outsourcing

=-=-= Notice: The information contained in this
e-mail message and/or
attachments to it may contain confidential or privileged information.
If you are not the intended recipient, any dissemination, use,
review, distribution, printing or copying of the information contained
in this e-mail message and/or attachments to it are strictly
prohibited. If you have received this communication in error, please
notify us by reply e-mail or telephone and immediately and permanently
delete the message and any attachments. Thank you 

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
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




Need a vacation? Get great deals to amazing places on Yahoo! Travel. 


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
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





8:00? 8:25? 8:40? Find a flick in no time
with theYahoo! Search movie showtime shortcut.

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control

[Nagios-users] check_http regex question

2007-07-18 Thread Wes Hegge

Hello Everyone,

Have a quick question about what regular expression to use to check a web
page.

The web page is for some Trango wireless backhaul units.  On the main page
the status will say 'connected' if the backhaul units are talking to each
other.  Otherwise, the status is 'disconnected'.

I have tried:

./check_http -H 10.252.0.158  -r connected  returns OK all the time
./check_http -H 10.252.0.158  -r \(connected\)  returns OK. all the time

any idea on how to setup the regex?

Thanks,

Wes Hegge
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
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] check_http regex question

2007-07-18 Thread Jeremy C. Reed
> Have a quick question about what regular expression to use to check a web
> page.
> 
> The web page is for some Trango wireless backhaul units.  On the main page
> the status will say 'connected' if the backhaul units are talking to each
> other.  Otherwise, the status is 'disconnected'.
> 
> I have tried:
> 
> ./check_http -H 10.252.0.158  -r connected  returns OK all the time
> ./check_http -H 10.252.0.158  -r \(connected\)  returns OK. all the time
> 
> any idea on how to setup the regex?

Try:

"[^s]connected"

Not an "s" immediately before connected. Unless it is start of line. We 
may need more details.

Or if there is a space, search like (add a space before it):

-r " connected"

  Jeremy C. Reed

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
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] service depenency templates

2007-07-18 Thread Jeff Chapin
Hello,

I have inherited a small, but messy Nagios installation. I have spent a
lot of time cleaning it up, and templating out a bunch of things.  For
instance, to create a new host, you simply add 2 lines in a new file -
the template to use, and the hostname.  Based on the template you use,
it is assigned hostgroups and based on the hostgroups, it is assigned
service checks. It works great for us.  A little example:

 

define host{

use generic-host-ssl

host_name   www.ssldomain.com

}

This assigned the host www.ssldomain.com   to
the hostgroup SSLDomains, along with the defaults for that domain.

 

SSLDomains get tested for "HTTP by NAME" and "SSL Cert" - the former is
obvious, and the second checks for existence off a SSL cert, and Crits
if it is expired or will expire soon, warns if it  expires in the next
month, and says OK otherwise.

 

What I would like to do, is setup a service dependency so that I am not
warned about a missing SSL cert, if HTTP is down.  Looking through the
docs, it appears that the following MAY work:

 

define servicedependency{

hostgroup_name  SSLDomain

service_description HTTP by NAME

dependent_hostgroup_nameSSLDomain

dependent_service_description   SSL Cert

execution_failure_criteria  n

notification_failure_criteria   c,w,u

}

 

Looking at the documentation, though, this might not work

 

It appears that in this case the SSL Cert warnings will not go down if
ANY of the HTTP by NAMES are down Is this the case? 

 

Any easy ways to accomplish this?

 

Thanks,

 

 

JEFF CHAPIN 
SYSTEM ADMINISTRATOR 

T8DESIGN.COM | P 319.266.7574 - x267 | 877.T8IDEAS | F 888.290.4675


This e-mail, including attachments, is covered by the Electronic
Communications Privacy Act, 18 U.S.C. 2510-2521, is confidential, and
may be legally privileged. If you are not the intended recipient, you
are hereby notified that any retention, dissemination, distribution, or
copying of this communication is strictly prohibited. Please reply to
the sender that you have received the message in error, and then please
delete it. Thank you.

 

<>-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
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 times out after 10 seconds

2007-07-18 Thread Marc Powell


> -Original Message-
> From: [EMAIL PROTECTED] [mailto:nagios-users-
> [EMAIL PROTECTED] On Behalf Of Masoud Tabrizi
> Sent: Wednesday, July 18, 2007 2:55 PM
> To: nagios-users@lists.sourceforge.net
> Subject: [Nagios-users] NRPE times out after 10 seconds
> 
> All,
> 
> Using NRPE we manage to monitor a few servers in China. The traffic
goes
> through our WAN and all probes seem to be working fine except the
> check_logfiles; Have noticed that during the time applications are
used,
> check_logfiles gets timed out. I have set the timeout argument to 420
yet
> in the notification email it says that NRPE timed-out after 10
seconds.

Sounds like you didn't also increase the fail-safe service check timeout
parameter in nagios.cfg. I believe that the default is 10 seconds.

--
Marc

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
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] check_http output

2007-07-18 Thread Marc Powell


> -Original Message-
> From: [EMAIL PROTECTED] [mailto:nagios-users-
> [EMAIL PROTECTED] On Behalf Of Nagios
> Sent: Wednesday, July 18, 2007 2:18 PM
> To: nagios-users@lists.sourceforge.net
> Subject: [Nagios-users] check_http output
> 
> Hello
> 
> is there any way to change check_http plugin output .
> here is my output :
> HTTP OK HTTP/1.1 200 OK - 918 bytes in 0.012 seconds
> 
> but I want to have different output based on service names.y
> like : host_name: HTTP OK HTTP/1.1 200 OK - 918 bytes in 0.012 seconds

Yes, you can do it but you'd need to edit the source and recompile or
create a wrapper for check_http that modified the output to suit your
needs.

--
Marc

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
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] service depenency templates

2007-07-18 Thread Patrick Morris
On Wed, 18 Jul 2007, Jeff Chapin wrote:

> define servicedependency{
> 
> hostgroup_name  SSLDomain
> 
> service_description HTTP by NAME
> 
> dependent_hostgroup_nameSSLDomain
> 
> dependent_service_description   SSL Cert
> 
> execution_failure_criteria  n
> 
> notification_failure_criteria   c,w,u
> 
> }
> 
> Looking at the documentation, though, this might not work

It won't.

> Any easy ways to accomplish this?

Not the way dependencies work currently.  You'd need one defined
for each host.

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
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 times out after 10 seconds

2007-07-18 Thread Masoud Tabrizi
All,
I checked the timeout parameters and these are the only one I have:
nagios.cfg:# TIMEOUT VALUES
nagios.cfg:service_check_timeout=60
nagios.cfg:host_check_timeout=30
nagios.cfg:event_handler_timeout=30
nagios.cfg:notification_timeout=30
nagios.cfg:ocsp_timeout=5
nagios.cfg:perfdata_timeout=5

Any suggestions?

BTW, I am using 2.9 as the base and the plugin is 1.3.6.1

Masoud
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Marc Powell
Sent: Wednesday, July 18, 2007 6:12 PM
To: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] NRPE times out after 10 seconds



> -Original Message-
> From: [EMAIL PROTECTED] [mailto:nagios-users-
> [EMAIL PROTECTED] On Behalf Of Masoud Tabrizi
> Sent: Wednesday, July 18, 2007 2:55 PM
> To: nagios-users@lists.sourceforge.net
> Subject: [Nagios-users] NRPE times out after 10 seconds
> 
> All,
> 
> Using NRPE we manage to monitor a few servers in China. The traffic
goes
> through our WAN and all probes seem to be working fine except the
> check_logfiles; Have noticed that during the time applications are
used,
> check_logfiles gets timed out. I have set the timeout argument to 420
yet
> in the notification email it says that NRPE timed-out after 10
seconds.

Sounds like you didn't also increase the fail-safe service check timeout
parameter in nagios.cfg. I believe that the default is 10 seconds.

--
Marc

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
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


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
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] notification interval = 0

2007-07-18 Thread Alicia Calvo
Hello, i want to configure option for the only one notification when an error 
begin, for that, I configure "notification interval=0"  but the notificacion  
send  at five minutes  equal than de  check  interval configuration. Any idea?  
Thanks for your atention!!.
 nagios v 2.9 on Siuse 10.1  
 

AC
 
   
-
 Preguntá. Respondé. Descubrí.
 Todo lo que querías saber, y lo que ni imaginabas,
está en Yahoo! Respuestas (Beta).
 ¡Probalo ya! -
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
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 times out after 10 seconds

2007-07-18 Thread Marc Powell


> -Original Message-
> From: Masoud Tabrizi [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, July 18, 2007 5:50 PM
> To: Marc Powell; nagios-users@lists.sourceforge.net
> Subject: RE: [Nagios-users] NRPE times out after 10 seconds
> 
> All,
> I checked the timeout parameters and these are the only one I have:
> nagios.cfg:# TIMEOUT VALUES
> nagios.cfg:service_check_timeout=60
> nagios.cfg:host_check_timeout=30
> nagios.cfg:event_handler_timeout=30
> nagios.cfg:notification_timeout=30
> nagios.cfg:ocsp_timeout=5
> nagios.cfg:perfdata_timeout=5
> 
> Any suggestions?

You posted a timeout for check_logfiles and the above looks correct. Did
you also pass an increased timeout to check_nrpe that I expect is
calling check_logfiles on the remote machine? After increasing the
timeout for check_nrpe, did you restart or reload nagios? If so, please
post the service definition, command definition as well as example
plugin output (or nagios.log entry) when it fails.

--
Marc

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
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] notification interval = 0

2007-07-18 Thread Marc Powell


> -Original Message-
> From: [EMAIL PROTECTED] [mailto:nagios-users-
> [EMAIL PROTECTED] On Behalf Of Alicia Calvo
> Sent: Wednesday, July 18, 2007 7:25 PM
> To: nagios-users@lists.sourceforge.net
> Subject: [Nagios-users] notification interval = 0
> 
> Hello, i want to configure option for the only one notification when
an
> error begin, for that, I configure "notification interval=0"  but the
> notificacion  send  at five minutes  equal than de  check  interval
> configuration. Any idea?  Thanks for your atention!!.

That should work. Did you reload nagios after making the change? Verify
that you do not have more than one nagios process running and/or
escalations that may be causing re-notification. Also verify that you
don't have is_volatile set.

--
Marc

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
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] service depenency templates

2007-07-18 Thread Matthew Joyce
I'm pretty sure, using hostgroups in service dependancies equates to :
  This service on all these hosts depends on this service on all *these*
hosts.
 
I'd prefer to have - This service on these hosts depend on this service
on any of these host.
 
If I'm wrong, please report back, I've always found service dendancies
irksome to implement.
 
Matthew Joyce 
02 9382 0051 | IT Manager | Children's Cancer Institute Australia for
Medical Research 
 




From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jeff
Chapin
Sent: Thursday, 19 July 2007 8:08 AM
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] service depenency templates



Hello,

I have inherited a small, but messy Nagios installation. I have
spent a lot of time cleaning it up, and templating out a bunch of
things.  For instance, to create a new host, you simply add 2 lines in a
new file - the template to use, and the hostname.  Based on the template
you use, it is assigned hostgroups and based on the hostgroups, it is
assigned service checks. It works great for us.  A little example:

 

define host{

use generic-host-ssl

host_name   www.ssldomain.com

}

This assigned the host www.ssldomain.com
  to the hostgroup SSLDomains, along with the
defaults for that domain.

 

SSLDomains get tested for "HTTP by NAME" and "SSL Cert" - the
former is obvious, and the second checks for existence off a SSL cert,
and Crits if it is expired or will expire soon, warns if it  expires in
the next month, and says OK otherwise.

 

What I would like to do, is setup a service dependency so that I
am not warned about a missing SSL cert, if HTTP is down.  Looking
through the docs, it appears that the following MAY work:

 

define servicedependency{

hostgroup_name  SSLDomain

service_description HTTP by NAME

dependent_hostgroup_nameSSLDomain

dependent_service_description   SSL Cert

execution_failure_criteria  n

notification_failure_criteria   c,w,u

}

 

Looking at the documentation, though, this might not work

 

It appears that in this case the SSL Cert warnings will not go
down if ANY of the HTTP by NAMES are down Is this the case? 

 

Any easy ways to accomplish this?

 

Thanks,

 

 

JEFF CHAPIN 
SYSTEM ADMINISTRATOR 

T8DESIGN.COM | P 319.266.7574 - x267 | 877.T8IDEAS | F 888.290.4675


This e-mail, including attachments, is covered by the Electronic
Communications Privacy Act, 18 U.S.C. 2510-2521, is confidential, and
may be legally privileged. If you are not the intended recipient, you
are hereby notified that any retention, dissemination, distribution, or
copying of this communication is strictly prohibited. Please reply to
the sender that you have received the message in error, and then please
delete it. Thank you.

 

<>-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
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] Version problem

2007-07-18 Thread Shivkumar
Hi,
Simplest way to isolate the problem is to type/paste the complete url to
the tac.cgi or status.cgi in your address bar.
At the same time, open up a terminal window (xterm etc) and do a tail -f
/var/log/apache/error.log (or wherever your apache error logs are).
This will show you in realtime where you are going wrong. Also it would
help if you could post the relevant portions of the error log (not the
whole file) along with your post.
Reposting the same problem seldom helps, our crystal balls can only see
so much.

Regards,
Shiv



Gagandeep Singh said the following:
> Hi Abhishek I am having the same problem and keep on getting denied
> when i try to access /localhost/nagios/cgi-bin/ ..  I dont know what
> is the problem.  Make sure you have the selinux disabled.  But that
> didnt do it for me.  I followed the documentation exactly as stated @
> nagios.org.  Still no luck.  I also tried google but didnt help.
>  
> Anybody have any idea what could be wrong.
>  
> Gagan Rakkar
>
> */Abhishek V <[EMAIL PROTECTED]>/* wrote:
>
>
> Hi
>
> Currently i m trying to run nagios on Fedora version2 with kernel
> version2.6 it configured properly but when i m trying out to
> access the cgi part it giving error Permission denied in
> /usr/local/nagios/sbin/tac.cgi and /usr/local/nagios/sbin/status.cgi
>
> I have also checked that the permission to these files are proper
> or not. Also added nagios and apache to the same group
> but even after all this no luck ..
>
> Kindly help..
>
> Abhishek Vyas
> Tata Consultancy Services
> Mailto: [EMAIL PROTECTED]
> Website: http://www.tcs.com
> 
> Experience certainty.IT Services
>Business Solutions
>Outsourcing
> 
>
> =-=-=  Notice: The information contained in this 
> e-mail  message and/or
>  attachments to it may contain   confidential or privileged information. 
> If you are   not the intended recipient, any dissemination, use,   review, 
> distribution, printing or copying of the   information contained in this 
> e-mail message   and/or attachments to it are strictly prohibited. If   you 
> have received this communication in error,   please notify us by reply e-mail 
> or telephone and   immediately and permanently delete the message   and any 
> attachments. Thank you  
>
> -
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> 
> http://sourceforge.net/powerbar/db2/___
> 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
>
>
> 
> Need a vacation? Get great deals to amazing places
> on
> Yahoo! Travel.
> 
>
> -
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> 
>
> ___
> 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
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
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