[Nagios-users] Service is not scheduled to be checked

2007-06-21 Thread adi yesaya
Dear Nagios users, I have tried to schedule Nagios to run checks at 23:00-01:00. I defined it at the time period as such: define timeperiod{ timeperiod_name midnight alias Check at night only sunday 23:00-01:00 monday

Re: [Nagios-users] Nagios Looking Glass Permissions

2007-06-21 Thread andy . shellam-lists
Hi Don, NLG needs the following permissions set for the web-server user: In /server: - read access to the whole directory - write access to ./index In /client: - read access to the whole directory - write access to the root (./) of this directory - write access to ./sync-files - write

Re: [Nagios-users] Soft critical state and sound alarms (Jim Avery)

2007-06-21 Thread Linuxale
If you are using the Firefox browser, I can recommend the nagioschecker firefox extension which was mentioned here recently. It permits you to filter in various ways what states will be displayed and when sounds will be played. http://code.google.com/p/nagioschecker/ Hi Jim, thanks this

Re: [Nagios-users] Service is not scheduled to be checked

2007-06-21 Thread Arno Lehmann
Hi, On 6/21/2007 11:52 AM, adi yesaya wrote: Dear Nagios users, I have tried to schedule Nagios to run checks at 23:00-01:00. I defined it at the time period as such: define timeperiod{ timeperiod_name midnight alias Check at night only

Re: [Nagios-users] Nagios Message Acknowledgment

2007-06-21 Thread Marc Powell
-Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of Nedim Bicic Sent: Wednesday, June 20, 2007 7:57 PM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Nagios Message Acknowledgment Hi all i have nagios 2.4 i was

[Nagios-users] Notification Question

2007-06-21 Thread Sapon, Dimitry
Hi, I have a criteria that only the first two non-OK Hard State notifications need to be sent out (at whatever the specified interval is). Afterwards, it's enough that it just keeps logging it with Nagios. I thought I could get this done via escalations whereby I set the first escalation to sent

Re: [Nagios-users] nagios Caught SIGSEGV, shutting down

2007-06-21 Thread Marco Ramos
Hi, try to strace it when you start it and look for potential errors. HTH, Marco Ramos On Wed, 2007-06-20 at 13:53 -0700, Kevin Zhang wrote: I am using nagios 2.2 and RedHat 9.0. It has been working fine until recently when sometimes I cann't start the Nagios. It says:

Re: [Nagios-users] Soft critical state and sound alarms (Jim Avery)

2007-06-21 Thread Marco Ramos
Hi, On Thu, 2007-06-21 at 12:20 +0200, Linuxale wrote: If you are using the Firefox browser, I can recommend the nagioschecker firefox extension which was mentioned here recently. It permits you to filter in various ways what states will be displayed and when sounds will be played.

Re: [Nagios-users] nagios Caught SIGSEGV, shutting down

2007-06-21 Thread Kevin Zhang
Thanks Marco for the email. Actually, I was watching the nagios.log while I started nagios. And the the log show: [1182281997] Nagios 2.2 starting... (PID=4108) [1182281997] LOG VERSION: 2.0 [1182281997] Warning: Size of service_message struct (3484 bytes) is POSIX-guaranteed atomic write size

[Nagios-users] Sharing local/remote machine .cfg

2007-06-21 Thread Alain Williams
I am relatively new to Nagios, I am setting up a group of Linux machines that all send reports to a central monitoring one with nsca. I have a separate .cfg file for each machine, I would like to share this file between remote and central machines - so that if I change anything I just copy it

[Nagios-users] snmp community option in host definition?

2007-06-21 Thread James Whittington
I am faced with the potential of having to monitor different remote networks with primariliy custom perl based snmp checks. The tricky part of this is that different networks may have different SNMP community names. While I could create different service definitions for each different

Re: [Nagios-users] Sharing local/remote machine .cfg

2007-06-21 Thread Marc Powell
-Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of Alain Williams Sent: Thursday, June 21, 2007 9:50 AM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Sharing local/remote machine .cfg I am relatively new to Nagios, I

Re: [Nagios-users] snmp community option in host definition?

2007-06-21 Thread william(at)elan.net
1. N3 will/does support custom macros 2. I've seen (or heard) somewhere patch to add snmp community name to host 3. Many are doing it using hostgroup names and then have a map file with community names loaded from it (and then also not seen when you do ps on the box!!!) On Thu, 21 Jun

Re: [Nagios-users] snmp community option in host definition?

2007-06-21 Thread Marc Powell
-Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of James Whittington Sent: Thursday, June 21, 2007 10:06 AM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] snmp community option in host definition? I am faced with the

Re: [Nagios-users] Soft critical state and sound alarms (Jim Avery)

2007-06-21 Thread S-linuxale
Hi Marco, can you show me how do you do that? I will be very happy...If I can avoid to redo what you have already done :-) Can we propose to add this functionality in the new release! Thanks Alex On Thu, 2007-06-21 at 15:04 +0100, Marco Ramos wrote: Hi, On Thu, 2007-06-21 at 12:20 +0200,

Re: [Nagios-users] snmp community option in host definition?

2007-06-21 Thread Curtis Frazier
Off the top of my head, maybe the scripts could be edited so that you could pass the community string to the script from the service definition. For example, here's one that I use: define service{ use chkifoperstatus-service host_name

Re: [Nagios-users] Nagios Message Acknowledgment

2007-06-21 Thread Nedim Bicic
Do i have to stop nagios and restart it again for it to work thanks for the command thou On 6/21/07, Marc Powell [EMAIL PROTECTED] wrote: -Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of Nedim Bicic Sent: Wednesday, June 20, 2007

Re: [Nagios-users] Monitoring a page within a subdirectory.

2007-06-21 Thread Sean McAvoy
the check_http will return 200 (ok) if it was able to download the URL. You can also add a -s text or --string=text to return OK only if the string is found in the downloaded HTML. You'd probably want to setup a specific command for check_http searching for content as opposed to checking just

Re: [Nagios-users] Nagios Message Acknowledgment

2007-06-21 Thread Jim Perrin
On 6/21/07, Nedim Bicic [EMAIL PROTECTED] wrote: Do i have to stop nagios and restart it again for it to work Or reload nagios, yes. This is the case with most/all changes to config files. You have read the documentation, right? -- During times of universal deceit, telling the truth becomes a

Re: [Nagios-users] Sharing local/remote machine .cfg

2007-06-21 Thread Alain Williams
On Thu, Jun 21, 2007 at 10:08:27AM -0500, Marc Powell wrote: Macros are only available to command {} definitions. You can't use them anywhere else. Shame. What I do is to create a template in a new config file (templates.cfg for example) with the differing values and the hosts/services

Re: [Nagios-users] snmp community option in host definition?

2007-06-21 Thread James Whittington
Thanks for all who gave immediate feedback on having a snmp community option in nagios. It's good to know N3 will have the custom macro support, I am already doing some testing to see of the configuration interface my client is using will be able to play nicely with Nagios 3.x so the custom macro

Re: [Nagios-users] Perf data / Graphs

2007-06-21 Thread Palle Jensen
Arno, Then post, for example, the output you get for the memory checks, and I'll see how a regex should look that matches parts of the output. This is the output I get in nagios.log: [1181921420] Warning: Service performance data command 'echo 'server01\tMemuse\tMemory usage: total:4485.60 Mb

Re: [Nagios-users] Nagios Message Acknowledgment

2007-06-21 Thread Nedim Bicic
Hey this is the error i get when i try to debug the above command for the acknowledgement does anyone know why or how to fix it this is what i get: * nagios -v /etc/nagios/nagios.cfg* Nagios 2.4 Copyright (c) 1999-2006 Ethan Galstad (http://www.nagios.org) Last Modified: 05-31-2006 License:

Re: [Nagios-users] Nagios Message Acknowledgment

2007-06-21 Thread Marc Powell
-Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of Nedim Bicic Sent: Thursday, June 21, 2007 1:11 PM To: Jim Perrin Cc: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Nagios Message Acknowledgment Hey this is the

[Nagios-users] Nagios Message Acknowledgment

2007-06-21 Thread Palle Jensen
Could it be a spelling problem Acnkowledgement: - Acknowledgement? Error: Invalid command object directive '$HOSTACKAUTHOR$\nAcnkowledgement:'. - Palle _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Nedim Bicic Sent: Thursday, June 21, 2007 2:11 PM To: Jim

Re: [Nagios-users] Nagios Message Acknowledgment

2007-06-21 Thread Nedim Bicic
I wish it was that easy but its still not working regardless of spelling I changed it of course but same error * nagios -v /etc/nagios/nagios.cfg* Nagios 2.4 Copyright (c) 1999-2006 Ethan Galstad (http://www.nagios.org) Last Modified: 05-31-2006 License: GPL Reading configuration data...

Re: [Nagios-users] Nagios Message Acknowledgment

2007-06-21 Thread Adam Kennedy
What is the full config entry for that command? I fear you are not using printf when you should be. Nedim Bicic wrote: I wish it was that easy but its still not working regardless of spelling I changed it of course but same error * nagios -v /etc/nagios/nagios.cfg* Nagios 2.4

[Nagios-users] Plugin that will test nagios.cfg

2007-06-21 Thread chiel
I'm looking for a plugin that will check if the nagios.cfg is ok. So besecauly run this command: /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg. Is there a plugin for this? I want this because I reload the nagios config every 15 minutes through a cronjob. And I want to be

Re: [Nagios-users] Perf data / Graphs

2007-06-21 Thread Arno Lehmann
Hi, Palle Jensen schrieb: Arno, Then post, for example, the output you get for the memory checks, and I'll see how a regex should look that matches parts of the output. This is the output I get in nagios.log: [1181921420] Warning: Service performance data command 'echo

Re: [Nagios-users] Nagios Message Acknowledgment

2007-06-21 Thread Nedim Bicic
NO ERROR NICE !! Good job that was the mistake i just dont know weather i should reload nagios or restart it for it to take affect On 6/21/07, Adam Kennedy [EMAIL PROTECTED] wrote: Make sure there is no LF/CR (i.e. the enter button was hit) at the end of the line that has Acknowledged

Re: [Nagios-users] Nagios HTTP monitoring

2007-06-21 Thread Patrick Morris
On Thu, 21 Jun 2007, Jerad Riggin wrote: I'm new to Linux and new to Nagios so this may sound very stupid. Basically I have everything up and running, ping tests work, http tests work, and the smtp test I have setup works. If the host goes down I get a host down alert and a host up alert

Re: [Nagios-users] Nagios HTTP monitoring

2007-06-21 Thread Jerad Riggin
Is there any link to information about that? Like I said this is basically the 2nd day I've used Linux and Nagios so much of this seems like a different language to me. Thanks for the info. On 6/21/07, GJP [EMAIL PROTECTED] wrote: Hi Jerad, If you mean http auth, this is what I use. The

Re: [Nagios-users] Nagios HTTP monitoring

2007-06-21 Thread Jerad Riggin
More importantly, can I just specify a URL to check? The default site on the server in question directs you to CRM which requires auth. However on the same server we have an intranet site which doesn't require authorization. How would I go about just checking the intranet URL? On 6/21/07,

Re: [Nagios-users] Nagios Message Acknowledgment

2007-06-21 Thread Rev. Dr. Aaron M. Segura
Please always reply on-list. I would assume, then, that your contact isn't set up to use the 'host-notify-by-email' notification method... On Thu, 2007-06-21 at 17:04 -0400, Nedim Bicic wrote: YEA that was it but. For some reason when i acknowlege it, i dont see any comments or authors name i

Re: [Nagios-users] Nagios Message Acknowledgment

2007-06-21 Thread Marc Powell
-Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of Nedim Bicic Sent: Thursday, June 21, 2007 3:40 PM To: Adam Kennedy Cc: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Nagios Message Acknowledgment NO ERROR NICE

Re: [Nagios-users] Nagios Message Acknowledgment

2007-06-21 Thread Nedim Bicic
Yea i got it to work i had to stop and restart its working now thanks alot people this macro thing is too cool On 6/21/07, Marc Powell [EMAIL PROTECTED] wrote: -Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of Nedim Bicic Sent:

Re: [Nagios-users] Plugin that will test nagios.cfg

2007-06-21 Thread Thomas Guyot-Sionnest
On 21/06/07 05:20 PM, Patrick Morris wrote: Arno Lehmann schrieb am Donnerstag, den 21. Juni 2007: Hi, chiel schrieb: I'm looking for a plugin that will check if the nagios.cfg is ok. So besecauly run this command: /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg. Is

[Nagios-users] Migration of nagios comments and trends graphs

2007-06-21 Thread Rafael Alfaro
Hi all, I'm looking to migrate to another nagios version, but I want the same nagioscomment.log and trends graphs, I was trying to copy and paste the nagios files in the var directory, but this not works. Could you help me please? Thanks in advance, Rafael Alfaro.