RE: [Nagios-users] Nagios - Newbie

2006-04-04 Thread Curtis Herrmann








Thanks, I have received several replies
with great information, but this is the direction my question was aimed at. Do
you have any recommendations as to what is needed? I planned to select the Minimal
Install from the installer, and then only install the packages that were
needed One of my main questions is What are the packages that are
needed? (as a base not directly related to the Nagios package or
Plugins..



I also have seen that many times the
version (Apache, and other programs) that RedHat or Fedora installs is not
necessarily the latest version I would like feedback as to whether it is
better to go with the newest version, or if it is better to stay with the Older
Versions



I think it would be cool to have a
KickStart file, and Post Installation Script to have a machine primed and ready
to go for a Nagios install.



I have also received some good
feedback about whether to use the precompiled RPMs or to compile. The
official Doc that I am reading from the Nagios site details the compile
it yourself instructions but I have received a couple of
responses recommending to use the precompiled versions.



I also want to thank everyone who
has responded, the help is much appreciated. Jim Perrin sent me a link to his
document and it was very helpful. I think that it will generate some questions
with me, but I will try to save most of them till I have tried a few things
one question though about the doc.



On Jims document it lists
default install directories as:



/usr/share/

/usr/lib/nagios/

/etc/

I may have missed some???



The doc that I am reading from the Nagios
site seems to imply to me that the directory structure starts with a base
directory of:



/usr/local/nagios/



Then that I should have 5 directories in
this base directory: (page 14)



/usr/local/nagios/bin

/usr/local/nagios/etc/

/usr/local/nagios/sbin/

/usr/local/nagios/share/

/usr/local/nagios/var/



I assume that the difference could
be attributed to personal preference and the compile time options???



Also, in Jims document it
states:





What youll have at this point is a nagios directory in
/usr/share/ which contains the html interface for yum, hosted through
apache.



Can someone explain the significance
of the html interface for yum to me. Or is this possibly a
typo and should be the html interface for Nagios.



And I want to say that I am not
trying to pick at Jims Doc I think it is great, it has been
really helpful for me to read, and has got me thinking. Im just
trying to digest it and learn it right the first time.



Thanks in advance.

Curtis













From: Morris, Patrick
[mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 04, 2006
12:16 AM
To: Curtis Herrmann;
nagios-users@lists.sourceforge.net
Subject: RE: [Nagios-users] Nagios
- Newbie





Ive found a good general practice,
for just about any type of server, is to start with a minimal install.
Then, as you put the server together, add packages as you need them. It
may be a bit slower and more involved than just selecting from a list during a
GUI install, but it gives you exactly what you need without any extra junk you
dont.











From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Curtis Herrmann
Sent: Monday, April 03, 2006 4:47
PM
To:
nagios-users@lists.sourceforge.net
Subject: [Nagios-users] Nagios -
Newbie





I am currently digesting the documentation for Nagios 2.0
from the Nagios Website. I intend to start my first installation after I finish
reading the documentation which seems to be very straightforward.



The question that I have is in reference to the base
OS installation. I will be using Fedora Core 4, and would like to ask if there
are any recommendations or documents about a box specifically dedicated to
Nagios.



Example: Should I accept the Web Servers
default installation from Anaconda, or should I download a specific Apache version
from any particular place etc. Same question with Compiler installs. 



These questions all in the context of what is best for
a foundation for a Nagios box.



Kind Regards,

Curtis








Re: [Nagios-users] documentation/tutorial for configuring nrpe or ncsa for monitoring remote servers(windows/linux/unix)

2006-04-04 Thread Frank Thyes
+++ ankush grover [Tue, Apr 04, 2006 at 06:59:06AM CEST]:
 
 I did not find the documentation or tutorial for nrpe or ncsa for monitoring
 remote servers in Nagios Documentation.I am using Nagios on Centos 4.0 and
 want to monitor Windows,Linux and Unix servers  clients.

Download the nrpe Plugin and follow the instructions in den README.

Cheers
Frank
-- 
Nature always sides with the hidden flaw.


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
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] Monarch vs. Fruity GUIs (was) which nagios config gui are you using?

2006-04-04 Thread Dhawal Doshy

Peter Mui wrote:
[SNIP]

*  Fruity is simpler to use, and is probably the better choice for the 
new Nagios user:  however, it only supports Nagios 1.x at the 
moment: http://sourceforge.net/projects/fruity


You must be mistaken.. fruity only supports nagios 2.x, from the fruity 
1.0 rc1 Install.txt


REQUIREMENTS:
Nagios v2.0
- Nagios v1.x support is no longer supported.
- You can import v1.x configs, however.

- dhawal

Both can be used stand-alone: that is, Monarch works with Nagios even if 
you choose not to implement the rest of GroundWork Open Source.


HTH, -Peter

Peter Mui
Open Source Community Advocate
GroundWork Open Source
139 Townsend Street, Suite 100
San Francisco, CA 94107
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
+1 415 992 4573



---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
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 2.1 unstable?

2006-04-04 Thread Ian Chard
Hugo van der Kooij wrote:
 Hi,
 
 I am just building a new server with Nagios 2.1 and it seems to topple
 over quite easily. At present it only lasts about 5 to 10 seconds.
 
 The syslog consistently shows:
 
 Apr  3 23:40:18 arwen.waakhond.net nagios: SERVICE FLAPPING ALERT:
 arwen;MYSQL;STARTED; Service appears to have started flapping (23.4%
 change = 20.0% threshold)
 Apr  3 23:40:18 arwen.waakhond.net nagios: Caught SIGSEGV, shutting
 down...

Hi,

I also had this problem for a while, but it seems to have settled down.
 I ran it under a debugger for a few days and the damn thing refused to
crash!  :-)

- Ian

-- 
Ian Chard, Unix  Network Administrator   |  E: [EMAIL PROTECTED]
Systems and Electronic Resources Service  |  T:  80587 / (01865) 280587
Oxford University Library Services|  F:  (01865) 242287


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
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 - Newbie

2006-04-04 Thread Jim Perrin
 Thanks, I have received several replies with great information, but this is
 the direction my question was aimed at. Do you have any recommendations as
 to what is needed? I planned to select the Minimal Install from the
 installer, and then only install the packages that were needed… One of my
 main questions is What are the packages that are needed? (as a base… not
 directly related to the Nagios package or Plugins..

I'd question the use of FC4 strictly from a lifetime approach. With
FC5 out now, core 4 has about 6 months left. a RHEL 4 rebuild like
centos or scientific linux will last you until 2012.  As to your
question of installs, you can choose the minimum install, and then use
yum to get everything else if you use the Extras package. That's a
fine course of action. Nagios doesn't need much beyond fping, perl,
net-snmp-utils and httpd.

  I also have seen that many times the version (Apache, and other programs)
 that RedHat or Fedora installs is not necessarily the latest version… I
 would like feedback as to whether it is better to go with the newest
 version, or if it is better to stay with the Older Versions

For nagios specifically this doesn't really matter. For server
maintenance standards it depends on your goals. A RHEL rebuild is
designed to be stable and provide several years of enterprise service
where 'new' isn't always what you want. Fedora, gentoo and others move
more rapidly. For me, rapid movement isn't what I want in a machine
for monitoring. I want it to last, and provide a baseline for
everything else.


  I think it would be cool to have a KickStart file, and Post Installation
 Script to have a machine primed and ready to go for a Nagios install.

Indeed, and such a thing is easy. But kickstarts are generally for
mass repetitive installs, or machines that are rebuilt quickly. In
most environments, this doesn't describe the machine you're using for
monitoring others.

  I have also received some good feedback about whether to use the
 precompiled RPM's or to compile. The official Doc that I am reading from the
 Nagios site details the compile it yourself instructions… but I have
 received a couple of responses recommending to use the precompiled versions.

The nagios documentation is very much generic *nix instruction, and is
quite thorough and very good. It's the generic nature of it though
that leads to the discussion. I recommend that people follow the
packaging method of their distribution of choice as much as possible.
If you use an rpm based system, use or make an rpm of nagios. If
you're a debian fan, make or use a deb of nagios. This simplifies the
overall system maitenance requirements and you can use the same tools
for every package. If you work in an environment like I do that
requires software audits periodically, rpm and other package tools
make it easier than saying Well some are over here, and there are
some others over in this general area.

  I also want to thank everyone who has responded, the help is much
 appreciated. Jim Perrin sent me a link to his document and it was very
 helpful. I think that it will generate some questions with me, but I will
 try to save most of them till I have tried a few things… one question though
 about the doc.



  On Jim's document it lists default install directories as:



 /usr/share/

 /usr/lib/nagios/

 /etc/

 I may have missed some???

Yes, but that's because I didn't document them. My guide was meant to
be taken with the nagios documentation, and I only mentioned what I
felt people needed to know to get nagios off the ground.

The nagios rpm I describe has things in:
/etc/httpd/conf.d/nagios  - the included apache config for
authentication/access control.
/etc/nagios, /etc/rc.d/init.d/nagios to start and stop the nagios
service,  /usr/bin/ where the nagios and nagiosstats binaries are,
/usr/lib/nagios for plugins and the cgis, /usr/share/doc/nagios and
/usr/share/nagios for the documentation and web interface.


  I assume that the difference could be attributed to personal preference and
 the compile time options???

And distribution type customizations, similar to how apache is set up
on rhel,fedora etc.

  Also, in Jim's document it states:


 What you'll have at this point is a nagios directory in /usr/share/ which
 contains the html interface for yum, hosted through apache.
  Can someone explain the significance of the html interface for yum to
 me…. Or is this possibly a typo and should be the html interface for
 Nagios.

Yeah. I have a typo in there. Thanks for catching it, I'm fixing it now.


  And I want to say that I am not trying to pick at Jim's Doc… I think it is
 great, it has been really helpful for me to read, and has got me thinking….
 I'm just trying to digest it and learn it right the first time.

My doc was just to cover the rpm based approach, and to work with the
existing documentation. If it got you thinking then that's what
matters. If there are things I need to include or correct, by all
means 

[Nagios-users] Errors in my log since upgrade to 2.1

2006-04-04 Thread Gabriel Matthews
I upgraded to Nagios 2.1 over the weekend, and since then, I've been 
having some problems.  It runs fine during the day, handles 
notifications fine, everything works great.  When I come in the next 
day, the process has stopped, and the log file is full of this:


[1144102973] Warning: The check of service 'ping' on host 'pmad-sw-01' 
could not be performed due to a fork() error.  The check will

 be rescheduled.
[1144102973] Warning: The check of service 'ping' on host 'pkc-rt-01' 
could not be performed due to a fork() error.  The check will

be rescheduled.
[1144102973] Warning: The check of service 'ping' on host 'pcc-sw-a9' 
could not be performed due to a fork() error.  The check will

be rescheduled.
[1144102973] Warning: The check of service 'ping' on host 
'evvlinlwt-ert-01' could not be performed due to a fork() error.  The 
check will be rescheduled.



And I mean full.. I monitor 87 hosts / 171 services, and it makes that 
log file a monster to dig through to find anything besides these errors.


My 'ping' check is as follows:

# 'check_ping' command definition
define command{
command_namecheck_ping
command_line$USER1$/check_ping -H $HOSTADDRESS$ -w $ARG1$ 
-c $ARG2$ -p 3

}

And

[EMAIL PROTECTED] libexec]# ./check_ping -help
check_ping (nagios-plugins 1.4.2) 1.49


Any ideas?




--

 † Gabriel Matthews
   Senior Network Support Technician
   Cinergy Communications



---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
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] Errors in my log since upgrade to 2.1

2006-04-04 Thread Marco Ramos

Hi,

try to tune your max_concurrent_checks and service_reaper_frequency.
Take a look at http://www.nagios.org/faqs/viewfaq.php?faq_id=115

HTH,
Marco Ramos

On Tue, 2006-04-04 at 08:08 -0500, Gabriel Matthews wrote:
 I've been 
 having some problems.  It runs fine during the day, handles 
 notifications fine, everything works great.  When I come in the next 
 day, the process has stopped, and the log file is full of thi



---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
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


R: [Nagios-users] start a script automatically

2006-04-04 Thread Marco Borsani



I followed istructions on the 
manual.

When Nagios try to run the command, in the 
nagios.logI still read :

Warning: Attempting to execute the command 
"/usr/local/nagios/libexec/eventhandlers/restart-http 


ls -la 
/usr/local/nagios/libexec/eventhandlers/restart-http
-rwxr-xr-x 1 
root sys  489 Apr 4 
15:06 
/usr/local/nagios/libexec/eventhandlers/restart-http

Any 
idea?
Marco

  
  
  Da: [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED] Inviato: lunedì 3 aprile 2006 
  14.01A: Marco BorsaniCc: 'NAGIOS'; 
  [EMAIL PROTECTED]Oggetto: Re: [Nagios-users] 
  start a script automatically
  Look into event handlers. 
  Joe Petrucci Office: 
  704-383-6089Cell : 724-462-0443
  


  "Marco Borsani" 
[EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 
04/03/2006 07:57 AM 
  

  
  

  To
"'NAGIOS'" 
  nagios-users@lists.sourceforge.net 
  

  cc

  

  Subject
[Nagios-users] start a 
  script automatically

  
  

Hi all!Is it possible to start a script automatically on a 
  remote host in case of aparticolar event?For example, if nagios 
  detects that process "named" on a DNS server is down,will Nagios can run a 
  remote command on that server to restart the 
  process?RegardsMarco Borsani 
 Unix  
  Monitoring System AdministratorTechnical OperationTel.  
  +39 010 4310115Fax   +39 010 4327454E-mail: 
  [EMAIL PROTECTED]ITnet S.r.l. - Direzione e Coordinamento di WIND 
  Telecomunicazioni S.p.A.Internet Service ProviderSede legale:  
   Via C.G.Viola, 
  48 - 00148 RomaDir. Centrale e Amministrativa: 
   Via Pacinotti, 39   
 
  16151 Genova 
  (Italy) 
 

  http://www.it.net 
 mailto:[EMAIL PROTECTED] 
  ___Altre 
  sedi ITnet:MILANO tel.: +39 02 30114900  
  [EMAIL PROTECTED]ROMA  tel.: +39 06 83116707  
  [EMAIL PROTECTED]___ITnet 
  is associated to CIX (Commercial IP eXchange) and RIPEITnet is associated 
  to AIIP (Associazione Italiana Internet 
  Providers)---This 
  SF.Net email is sponsored by xPML, a groundbreaking scripting languagethat 
  extends applications into web and mobile media. Attend the live webcastand 
  join the prime developer group breaking into this new coding 
  territory!http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642___Nagios-users 
  mailing 
  listNagios-users@lists.sourceforge.nethttps://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/nullForwardSourceID:NT00014CEE   



Re: R: [Nagios-users] start a script automatically

2006-04-04 Thread joseph . petrucci

The ID and group you start the Nagios
process with must have full permissions on the file that needs executed
as well as the directory. I usually have NAgios and the group own the directory
and files and have a 754 permission on them

Joe Petrucci 
Office: 704-383-6089
Cell : 724-462-0443






Marco Borsani
[EMAIL PROTECTED] 
04/04/2006 10:04 AM





To
[EMAIL PROTECTED]


cc
'NAGIOS' nagios-users@lists.sourceforge.net


Subject
R: [Nagios-users] start a
script automatically








I followed istructions on the
manual.

When Nagios try to run the command,
in the nagios.log I still read :

Warning: Attempting to execute
the command /usr/local/nagios/libexec/eventhandlers/restart-http


ls -la /usr/local/nagios/libexec/eventhandlers/restart-http
-rwxr-xr-x  1 root 
  sys   489 Apr 4 15:06 /usr/local/nagios/libexec/eventhandlers/restart-http

Any idea?
Marco

Da: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] 
Inviato: lunedì 3 aprile 2006 14.01
A: Marco Borsani
Cc: 'NAGIOS'; [EMAIL PROTECTED]
Oggetto: Re: [Nagios-users] start a script automatically


Look into event handlers. 

Joe Petrucci 
Office: 704-383-6089
Cell : 724-462-0443





Marco Borsani
[EMAIL PROTECTED] 
Sent by: [EMAIL PROTECTED] 
04/03/2006 07:57 AM






To
'NAGIOS'
nagios-users@lists.sourceforge.net 


cc



Subject
[Nagios-users] start a script
automatically










Hi all!

Is it possible to start a script automatically on a remote host in case
of a
particolar event?

For example, if nagios detects that process named on a DNS
server is down,
will Nagios can run a remote command on that server to restart the process?

Regards

Marco Borsani 
  
Unix  Monitoring System Administrator
Technical Operation
Tel.  +39 010 4310115
Fax   +39 010 4327454
E-mail: [EMAIL PROTECTED]

ITnet S.r.l. - Direzione e Coordinamento di WIND Telecomunicazioni S.p.A.
Internet Service Provider
Sede legale: 
 Via C.G.Viola, 48 - 00148 Roma
Dir. Centrale e Amministrativa:  
   Via Pacinotti, 39
  
  
 16151 Genova (Italy)
  
  

http://www.it.net
   
mailto:[EMAIL PROTECTED] 
___
Altre sedi ITnet:
MILANO tel.: +39 02 30114900  [EMAIL PROTECTED]
ROMA  tel.: +39 06 83116707  [EMAIL PROTECTED]
___
ITnet is associated to CIX (Commercial IP eXchange) and RIPE
ITnet is associated to AIIP (Associazione Italiana Internet Providers)




---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
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

ForwardSourceID:NT00014CEE   
ForwardSourceID:NT000151D2
 


RE: [Nagios-users] start a script automatically

2006-04-04 Thread Marc Powell


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:nagios-users-
 [EMAIL PROTECTED] On Behalf Of Marco Borsani
 Sent: Tuesday, April 04, 2006 9:04 AM
 To: [EMAIL PROTECTED]
 Cc: 'NAGIOS'
 Subject: R: [Nagios-users] start a script automatically
 
 I followed istructions on the manual.
 
 When Nagios try to run the command, in the nagios.log I still read :
 
 Warning: Attempting to execute the command
 /usr/local/nagios/libexec/eventhandlers/restart-http  
 
 ls -la /usr/local/nagios/libexec/eventhandlers/restart-http
 -rwxr-xr-x   1 root   sys 489 Apr  4 15:06
 /usr/local/nagios/libexec/eventhandlers/restart-http
 
 Any idea?

Not without the rest of the error that you chopped off. What's the
'' part? That's probably the most useful bit of information. You've
been on the list long enough to know we need more information than that
;)

Can you run restart-http as the nagios user? Show us the command and
service definition. Verify that you're using full paths for commands
used within restart-http. Detail what restart-http is doing
specifically.

--
Marc


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid0944bid$1720dat1642
___
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] automatic discovery of windows services

2006-04-04 Thread M V Ajay (vMoksha)
Title: automatic discovery of windows services






Hi All,


Is there any way (tool) to discover all services running on a Windows box and prepare Nagios configuration files to enable monitoring of all windows services?

Thanks and in advance!


Ajay



- 
Legal Notice: This electronic mail and its attachments are intended solely for the person(s) to whom they are addressed and contain information which is confidential or otherwise protected from disclosure, except for the purpose for which they are intended. Dissemination, distribution, or reproduction by anyone other than the intended recipients is prohibited and may be illegal. If you are not an intended recipient, please immediately inform the sender and return the electronic mail and its attachments and destroy any copies which may be in your possession. UCB screens electronic mails for viruses but does not warrant that this electronic mail is free of any viruses. UCB accepts no liability for any damage caused by any virus transmitted by this electronic mail. 

-





[Nagios-users] (no subject)

2006-04-04 Thread [EMAIL PROTECTED]
Hi,
I must install nagios standard plugins from the source code, but I
installed openldap in non-standard directory.
Can someone help me?
Regards
Carlo


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
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] ORACLE instance and CHECK_NRPE: No output returned from daemon

2006-04-04 Thread Sandeep Narasimha Murthy
Hello,

My command is invoking a script which verifies the state of an Oracle instance. 
My problem is when I invoke this command, I get a 
CHECK_NRPE: No output returned from daemon   Error. The problem has to be with 
invoking this script because if I substitute the code in the script with just 
an echo, it works fine.

I tried implementing what I had posted below earlier on but it doesn't work in 
this case.

Any ideas/ suggestions ??

thanks

sg

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sandeep 
Narasimha Murthy
Sent: quinta-feira, 30 de Março de 2006 16:51
To: nagios-users@lists.sourceforge.net
Subject: RE: [Nagios-users] NRPE: Unable to read output Problems

Hi again,

I solved the problem and thought I should share this here..

The reason I was getting an Unable to read Output error was because the output 
generated by the called script was not being deciphered by nagios. I had some 
java commands in the script and possibly Nagios couldn't invoke them..

I solved the issue by creating a new script which then invoked the main script 
and then read its contents back to nagios. 

sg

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sandeep 
Narasimha Murthy
Sent: quinta-feira, 30 de Março de 2006 11:30
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] NRPE: Unable to read output Problems

Hi all,

I installed a new script in a remote server but on trying to invoke it
from my Nagios host with the command : 

./check_nrpesun -H 192.168.5.10  -p 5666 -t 5 -c check_wlheap

I get a NRPE: Unable to read output  message.

Now, before anybody suggests that I check the file and directory
permissions, I have already done that and confirmed and reconfirmed that
the script has the proper permissions. :)

I have a number of scripts running on this remote server and all of them
run fine except for this one. All have the same permissions and are
configured Ok in the nrpe.cfg.

Is there anything else I should check for ?

TIA,

sg


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=kkid0944bid$1720dat1642
___
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 xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=kkid0944bid$1720dat1642
___
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 xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid0944bid$1720dat1642
___
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] integrating swatch with nagios

2006-04-04 Thread tomvo
Hi,

I'm trying to integrate swatch in nagios (via passive checks, I want 
swatch as a reaction to a 'hit' run the submit_check_result into a passive 
check).

But I'm having a lot of problems with the commandline parameters. for 
example, swatch offers the $_ parameter containing the entire line from 
e.g. a solaris message file. But these files then to contain characters 
that are interpreted by the shell such as [ and ' and whatever.

Basicly, I want to search a logfile for a regular expression, and if 
there's a match, I want the entire line to be sent to nagios (preferrably 
via a passive check).
I do not want to use the nagios plugin checklog because it's too kludgy 
for my taste.

How do you integrate logfile parsing in to nagios ? I've installed SEC 
also (http://simple-evcorr.sourceforge.net) but it appears to be far too 
complex for my needs.


Thanks for your input on this matter.


regards,
Tom.



---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
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] (no subject)

2006-04-04 Thread Carlo

 Have you looked at the output of ./configure --help? There
 should be a line in there to specify the LDAP location.

 -Jason Martin
There isn't a possinility to specify the LDAP location, but only mysql, 
postgresql and openssl


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
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_service_freshness on central/distributed

2006-04-04 Thread Kyle Tucker
I've set up a distributed server with freshness checks
for each service being submitted passively set to 1 on
the central server. But in the main nagios.cfg on each
server (central and distributed), what should the global 
check_service_freshness parameter be set to? I don't see 
anything definitive on the page for setting up 
distributed server. Thanks.

-- 
- Kyle 
-
[EMAIL PROTECTED]   http://www.panix.com/~kylet
-


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
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] Summary Overview

2006-04-04 Thread Brian Hellman
Back in the 1.2 release I asked about a feature to email me a status 
summary of what is happening on the network. Someone replied saying that 
it should be implemented in 2.0, however I can't find anything about it. 
Does someone know if this feature is implemented or if it is still in 
the process?



---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
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] Context help?

2006-04-04 Thread Hugo van der Kooij
Hi,

I noticed there is a context help but the isn't any data in it. As I am a
lousy programmer I will try to update this section and present you with
the results.

Just curious how popular the concept of this feature is to see how high I
will scale it on my to-do list.

I will dump some experimental ones on http://hvdkooij.xs4all.nl/NAGIOS/
for thos who wish to test them. Just remove my initials from the filename
again to fit them in your Nagios system. (Mainly a security feature so I
will not overwrite in an upgrade.)

Hugo.

-- 
I hate duplicates. Just reply to the relevant mailinglist.
[EMAIL PROTECTED]   http://hvdkooij.xs4all.nl/
Don't meddle in the affairs of magicians,
for they are subtle and quick to anger.


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
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] Nagios 2.1 problems.

2006-04-04 Thread Marcel Mitsuto Fucatu Sugano
Watching the list activity gives me an impression about the new 2.1
release of Nagios. I have just downgraded to 2.0 version because of some
problems with retention setup, and I am also not confortable with the
fact of many reports on service flapping detection problems.

Is there anyone having status retention problem, or i am alone with
that? Or, should I ask, Is there anyone with retention setup using
Nagios 2.1?

Thanks in advance.

Marcel.


AVISO: A informação contida neste e-mail, bem como em qualquer de seus anexos, 
é CONFIDENCIAL e destinada ao uso exclusivo do(s) destinatário(s) acima 
referido(s), podendo conter informações sigilosas e/ou legalmente protegidas. 
Caso você não seja o destinatário desta mensagem, informamos que qualquer 
divulgação, distribuição ou cópia deste e-mail e/ou de qualquer de seus anexos 
é absolutamente proibida. Solicitamos que o remetente seja comunicado 
imediatamente, respondendo esta mensagem, e que o original desta mensagem e de 
seus anexos, bem como toda e qualquer cópia e/ou impressão realizada a partir 
destes, sejam permanentemente apagados e/ou destruídos. Informações adicionais 
sobre nossa empresa podem ser obtidas no site http://sobre.uol.com.br/.

NOTICE: The information contained in this e-mail and any attachments thereto is 
CONFIDENTIAL and is intended only for use by the recipient named herein and may 
contain legally privileged and/or secret information. If you are not the 
e-mail´s intended recipient, you are hereby notified that any dissemination, 
distribution or copy of this e-mail, and/or any attachments thereto, is 
strictly prohibited. Please immediately notify the sender replying to the above 
mentioned e-mail address, and permanently delete and/or destroy the original 
and any copy of this e-mail and/or its attachments, as well as any printout 
thereof. Additional information about our company may be obtained through the 
site http://www.uol.com.br/ir/.


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid0944bid$1720dat1642
___
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