[Nagios-users] how to configure notification in Nagios

2007-06-13 Thread Arun Sharma

i am using debian linux and Nagios version 2.3.1, i want to eneble
notification field and i enabld it and define the admin_email in main
cofiguration fil nagios.cfg. but i think some more settings shold be there
, how nagios will send mail automatically to a mail id . please help me what
is the procedure to configuring Nagios to send mail to a particular mail id.


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] AIX NRPE v2.5.1

2007-06-13 Thread Jim Avery
On 11/06/07, Steven Fishback [EMAIL PROTECTED] wrote:
 Any idea as to the problem?

Not to the problem, no.  As to the solution, is nrpe for AIX available
on nagiosexchange.org?  I've certainly downloaded nsca and the plugins
from there most of which work fine on 5.3.  I don't use nrpe myself.

-
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] Problems with distributed setup, master overload?

2007-06-13 Thread Jeffrey Lensen
Thanks, I'll see if that helps somewhat.

Jeffrey Lensen
System Administrator Hyves
hyves page: http://skyler.hyves.nl
mail/msn:   [EMAIL PROTECTED]



Robert Hajime Lanning wrote:
 quote who=Jeffrey Lensen
   
 Hello all,

 I recently extend our distributed Nagios setup of 1 master and 2
 distributed slaves (in which the master also had a lot of checks
 running), to 1 master and 5 distributed slaves (in which the master
 does no checking at all, except for host checks).
 

 Try this:

 Turn off host checks
 Just use a check_icmp service check, in place of the host check.


   
-
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] VPN Monitoring

2007-06-13 Thread Kerry Milestone
are looking at the VPN status.  basic at this stage, but whether it is
up or not. 

The checkpoint mib, OID, 1.3.6.1.4.1.2620 does not seem to have the vpn
status.

I am well aware that Checkpint provide their own monitoring solution,
but it would really be nice and useful to have it integrated into one
enterprise monitoring rather that disparate network monitoring systems.



Anthony Mendoza wrote:
 What are you trying to monitor on the VPN devices?  If you're using SNMP
 you can pretty much monitor anything you know the OID for using the
 check_snmp plugin.  If your Checkpoint VPN is running on a Linux server
 then anything exposed by the SNMP daemon is monitorable.
   


-
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] checking windows clients for hung state

2007-06-13 Thread Lalita Drolia
Hi,

I wanted to know how we can check for a situation in which we can ping
the machine but still not access it, in windows.

What I mean id that probably the machine is in a hung state and that is
why we can ping it but still not access it.

Please tell me what will be the best check for such a situation on
windows clients.

 

Kindly help.

Lalita

 

 


Notice:  This email message, together with any attachments, may contain 
information  of  BEA Systems,  Inc.,  its subsidiaries  and  affiliated 
entities,  that may be confidential,  proprietary,  copyrighted  and/or legally 
privileged, and is intended solely for the use of the individual or entity 
named in this message. If you are not the intended recipient, and have received 
this message in error, please immediately return this by email and then delete 
it.-
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] nagio ping script help needed

2007-06-13 Thread garylua
Hi, thanks for the prompt response. I am running 2 clusters, each at a 
different site. What i want to accomplish is this : Cluster A is running a a 
service and I don't want Cluster B to start at bootup if Cluster A is running. 
I was thinking of using nagios to detect the active cluster at bootup and 
disable the local cluster. If the local cluster cannot detect the other 
cluster, then it will startup. if not, it stays inactive.

In order not to simplify things, let's disregard the cluster. Assuming the 2 
servers A and B are physically apart, but can ping each other (different 
subnet). Can i prevent A from starting up if B is already started using Nagios?


--- Thomas Guyot-Sionnest [EMAIL PROTECTED] wrote:

 On 13/06/07 01:23 AM, [EMAIL PROTECTED] wrote:
  Hi, I'm currently using Redhat Enterprise Linux 4 and I've
 installed and configured nagios on 1 of my servers. I have a problem
 in coming up with a script for a scenario and I hope somebody here
 can help me.
  
  Assuming I have 2 servers, both running Nagios.Let's call them
 ServerA and ServerB. Both of them are initially configured in such a
 way that when they boot up, 3 redhat cluster services will be
 started : ccsd, cman and rgmanager. 
  
  I need to configure Nagios in such a way that in the situation
 that when ServerA is up and running the 3 services and ServerB boots
 up, the 3 services on ServerB will be disabled at bootup (in other
 words, let ServerB boot up without starting the 3 services). My
 concern is that I do not want more than 1 instance of the services
 being started up.
  
  Can Nagios be configured to accomplish this? I've already
 configure Nagios as a bootup service for Linux already. Thanks in
 advance for any help. 
 
 I don't get it. Cluster services are usually there for this kind of
 thing: making sure a service runs only once, or that no more than x
 instances are running... But now you want that king of control for
 the
 cluster services itself.. Are you trying to build a cluster of
 clusters???
 
 I have no experience of RedHat cluster but I did use LinuxHA, and
 you
 would run the cluster software on every nodes no matter if the
 clustered
 services will be running there or no. Maybe your cluster is not
 properly
 configured...
 
 Thomas
 

-
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] VPN Monitoring

2007-06-13 Thread Kerry Milestone
problem is, we can lose many VPNs to a node through diverse paths before
a device is unreachable thus pinging something at the other end is
probably not going to work as by the time the device is unreachable its
far too late and customer impacting. 

I am really after monitoring something which reports the status of the
VPN link, something like with a hardware interface where you can see if
there is a physical link present or not, and observe things like
flapping though for VPNs like either established or not.


Hugo van der Kooij wrote:
 On Tue, 12 Jun 2007, Kerry Milestone wrote:

   
 does anyone have any hints on how to monitor Checkpoint VPN status?
 Also of interest is how to monitor Sonicwalls, again preferably with
 SNMP trying to keep scripts and processing simple.  However I am
 guessing a little more in depth trickery such as checking traceroutes
 and routing tables may be required?  Am looking at star network
 topologies with multiple links and VPNs to each site.
 

 Use the VPN's to monitor a device on the other end. check_icmp should do 
 the trick.

 Hugo.
   

-
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] VPN Monitoring

2007-06-13 Thread John A. Sullivan III
On Tue, 2007-06-12 at 19:30 -0700, Anthony Mendoza wrote:
 What are you trying to monitor on the VPN devices?  If you're using SNMP
 you can pretty much monitor anything you know the OID for using the
 check_snmp plugin.  If your Checkpoint VPN is running on a Linux server
 then anything exposed by the SNMP daemon is monitorable.
 
 On 6/12/2007 9:03 AM, Kerry Milestone had said:
  Hello,
 
  does anyone have any hints on how to monitor Checkpoint VPN status? 
  Also of interest is how to monitor Sonicwalls, again preferably with
  SNMP trying to keep scripts and processing simple.  However I am
  guessing a little more in depth trickery such as checking traceroutes
  and routing tables may be required?  Am looking at star network
  topologies with multiple links and VPNs to each site.
 
  Any ideas would be kindly recieved.
 
  Regards,
  Kerry.
snip
We've found the most difficult part of monitoring VPNs has been tunnel
availability.  Because of the way IPSec works, we cannot trust the VPN
gateway's report that a tunnel is up as authoritative.  The tunnel may
be up from each gateway's perspective but they may be out of sync.  We
have resolved that problem pretty effectively for our environment.

We are not using Checkpoint or Sonicwalls.  Instead, we've been building
highly secure VPNs for both LAN-to-LAN and Remote Access using the ISCS
network security management project (http://iscs.sourceforge.net) with
either SecureComputing SG devices or home grown Linux gateways.

We have a script which pings across the tunnel with service dependencies
of both gateways.  This way, we test the real tunnel availability
instead of what the gateways think is the reality. Finally, we have an
agent which resets the tunnels if it does find them out of syn.  As a
result, even when tunnels go out of sync, the outage is usually between
30 and 180 seconds - less time than it would take us just to ascertain
what was wrong.  Hope that helps - John
-- 
John A. Sullivan III
Open Source Development Corporation
+1 207-985-7880
[EMAIL PROTECTED]

Financially sustainable open source development
http://www.opensourcedevel.com


-
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] VPN Monitoring

2007-06-13 Thread Michael Schwartzkopff
Am Mittwoch, 13. Juni 2007 11:02 schrieb Kerry Milestone:
 are looking at the VPN status.  basic at this stage, but whether it is
 up or not.

Hi,

What exactly do you want to monitor? You could use:

Monitoring (nagios):
cpvCurrEspSAsIn: IPsec current Inbound ESP SAs
cpvCurrEspSAsOut: IPsec current Outbound ESP SAs

Reporting  (MRTG):
cpvIpsecEspEncBytes: IPsec ESP encrypted bytes
cpvIpsecEspDecBytes: IPsec ESP decrypted bytes

You also could monitor tunnels with specific partners via cpvTnlMon.

Or do you want to monitor if vpn deamon is running?

-- 
Dr. Michael Schwartzkopff
MultiNET Services GmbH
Addresse: Bretonischer Ring 7; 85630 Grasbrunn; Germany
Tel: +49 - 89 - 45 69 11 0
Fax: +49 - 89 - 45 69 11 21
mob: +49 - 174 - 343 28 75

mail: [EMAIL PROTECTED]
web: www.multinet.de

Sitz der Gesellschaft: 85630 Grasbrunn
Registergericht: Amtsgericht München HRB 114375
Geschäftsführer: Günter Jurgeneit, Hubert Martens

---

PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B
Skype: misch42

-
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] sensor temperature

2007-06-13 Thread Arno Lehmann
Hi,

On 6/12/2007 10:19 AM, Marco Borsani wrote:
 
 
 Hi all.
 
  
 
 I am looking for a sensor to monitoring the temperature in our server 
 farms.
 
  
 
 Does anybody do it ?  How do you do it ?

Yes. Using the Environmental Monitoring facilities of the network cards 
for APC UPSes.

 Which sensor do you use ?

The ones APC supplies :-)

  
 
 I see on www.nagios.org http://www.nagios.org/ the Websensor EM01B, 
 but it is quite expensive ..

The APC stuff is also not exactly cheap, but if you want the network 
interface anyway, it's well worth its price.

 Does it work with Nagios 1.4 ?

Yes, just a matter of the plugin.

Arno

  
 
 Many thanks
 
  
 
 Marco Borsani
 Technical Operation
 
 tel.:+390104310115
 e-fax: +390683175950
 *[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
 
 ITnet S.r.l.
 Direzione e Coordinamento di Wind Telecomunicazioni S.p.A.
 Via Pacinotti, 39
 16151 - Genova
 
 
 In ottemperanza al D. lgs 196/03 in materia di protezione dei dati 
 personali, le informazioni contenute in questo messaggio sono 
 strettamente riservate e sono esclusivamente indirizzate al destinatario 
 indicato (oppure alla persona responsabile di rimetterlo al 
 destinatario). Qualsiasi uso, riproduzione o divulgazione di questo 
 messaggio è vietata. Nel caso in cui aveste ricevuto questa mail per 
 errore, Vi invitiamo ad avvertire il mittente al più presto a mezzo 
 posta elettronica e distruggere il messaggio erroneamente ricevuto.
 
 According to Italy’s new data protection code (Legislative Decree no. 
 196/2003) in force on January 1st 2004, Italian Law 196/03 concerning 
 privacy, the information contained in this e-mail is confidential and is 
 intended for the addressee only. If you are not the correct recipient, 
 please note that any use, dissemination or copy of this 
 document/information is strictly prohibited.If you have received this 
 message in error, you should destroy it and please notify us immediately 
 by e-mail.
 
  
 
 
 
 
 -
 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

-- 
IT-Service Lehmann[EMAIL PROTECTED]
Arno Lehmann  http://www.its-lehmann.de


-
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] sensor temperature

2007-06-13 Thread Michael Schwartzkopff
Am Mittwoch, 13. Juni 2007 13:25 schrieb Arno Lehmann:
 Hi,

 On 6/12/2007 10:19 AM, Marco Borsani wrote:
  Hi all.
 
 
 
  I am looking for a sensor to monitoring the temperature in our server
  farms.

Why don't you use the temp sensors of the motherboard (via program sensors)? 
net-snmp offers an extension to snmp-get the temperature. Configure nagios 
check_snmp to read it.

Or get the temp of the harddiscs via smartctl?

-- 
Dr. Michael Schwartzkopff
MultiNET Services GmbH
Addresse: Bretonischer Ring 7; 85630 Grasbrunn; Germany
Tel: +49 - 89 - 45 69 11 0
Fax: +49 - 89 - 45 69 11 21
mob: +49 - 174 - 343 28 75

mail: [EMAIL PROTECTED]
web: www.multinet.de

Sitz der Gesellschaft: 85630 Grasbrunn
Registergericht: Amtsgericht München HRB 114375
Geschäftsführer: Günter Jurgeneit, Hubert Martens

---

PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B
Skype: misch42

-
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] FW: Problems with distributed setup, master overload?

2007-06-13 Thread Wheeler, JF (Jonathan)
-Original Message-
From: nagios-users On Behalf Of Jeffrey Lensen
Sent: 10 June 2007 08:28

 I recently extend our distributed Nagios setup of 1 master and 2
distributed slaves (in 
 which the master also had a lot of checks running), to 1 master and 5
distributed slaves
 (in which the master does no checking at all, except for host checks).

 This setup had 556 hosts and roughly 7000 service checks. Ever since I
modified this
 setup, the Nagios master host has been giving me problems. 

 The symptoms:
 - When starting both Nagios and NSCA, I see NSCA accepting checks in
my logfiles, but none
 get processed by Nagios.
 - After a few minutes NSCA processes are starting to build up,
increasing with 5-10
 processes per second. In a few minutes it reaches a few thousand
processes and the machine
 starts hanging.
 - Sometimes the number of Nagios processes start increasing, instead
of the NSCA
 processes. Same result, the machine starts hanging.

I have seen similar problems, though in my case (1 master, 2 slaves, 824
hosts, 16000+ services) the queued NSCA processes are eventually
flushed.  However the Nagios master server also suffers from memory
leaks; it eventually (after a period of 1 - 5 days) crashes with a
kernel panic because there is no free memory or reaches a state where
the kernel has killed all useful processes (e.g. nagios, nsca, sshd,
ntpd, etc) in attempt to cure OOM (Out Of Memory) problems.
Interestingly trying to strace the first daughter nsca process seems to
bring everything into life and the queue of NSCA processes quickly
flushes.

I have tried running nagios using option -s to get configuration
recommendations and nagiostats to get usage information on both master
and slave servers, but they do not reveal anything useful.  My current
plan is to introduce 3 more slave servers as I have heard that this
helps.

Any comments would be helpful to me as well.

Jonathan Wheeler
e-Science Centre
Rutherford Appleton Laboratory

-
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] sensor temperature

2007-06-13 Thread Max Hetrick
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Marco Borsani wrote:

 I am looking for a sensor to monitoring the temperature in our server farms.
 
 
 Does anybody do it ?  How do you do it ?
 
 Which sensor do you use ?


I'm using one from SensorSoft

http://www.sensorsoft.com/pricingpage.html

The standalone 1 port unit was around $300 I think, plus the sensor
probe is extra. It's a little pricy, but I've been running it now for
over 2 years and never had an issue.

They are based out of Canada, I believe, and their tech support team is
always helpful if you need them.

Regards,
Max
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.6 (GNU/Linux)

iD8DBQFGb9jlHoeeepPau2ERAtJAAKCuUM+a/xOFjamoThWf1a3OUCrDeACcCxLt
r71HYdS1GwHW7MyiFObqydY=
=MXRw
-END PGP SIGNATURE-

-
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] R: sensor temperature

2007-06-13 Thread Marco Borsani
I'd like to use temp sensor on the motherboard of our Dell Poweredge
servers, but when I run a :
snmpwalk -c community -v 1 IP-address
I only receive few informations.

I am using check_snmp to monitor temperature insiede some Cisco switchs and
it is working fine.

I have not idea why I am not able to do the same with Dell servers.
Any idea ?
Do I need server with DRAC board?

Regards
Marco

-Messaggio originale-
Da: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Per conto di Michael
Schwartzkopff
Inviato: mercoledì 13 giugno 2007 13.33
A: nagios-users@lists.sourceforge.net
Oggetto: Re: [Nagios-users] sensor temperature

Am Mittwoch, 13. Juni 2007 13:25 schrieb Arno Lehmann:
 Hi,

 On 6/12/2007 10:19 AM, Marco Borsani wrote:
  Hi all.
 
 
 
  I am looking for a sensor to monitoring the temperature in our server
  farms.

Why don't you use the temp sensors of the motherboard (via program
sensors)? 
net-snmp offers an extension to snmp-get the temperature. Configure nagios 
check_snmp to read it.

Or get the temp of the harddiscs via smartctl?

-- 
Dr. Michael Schwartzkopff
MultiNET Services GmbH
Addresse: Bretonischer Ring 7; 85630 Grasbrunn; Germany
Tel: +49 - 89 - 45 69 11 0
Fax: +49 - 89 - 45 69 11 21
mob: +49 - 174 - 343 28 75

mail: [EMAIL PROTECTED]
web: www.multinet.de

Sitz der Gesellschaft: 85630 Grasbrunn
Registergericht: Amtsgericht München HRB 114375
Geschäftsführer: Günter Jurgeneit, Hubert Martens

---

PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B
Skype: misch42

-
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] Problem - HOST DEPENDENCIE

2007-06-13 Thread Fernando A Ben
Hello, I need Help.
Even not to understand the operation from the the funcion HOST DEPENDENCIE.
We suppose that I have alone 2 (two) hosts A and B, only checked PING on 
two hosts.
Alone I am checked PING B depends on A to function.
The Host A falls, leaves the PING to respond but B continues responding.
In that case HOST DEPENDENCIE should me alert that host A failed and that 
is necessary so that B function?

I expect can help me.

Many Thanks

--

Hola, necesito ayuda.
Aun no logro entender el funcionamiento del la funcion HOST DEPENDENCIE.
Supongamos que tengo solo 2 host A y B, solo se chequea PING B depende 
de A para funcionar.
El Host A se cae, deja el PING de responder  pero B sigue respondiendo. 
En ese caso HOST DEPENDENCIE me debe alertar que A esta caido y que es 
necesario para que B funcione?

Espero me puedan ayuda.
Muchas Gracias

_
Visita MSN Latino Noticias: Todo lo que pasa en el mundo y en tu paín, ¡en 
tu idioma! http://latino.msn.com/noticias/


-
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] R: sensor temperature

2007-06-13 Thread Hans P. Dittler
Hi,

there are several easy ways to do this,
one is using check_snmp_temperature.pl from nagiosexchange.org
it has the right OID for DELL already inside.

Or you can use snmp-get.
You can see the values with
snmpwalk -c yourcommunity -v 1 yourserver
.1.3.6.1.4.1.674.10892.1.700.20

Please install the DELL OMC-package on the server, otherwise these
values are not available.
Then you can test everything locally before doing it remote from nagios

Regards
Hans Peter Dittler

-
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] R: sensor temperature

2007-06-13 Thread Michael Schwartzkopff
Am Mittwoch, 13. Juni 2007 14:06 schrieb Marco Borsani:
 I'd like to use temp sensor on the motherboard of our Dell Poweredge
 servers, but when I run a :
 snmpwalk -c community -v 1 IP-address
 I only receive few informations.

 I am using check_snmp to monitor temperature insiede some Cisco switchs and
 it is working fine.

 I have not idea why I am not able to do the same with Dell servers.
 Any idea ?
 Do I need server with DRAC board?

 Regards
 Marco

What SNMP agent is running there? net-snmp? Did you configure your DELL 
monitoring software the cooperate with net-snmp? Does DELL software provide 
it's own snmp agent, perhaps on another port? Does DELL use the enterprises 
MIB? Lots of questions regaring the DELL software. Please refer to their 
manuals or ask a DELL specialist.

-- 
Dr. Michael Schwartzkopff
MultiNET Services GmbH
Addresse: Bretonischer Ring 7; 85630 Grasbrunn; Germany
Tel: +49 - 89 - 45 69 11 0
Fax: +49 - 89 - 45 69 11 21
mob: +49 - 174 - 343 28 75

mail: [EMAIL PROTECTED]
web: www.multinet.de

Sitz der Gesellschaft: 85630 Grasbrunn
Registergericht: Amtsgericht München HRB 114375
Geschäftsführer: Günter Jurgeneit, Hubert Martens

---

PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B
Skype: misch42

-
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] checking windows clients for hung state

2007-06-13 Thread Marc Powell


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:nagios-users-
 [EMAIL PROTECTED] On Behalf Of Lalita Drolia
 Sent: Wednesday, June 13, 2007 4:08 AM
 To: nagios-users@lists.sourceforge.net
 Subject: [Nagios-users] checking windows clients for hung state
 
 Hi,
 
 I wanted to know how we can check for a situation in which we can ping
the
 machine but still not access it, in windows.
 
 What I mean id that probably the machine is in a hung state and that
is
 why we can ping it but still not access it.
 
 Please tell me what will be the best check for such a situation on
windows
 clients.

I'd start with how you manually determine that it's hung and work from
there. It's a pretty vague scenario. Does it still respond on TCP ports?
Are services still running? Find an external service on the machine that
isn't responding when the hang occurs and add it as a normal check.
Perhaps running NRPE_NT or nsclient++ on the machine and performing a
normal check would be sufficient. I'd prefer some network based test
myself though if I could get away with it, check_tcp for example.

--
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] FW: Problems with distributed setup, master overload?

2007-06-13 Thread Jeffrey Lensen
I'm not sure adding more slaves will solve the problem on the master
server.. From what I've been reading on these maillists, the problem
tends to be the filling of the nagios.cmd pipe.
Multiple processes try to write to it (NSCA children) and multiple
processes try to read from it (Nagios children). From what I understand
the NSCA daemons are all waiting to access the pipe, but can't, and then
start to wait. NSCA creates another child child process, which starts to
wait, etc etc. Within an hour the system started swapping because of the
large amount of processes (I think I actually saw it going up to 6500!)
and eventually it died.
In my setup this problem started showing after I added 3 slave hosts...
So I'm not sure if that will fix anything...

My current (temporary) solution is a small script in the crontab, which
restarts the NSCA daemon every 30 minutes or so. If it can't stop
normally, it does a killall -9, and then forces another start. Seems to
hold up so far, but the solution isn't pretty.

Jeffrey Lensen
System Administrator Hyves
hyves page: http://skyler.hyves.nl
mail/msn:   [EMAIL PROTECTED]



Wheeler, JF (Jonathan) wrote:
 -Original Message-
 From: nagios-users On Behalf Of Jeffrey Lensen
 Sent: 10 June 2007 08:28

   
 I recently extend our distributed Nagios setup of 1 master and 2
 
 distributed slaves (in 
   
 which the master also had a lot of checks running), to 1 master and 5
 
 distributed slaves
   
 (in which the master does no checking at all, except for host checks).

 This setup had 556 hosts and roughly 7000 service checks. Ever since I
 
 modified this
   
 setup, the Nagios master host has been giving me problems. 

 The symptoms:
 - When starting both Nagios and NSCA, I see NSCA accepting checks in
 
 my logfiles, but none
   
 get processed by Nagios.
 - After a few minutes NSCA processes are starting to build up,
 
 increasing with 5-10
   
 processes per second. In a few minutes it reaches a few thousand
 
 processes and the machine
   
 starts hanging.
 - Sometimes the number of Nagios processes start increasing, instead
 
 of the NSCA
   
 processes. Same result, the machine starts hanging.
 

 I have seen similar problems, though in my case (1 master, 2 slaves, 824
 hosts, 16000+ services) the queued NSCA processes are eventually
 flushed.  However the Nagios master server also suffers from memory
 leaks; it eventually (after a period of 1 - 5 days) crashes with a
 kernel panic because there is no free memory or reaches a state where
 the kernel has killed all useful processes (e.g. nagios, nsca, sshd,
 ntpd, etc) in attempt to cure OOM (Out Of Memory) problems.
 Interestingly trying to strace the first daughter nsca process seems to
 bring everything into life and the queue of NSCA processes quickly
 flushes.

 I have tried running nagios using option -s to get configuration
 recommendations and nagiostats to get usage information on both master
 and slave servers, but they do not reveal anything useful.  My current
 plan is to introduce 3 more slave servers as I have heard that this
 helps.

 Any comments would be helpful to me as well.

 Jonathan Wheeler
 e-Science Centre
 Rutherford Appleton Laboratory

 -
 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] checking windows clients for hung state

2007-06-13 Thread Marc Powell
Please always respond on list. You'll be giving experience back to the
community and future readers will benefit from it.

 -Original Message-
 From: Lalita Drolia [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, June 13, 2007 7:46 AM
 To: Marc Powell
 Subject: RE: [Nagios-users] checking windows clients for hung state
 
 That is what I was guessing Marc that you need to check for the
 particular service which is causing the machine to hang.
 I would like to give you an example of solaris servers. They have a
 state called ok promot as I understand and you can ping the machine
in
 that state but its stuck in the boot up process. So I have put a check
 on ssh to overcome this problem because ssh will be working only when
 the machine would have booted up properly and be usable.

Yes, that's the kind of check I'm proposing for your windows machine.

 Similarly, I was wondering that can we put a check on some service on
 windows machines which will definetly be halted in case the machine
 hangs? I hope I have made myself clear and not confused you :)

How can we know? We don't even know what services your windows machine
is running. Is it running IIS? Does IIS respond when the machine hangs?
If not, then use check_http to check IIS. Is it running DNS? Does it
respond to DNS queries when the machine hangs? If not, use check_dns.
Does port 139 respond when the machine hangs? If not, then use check_tcp
to check that port. You'll have to perform tests such as these based on
the services the machine is running to determine what's best to use.
Nmap can help you determine what ports your machine is normally
listening on if you don't know. If the machine is 'hung' but still
responds to network tests properly then you'll need to dig further to
determine what's actually broken when it's in this state and use that as
a basis for your check.

--
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] how to configure notification in Nagios

2007-06-13 Thread Brian A. Seklecki
On Wed, 2007-06-13 at 16:01 +0530, Arun Sharma wrote:
 some more settings shold be there , how nagios will send mail
 automatically to a mail id.

It's pretty simple:

Host Notifications---\
 -Contact Groups - Contacts - MiscCmds (sendmail)
Service Notifications/

Check out the variety of Nagios books as well.

~BAS

  please help me what is the procedure to configuring Nagios to send
 mail to a


-
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] Problem with dependancies and notifications

2007-06-13 Thread James Davis
I've got a number of hosts sitting behind a router. I've configured the
hosts in nagios so that they depend upon the router being available.

When the router fails I get a single alert as I'd expect, but it's a
notice about the one particular host behind the router every time and
not the router itself.

Have I configured something incorrectly? Should nagios be checking the
status of the router after finding that this particular device is down?

James

-- 
http://www.freecharity.org.uk/ - Free IT services for charities
http://www.freecharity.org.uk/wiki/ - The VCSWiki

-
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] Monitoring a Terminal Server Licensing Server?

2007-06-13 Thread Hari Sekhon
Hi,

   Anybody know how to monitor a terminal server licensing server with 
windows 2003?

I'm just wondering if there is a realistic way of checking that is it 
serving licenses.

-h

-- 
Hari Sekhon


-
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] Monitoring a Terminal Server Licensing Server?

2007-06-13 Thread Brian A. Seklecki
check_tcp![##] will let you know if the port is open.  A more
aggressive-check might use rdesktop(1) to try to connect somewhere to
validate.

On Wed, 2007-06-13 at 15:46 +0100, Hari Sekhon wrote:
 Hi,
 
Anybody know how to monitor a terminal server licensing server with 
 windows 2003?
 
 I'm just wondering if there is a realistic way of checking that is it 
 serving licenses.
 
 -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] Problem with dependancies and notifications

2007-06-13 Thread Marc Powell


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:nagios-users-
 [EMAIL PROTECTED] On Behalf Of James Davis
 Sent: Wednesday, June 13, 2007 9:20 AM
 To: nagios-users@lists.sourceforge.net
 Subject: [Nagios-users] Problem with dependancies and notifications
 
 I've got a number of hosts sitting behind a router. I've configured
the
 hosts in nagios so that they depend upon the router being available.


 Have I configured something incorrectly? Should nagios be checking the
 status of the router after finding that this particular device is
down?

Sounds like you want to use 'parents' in your host definitions as
opposed to dependencies.

--
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] Monitoring a Terminal Server Licensing Server?

2007-06-13 Thread Max Hetrick
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hari Sekhon wrote:
 Hi,
 
Anybody know how to monitor a terminal server licensing server with 
 windows 2003?
 
 I'm just wondering if there is a realistic way of checking that is it 
 serving licenses.
 

You could check the process running across SNMP, if you have it loaded
on the server.

http://nagios.manubulon.com/snmp_process.html

Or, this one:

http://www.nagiosexchange.org/Windows.49.0.html?tx_netnagext_pi1%5Bp_view%5D=407

check_win_snmp_process.pl HOST  COMMUNITYSTRING termsrv

I check my terminal server using this across SNMP.

Regards,
Max

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.6 (GNU/Linux)

iD8DBQFGcAsxHoeeepPau2ERAiYMAKCiNsKhvqL8VxE65ui/PtF30KYX5QCg2aaM
R9tCz7iUxj+mrpTF2p8lPHY=
=xEBd
-END PGP SIGNATURE-

-
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] AIX NRPE v2.5.1

2007-06-13 Thread Brian A. Seklecki
How about s/--inetd/-i/g in the command line?

Clearly it's sending the stdout from the command line flag syntax usage
error to the socket output of the client.

Also, why run it out of inetd?  It has a built in daemon mode.

There's a pattern here:

inetd  floppy drives  parallel ports  uucp  sendmail


~BAS

On Tue, 2007-06-12 at 19:34 -0400, Steven Fishback wrote:
 Nagios v2.5 with NRPE plug-in v2.5.1 on AIX v5.3 (ppc 64 processor)
 
 I've seen this thread before concerning AIX and NRPE but no resolution 
 or good suggestions as to what's going on.
 
 If I compile with openssl 0.9.7l-1 I get the SSL handshaking error.
 If I compile without openssl enabled I get the Response packet had 
 invalid CRC32 error.
 I've done all the normal FAQ checks.
 
 My /etc/services I have:
nrpe5666/tcp# NRPE
 My /etc/inetd.conf I have:
   nrpestream  tcp nowait  nagios /usr/sbin/nrpe -c /etc/nrpe.cfg 
 --inetd
 
 For testing purposes I have no tcp wrappers and SSL is not enabled.
 
 Logged into the local host:
 
 $ /usr/bin/telnet localhost 5666
 Trying...
 Connected to localhost.localdomain.
 Escape character is '^]'.
 
 NRPE - Nagios Remote Plugin Executor
 Copyright (c) 1999-2006 Ethan Galstad ([EMAIL PROTECTED])
 Version: 2.5.1
 Last Modified: 04-09-2006
 License: GPL v2 with exemptions (-l for more info)
 
 ***
 ** POSSIBLE SECURITY RISK - TCP WRAPPERS ARE NOT AVAILABLE!  **
 **  Read the NRPE SECURITY file for more information **
 ***
 
 Usage: nrpe [-n] -c config_file mode
 
 Options:
 -n= Do not use SSL
 config_file = Name of config file to use
 mode= One of the following two operating modes:
   -i  =Run as a service under inetd or xinetd
   -d  =Run as a standalone daemon
 
 Connection closed.
 
 $ /opt/local/bin/check_nrpe -H localhost
 CHECK_NRPE: Response packet had invalid CRC32.
 
 $ /opt/local/bin/check_nrpe -H localhost -p 5666 -n
 CHECK_NRPE: Response packet had invalid CRC32.
 
 Any idea as to the problem?



-
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 handle macros with \'s in them

2007-06-13 Thread Frost, Mark {PBG}
Hello.  Recently, we've started running plugins that have \'s in their
output.  Specifically, the nsclient++ disk check that would report on,
say C:\.

The plugin sends output like:

C:\ - total: 3.91 Gb - used: 3.62 Gb (93%) - free 0.29 Gb (7%) 

which looks fine in Nagios' web interface.  However, when an alert gets
generated, all I get for the service output is

C:

We use the common notify-by-email command for notifications.  I.e

define command {
command_namenotify-by-email
command_line/usr/bin/printf %b * Nagios
*\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService:
$SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState:
$SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional
Info:\n\n$SERVICEOUTPUT$ | /bin/mail -s ** $NOTIFICATIONTYPE$ alert -
$HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ ** $CONTACTEMAIL$
}

So unless I'm mistaken, the \ in the $SERVICEOUTPUT$ gets eaten by the
/usr/bin/printf for the notification command.

A simple solution has eluded me.  Has anyone found a nice way to handle
this?

Thanks


Mark

-
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] Debugging Nagios?

2007-06-13 Thread Brian A. Seklecki
What a great question! Well there's nagios.log in /var/spool/nagios,



use_syslog=1


log_event_handlers=1
log_initial_states=1
log_external_commands=1
log_passive_checks=1
log_notifications=1
log_service_retries=1

But getting debug out the schedule probably requires a debug build of
the binary.  

~~BAS

PS It could be worse, you could be trying to debug a plugin/module.


On Tue, 2007-06-12 at 18:57 -0400, Bonaparte, Klaus wrote:
 ou debug Nagios to determine why it is no longer running any checks?
 
 I see checks scheduled in the queue, but then time passes and they get
 removed from the top of the queue as if they were run but their status
 never changes, nothing is logged in nagios.log or syslogs, and once in
 a while you can see nagios processes running?
 
  
 
 Any help? Debug flags or common things to look for?
 
-- 
Brian A. Seklecki [EMAIL PROTECTED]
Collaborative Fusion, Inc.


-
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] Good front end tool for Nagios

2007-06-13 Thread Brian A. Seklecki
If you network has 2500 monitors, you can probably budget a developer to
write/develop a front-end that doesn't use PHP+MySQL, which are probably
the cause of your scalability issues.

Check out PosgreSQL.

~BAS

On Tue, 2007-06-12 at 13:27 -0400, Andrey Dmitriev wrote:
 All,
 
 Is there are a good front end tool for Nagios that can 
 A) have profiles that we can apply to multiple hosts
 B) ideally stores in MySQL db (well, this is not really a requirement, 
 as apparently there are perl modules that can potentially load a mysql 
 db).
 
 Please don't recommend Fruity/GroundWork, as apparently it pukes on 
 2500+ monitors, or a certain number of hosts (at least GroundWork did 
 for us in version 4.51, which is why we plan to ditch it)
 
 Thanks,
 Andrey
 
 -
 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
-- 
Brian A. Seklecki [EMAIL PROTECTED]
Collaborative Fusion, Inc.


-
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] How to handle macros with \'s in them

2007-06-13 Thread Andrew Cruse
Frost, Mark {PBG} wrote:
 Hello.  Recently, we've started running plugins that have \'s in their
 output.  Specifically, the nsclient++ disk check that would report on,
 say C:\.
 
 The plugin sends output like:
 
   C:\ - total: 3.91 Gb - used: 3.62 Gb (93%) - free 0.29 Gb (7%)
 
 which looks fine in Nagios' web interface.  However, when an alert
 gets generated, all I get for the service output is
 
   C:
 
 We use the common notify-by-email command for notifications.  I.e
 
 define command {
 command_namenotify-by-email
 command_line/usr/bin/printf %b * Nagios
 *\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService:
 $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState:
 $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional
 Info:\n\n$SERVICEOUTPUT$ | /bin/mail -s ** $NOTIFICATIONTYPE$ alert
 - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ ** $CONTACTEMAIL$
 }
 
 So unless I'm mistaken, the \ in the $SERVICEOUTPUT$ gets eaten by the
 /usr/bin/printf for the notification command.
 
 A simple solution has eluded me.  Has anyone found a nice way to
 handle this?


Not the most elegant way of handling it, but you could write a wrapper for
your check script that passes the check paramaters along and then strips the
\ from the output before passing it along to Nagios.  The \ doesn't seem
like critical information so I don't think you'd really miss it.

Andrew


-
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] Problems Starting Nagios

2007-06-13 Thread Danilo Perdomo
Hi All!. Im having problems configuring Nagios 2.7, i have all the .cfg 
files ready to get started but when i try to
initialize the nagios process i get this error message: *Error: Could 
not create external command file '/usr/local/nagios/var/rw/nagios.cmd'.
as named pipe: (13) - Permission denied.  If this file already exists 
and you are sure that another copy of Nagios is not running, you should

delete this file.*
Any ideas? the nagios.cmd is supposed to be created automatically but 
that isn´t happening.

Thanks in advance.

Danilo Perdomo
www.inter.com.ve
-
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] R: sensor temperature

2007-06-13 Thread Arno Lehmann
Hello,


On 6/13/2007 2:06 PM, Marco Borsani wrote:
 I'd like to use temp sensor on the motherboard of our Dell Poweredge
 servers,

  On 6/12/2007 10:19 AM, Marco Borsani wrote:
  Hi all.
 
 
 
  I am looking for a sensor to monitoring the temperature in our server
  farms.

I hope you are aware that the temperature inside your servers does not 
necessarily correlate with your data center environmental conditions... 
While I like to monitor Server temperature, harddisk temperature, etc.,

I think that keeping an eye on the conditions in the room is quite a 
good idea... Noticing your air condition to be ineffective before your 
machines overheat can save you lots of work, repairing, replacing or 
restarting your servers :-)

Arno

-- 
IT-Service Lehmann[EMAIL PROTECTED]
Arno Lehmann  http://www.its-lehmann.de

-
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] Problems Starting Nagios

2007-06-13 Thread Arno Lehmann
Hi,

On 6/13/2007 8:57 PM, Danilo Perdomo wrote:
   Hi All!. Im having problems configuring Nagios 2.7, i have all the 
 .cfg files ready to get started but when i try to
 initialize the nagios process i get this error message: *Error: Could 
 not create external command file '/usr/local/nagios/var/rw/nagios.cmd'.
 as named pipe: (13) - Permission denied.  If this file already exists 
 and you are sure that another copy of Nagios is not running, you should
 delete this file.*
 Any ideas? the nagios.cmd is supposed to be created automatically but 
 that isn´t happening.

Well, the simplest thing to do would be to make sure the command file 
can be created by Nagios :-)

This is usually a question of permissions: The Nagios user needs 
permission to write to the directory where the command file will be 
created. A simple chmod ... might be enough for you.

More information can be found in the fine manual, by the way. Also, 
depending on how you installed Nagios, there might be a make target to 
set up these permissions - the make output informs you of the possible 
operations, usually.

Arno

 Thanks in advance.
 
 Danilo Perdomo
 www.inter.com.ve http://www.inter.com.ve
 
 
 
 
 -
 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

-- 
IT-Service Lehmann[EMAIL PROTECTED]
Arno Lehmann  http://www.its-lehmann.de


-
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] Debugging Nagios?

2007-06-13 Thread Bonaparte, Klaus
nagios.log and syslog were of no value, but I was able to build with
debug (./configure --enable-DEBUGALL) and see where Nagios is forcing
all checks to occur at midnight tomorrow.
I've seen several posts on this with questions, but no answers. Does
anyone know how to fix the scheduling in Nagios so it does not schedule
all checks at midnight every day?

output below is from running 'bin/nagios -s etc/nagios.cfg' with debug
on.
Notice that all checks are scheduled for midnight tomorrow.

Preferred Time: 1181761343 -- Wed Jun 13 19:02:23 2007
Next Valid Time: 1181779200 -- Thu Jun 14 00:00:00 2007
Preferred Time: 1181761343 -- Wed Jun 13 19:02:23 2007
Next Valid Time: 1181779200 -- Thu Jun 14 00:00:00 2007
Preferred Time: 1181761343 -- Wed Jun 13 19:02:23 2007
Next Valid Time: 1181779200 -- Thu Jun 14 00:00:00 2007
Preferred Time: 1181761343 -- Wed Jun 13 19:02:23 2007
Next Valid Time: 1181779200 -- Thu Jun 14 00:00:00 2007
Preferred Time: 1181761343 -- Wed Jun 13 19:02:23 2007
Next Valid Time: 1181779200 -- Thu Jun 14 00:00:00 2007
Preferred Time: 1181761343 -- Wed Jun 13 19:02:23 2007
Next Valid Time: 1181779200 -- Thu Jun 14 00:00:00 2007
Preferred Time: 1181761343 -- Wed Jun 13 19:02:23 2007
Next Valid Time: 1181779200 -- Thu Jun 14 00:00:00 2007
Preferred Time: 1181761343 -- Wed Jun 13 19:02:23 2007
Next Valid Time: 1181779200 -- Thu Jun 14 00:00:00 2007
Preferred Time: 1181761343 -- Wed Jun 13 19:02:23 2007
Next Valid Time: 1181779200 -- Thu Jun 14 00:00:00 2007
Preferred Time: 1181761343 -- Wed Jun 13 19:02:23 2007
Next Valid Time: 1181779200 -- Thu Jun 14 00:00:00 2007
Preferred Time: 1181761343 -- Wed Jun 13 19:02:23 2007
Next Valid Time: 1181779200 -- Thu Jun 14 00:00:00 2007
Preferred Time: 1181761343 -- Wed Jun 13 19:02:23 2007
Next Valid Time: 1181779200 -- Thu Jun 14 00:00:00 2007
Preferred Time: 1181761343 -- Wed Jun 13 19:02:23 2007
Next Valid Time: 1181779200 -- Thu Jun 14 00:00:00 2007
Preferred Time: 1181761343 -- Wed Jun 13 19:02:23 2007
Next Valid Time: 1181779200 -- Thu Jun 14 00:00:00 2007
Preferred Time: 1181761343 -- Wed Jun 13 19:02:23 2007
Next Valid Time: 1181779200 -- Thu Jun 14 00:00:00 2007
Preferred Time: 1181761343 -- Wed Jun 13 19:02:23 2007
Next Valid Time: 1181779200 -- Thu Jun 14 00:00:00 2007
Preferred Time: 1181761343 -- Wed Jun 13 19:02:23 2007
Next Valid Time: 1181779200 -- Thu Jun 14 00:00:00 2007
Preferred Time: 1181761343 -- Wed Jun 13 19:02:23 2007
Next Valid Time: 1181779200 -- Thu Jun 14 00:00:00 2007
Preferred Time: 1181761343 -- Wed Jun 13 19:02:23 2007
Next Valid Time: 1181779200 -- Thu Jun 14 00:00:00 2007
Preferred Time: 1181761343 -- Wed Jun 13 19:02:23 2007
Next Valid Time: 1181779200 -- Thu Jun 14 00:00:00 2007
Preferred Time: 1181761343 -- Wed Jun 13 19:02:23 2007
Next Valid Time: 1181779200 -- Thu Jun 14 00:00:00 2007
Preferred Time: 1181761343 -- Wed Jun 13 19:02:23 2007
Next Valid Time: 1181779200 -- Thu Jun 14 00:00:00 2007
Preferred Time: 1181761343 -- Wed Jun 13 19:02:23 2007
Next Valid Time: 1181779200 -- Thu Jun 14 00:00:00 2007
Preferred Time: 1181761343 -- Wed Jun 13 19:02:23 2007
Next Valid Time: 1181779200 -- Thu Jun 14 00:00:00 2007
Preferred Time: 1181761343 -- Wed Jun 13 19:02:23 2007
Next Valid Time: 1181779200 -- Thu Jun 14 00:00:00 2007
...
Host 'snazphoe04' should not be scheduled
Host 'sncaanah01' should not be scheduled
Host 'sncaanah02' should not be scheduled
Host 'sncaanah03' should not be scheduled
Host 'sncasacr01' should not be scheduled
Host 'sncasacr02' should not be scheduled
...
Total scheduled service checks:  502
Service check interval total:928800
Average service check interval:  1850.20 sec
Service inter-check delay:   3.59 sec
Total scheduled service checks: 502
Total hosts:61
Service Interleave factor:  9
Total scheduled services: 502
Service Interleave factor: 9
Total service interleave blocks: 56
Service inter-check delay: 3.6


-Original Message-
From: Brian A. Seklecki [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, June 13, 2007 9:40 AM
To: Bonaparte, Klaus
Cc: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] Debugging Nagios?

What a great question! Well there's nagios.log in /var/spool/nagios,



use_syslog=1


log_event_handlers=1
log_initial_states=1
log_external_commands=1
log_passive_checks=1
log_notifications=1
log_service_retries=1

But getting debug out the schedule probably requires a debug build of
the binary.  

~~BAS

PS It could be worse, you could be trying to debug a plugin/module.


On Tue, 

Re: [Nagios-users] R: sensor temperature

2007-06-13 Thread Jim Avery
I haven't tried these myself yet.

http://www.audon.co.uk/1wire_humidity.html

They look promising though.

-
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] Problems Starting Nagios

2007-06-13 Thread Marc Powell


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:nagios-users-
 [EMAIL PROTECTED] On Behalf Of Danilo Perdomo
 Sent: Wednesday, June 13, 2007 1:58 PM
 To: nagios-users@lists.sourceforge.net
 Subject: [Nagios-users] Problems Starting Nagios
 
 Hi All!. Im having problems configuring Nagios 2.7, i have all the .cfg
 files ready to get started but when i try to
 initialize the nagios process i get this error message: Error: Could not
 create external command file '/usr/local/nagios/var/rw/nagios.cmd'.
 as named pipe: (13) - Permission denied.  If this file already exists and
 you are sure that another copy of Nagios is not running, you should
 delete this file.
 Any ideas? the nagios.cmd is supposed to be created automatically but that
 isn´t happening.

The error indicates that the user you've configured nagios to run as, usually 
nagios, does not have permission to write to the directory you've configured to 
hold the external command file (/usr/local/nagios/var/rw/). You'll need to --

- verify the directory you've specified exists and is owned by the nagios user
- the nagios user can create files within that directory
- if the file exists and isn't owned by the nagios user, stop nagios, remove 
it, restart nagios.
- if the file exists and nagios isn't running, remove it then restart nagios

--
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] Notifications by email

2007-06-13 Thread Antonio Pereira
Hello,

 

I am trying to get the notifications by email working and I am having a
problem.

 

I see the emails going to the root account but it does not send to our
email server any ideas? Do I need to configure something additional to
Linux to allow or know where to send the emails to our email server?

 

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] R: sensor temperature

2007-06-13 Thread Arno Lehmann
Hi Danilo,

I suppose this was meant for the list...

Arno

On 6/13/2007 9:22 PM, Danilo Perdomo wrote:
   Hi, check this out.
 http://www.nagios.org/products/environmental/esensors/em01b.php
 http://support.ipmonitor.com/tutorials/cd4c08ebc42b43a69b837b58e0f73cbb.aspx
 
 
 
 Arno Lehmann escribió:
 Hello,


 On 6/13/2007 2:06 PM, Marco Borsani wrote:
   
 I'd like to use temp sensor on the motherboard of our Dell Poweredge
 servers,
 
   On 6/12/2007 10:19 AM, Marco Borsani wrote:
   Hi all.
  
  
  
   I am looking for a sensor to monitoring the temperature in our server
   farms.

 I hope you are aware that the temperature inside your servers does not 
 necessarily correlate with your data center environmental conditions... 
 While I like to monitor Server temperature, harddisk temperature, etc.,

 I think that keeping an eye on the conditions in the room is quite a 
 good idea... Noticing your air condition to be ineffective before your 
 machines overheat can save you lots of work, repairing, replacing or 
 restarting your servers :-)

 Arno

   

-- 
IT-Service Lehmann[EMAIL PROTECTED]
Arno Lehmann  http://www.its-lehmann.de


-
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] R: sensor temperature

2007-06-13 Thread Danilo Perdomo
 Hi, check this out.
http://www.nagios.org/products/environmental/esensors/em01b.php
http://support.ipmonitor.com/tutorials/cd4c08ebc42b43a69b837b58e0f73cbb.aspx 

  

  
 I'd like to use temp sensor on the motherboard of our Dell Poweredge
 servers,
 
   On 6/12/2007 10:19 AM, Marco Borsani wrote:
   Hi all.
  
  
  
   I am looking for a sensor to monitoring the temperature in our 
 server
   farms.

 I hope you are aware that the temperature inside your servers does 
 not necessarily correlate with your data center environmental 
 conditions... While I like to monitor Server temperature, harddisk 
 temperature, etc.,

 I think that keeping an eye on the conditions in the room is quite a 
 good idea... Noticing your air condition to be ineffective before 
 your machines overheat can save you lots of work, repairing, 
 replacing or restarting your servers :-)

 Arno

   


-
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] Debugging Nagios?

2007-06-13 Thread Bonaparte, Klaus
EUREEKA!!!
Thanks to some other users for pointing this out and helping me
resolve...
Somehow when I converted config files from Nagios 1.x to 2.9, my
timeperiods.cfg was messed up and had the 24x7 entry going from
0:00-0:00 everyday, when it should have been 0:00-24:00 everyday. This
caused all my checks to be scheduled at midnight everyday.
Thanks for all the help with debugging flags and config files.

Klaus

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Bonaparte, Klaus
Sent: Wednesday, June 13, 2007 12:18 PM
To: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] Debugging Nagios?

nagios.log and syslog were of no value, but I was able to build with
debug (./configure --enable-DEBUGALL) and see where Nagios is forcing
all checks to occur at midnight tomorrow.
I've seen several posts on this with questions, but no answers. Does
anyone know how to fix the scheduling in Nagios so it does not schedule
all checks at midnight every day?

output below is from running 'bin/nagios -s etc/nagios.cfg' with debug
on.
Notice that all checks are scheduled for midnight tomorrow.

Preferred Time: 1181761343 -- Wed Jun 13 19:02:23 2007
Next Valid Time: 1181779200 -- Thu Jun 14 00:00:00 2007
Preferred Time: 1181761343 -- Wed Jun 13 19:02:23 2007
Next Valid Time: 1181779200 -- Thu Jun 14 00:00:00 2007
Preferred Time: 1181761343 -- Wed Jun 13 19:02:23 2007
Next Valid Time: 1181779200 -- Thu Jun 14 00:00:00 2007
Preferred Time: 1181761343 -- Wed Jun 13 19:02:23 2007
Next Valid Time: 1181779200 -- Thu Jun 14 00:00:00 2007
Preferred Time: 1181761343 -- Wed Jun 13 19:02:23 2007
Next Valid Time: 1181779200 -- Thu Jun 14 00:00:00 2007
Preferred Time: 1181761343 -- Wed Jun 13 19:02:23 2007
Next Valid Time: 1181779200 -- Thu Jun 14 00:00:00 2007
Preferred Time: 1181761343 -- Wed Jun 13 19:02:23 2007
Next Valid Time: 1181779200 -- Thu Jun 14 00:00:00 2007
Preferred Time: 1181761343 -- Wed Jun 13 19:02:23 2007
Next Valid Time: 1181779200 -- Thu Jun 14 00:00:00 2007
Preferred Time: 1181761343 -- Wed Jun 13 19:02:23 2007
Next Valid Time: 1181779200 -- Thu Jun 14 00:00:00 2007
Preferred Time: 1181761343 -- Wed Jun 13 19:02:23 2007
Next Valid Time: 1181779200 -- Thu Jun 14 00:00:00 2007
Preferred Time: 1181761343 -- Wed Jun 13 19:02:23 2007
Next Valid Time: 1181779200 -- Thu Jun 14 00:00:00 2007
Preferred Time: 1181761343 -- Wed Jun 13 19:02:23 2007
Next Valid Time: 1181779200 -- Thu Jun 14 00:00:00 2007
Preferred Time: 1181761343 -- Wed Jun 13 19:02:23 2007
Next Valid Time: 1181779200 -- Thu Jun 14 00:00:00 2007
Preferred Time: 1181761343 -- Wed Jun 13 19:02:23 2007
Next Valid Time: 1181779200 -- Thu Jun 14 00:00:00 2007
Preferred Time: 1181761343 -- Wed Jun 13 19:02:23 2007
Next Valid Time: 1181779200 -- Thu Jun 14 00:00:00 2007
Preferred Time: 1181761343 -- Wed Jun 13 19:02:23 2007
Next Valid Time: 1181779200 -- Thu Jun 14 00:00:00 2007
Preferred Time: 1181761343 -- Wed Jun 13 19:02:23 2007
Next Valid Time: 1181779200 -- Thu Jun 14 00:00:00 2007
Preferred Time: 1181761343 -- Wed Jun 13 19:02:23 2007
Next Valid Time: 1181779200 -- Thu Jun 14 00:00:00 2007
Preferred Time: 1181761343 -- Wed Jun 13 19:02:23 2007
Next Valid Time: 1181779200 -- Thu Jun 14 00:00:00 2007
Preferred Time: 1181761343 -- Wed Jun 13 19:02:23 2007
Next Valid Time: 1181779200 -- Thu Jun 14 00:00:00 2007
Preferred Time: 1181761343 -- Wed Jun 13 19:02:23 2007
Next Valid Time: 1181779200 -- Thu Jun 14 00:00:00 2007
Preferred Time: 1181761343 -- Wed Jun 13 19:02:23 2007
Next Valid Time: 1181779200 -- Thu Jun 14 00:00:00 2007
Preferred Time: 1181761343 -- Wed Jun 13 19:02:23 2007
Next Valid Time: 1181779200 -- Thu Jun 14 00:00:00 2007
Preferred Time: 1181761343 -- Wed Jun 13 19:02:23 2007
Next Valid Time: 1181779200 -- Thu Jun 14 00:00:00 2007
Preferred Time: 1181761343 -- Wed Jun 13 19:02:23 2007
Next Valid Time: 1181779200 -- Thu Jun 14 00:00:00 2007
...
Host 'snazphoe04' should not be scheduled
Host 'sncaanah01' should not be scheduled
Host 'sncaanah02' should not be scheduled
Host 'sncaanah03' should not be scheduled
Host 'sncasacr01' should not be scheduled
Host 'sncasacr02' should not be scheduled
...
Total scheduled service checks:  502
Service check interval total:928800
Average service check interval:  1850.20 sec
Service inter-check delay:   3.59 sec
Total scheduled service checks: 502
Total hosts:61
Service Interleave factor:  9
Total scheduled services: 502
Service Interleave factor: 9
Total service interleave blocks: 56

[Nagios-users] problem nagios snmp with windows machines

2007-06-13 Thread andres sarmiento
i don't speak so good english. but i'm doing my tesis aboput nagios.
The sistem has been configured fine, but i had problem with
Snmp-service
i want that somebody helpme to set the nagios-snmp monittoring windows
machines. sombody had a how`to to do that.
Thanks much, for the answers.
Saludos

-
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] problem nagios snmp with windows machines

2007-06-13 Thread Max Hetrick
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

andres sarmiento wrote:
 i don't speak so good english. but i'm doing my tesis aboput nagios.
 The sistem has been configured fine, but i had problem with
 Snmp-service
 i want that somebody helpme to set the nagios-snmp monittoring windows
 machines. sombody had a how`to to do that.

Can you mention what you want to monitor on Windows? Then our help can
be a little more specific.

Regards,
Max
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.6 (GNU/Linux)

iD8DBQFGcFSkHoeeepPau2ERApWrAKCaJLuF4zWfxTEc2uCUgoAByN1qWgCeINcJ
2rHGF4icMswVW+ezT5kNGz8=
=/lgh
-END PGP SIGNATURE-

-
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] Notifications by email

2007-06-13 Thread Antonio Pereira
I've changed it. I will find a way to check and see if it works.

 

Thanks

 

From: Valdinger, Stephen (DOV, MSX) [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, June 13, 2007 3:37 PM
To: Antonio Pereira; Nagios-users@lists.sourceforge.net
Subject: RE: [Nagios-users] Notifications by email

 

You may need to supply the /usr/bin/mail (or preferred mail program)
directive to the notify-by-email command definition. That is what I had
to do to get my notifications going

 

The part I added is in red:

 

Define command{

 

Command_name   notify-host-by-email

Command_line  /usr/bin/printf %b * Nagios
*\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState:
$HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time:
$LONGDATETIME$\n | /usr/bin/mail -s ** $NOTIFICATIONTYPE$ Host Alert:
$HOSTNAME$ is $HOSTSTATE$ ** $CONTACTEMAIL$

 

Stephen Valdinger

MIS Helpdesk Coordinator

Dover Chemical Corporation

3676 Davis Rd NW

Dover, OH 44622

330-365-3622

[EMAIL PROTECTED]

 

 



From: Antonio Pereira [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, June 13, 2007 3:36 PM
To: Nagios-users@lists.sourceforge.net
Subject: [Nagios-users] Notifications by email

 

Hello,

 

I am trying to get the notifications by email working and I am having a
problem.

 

I see the emails going to the root account but it does not send to our
email server any ideas? Do I need to configure something additional to
Linux to allow or know where to send the emails to our email server?

 

Thanks

 

 

 

 



Avis Le present message n'est destine qu'a la personne ou a l'entite a
qui il est adresse et peut contenir des renseignements de nature
privilegiee et confidentielle. Si le lecteur du present message n'est
pas le destinataire prevu ou encore la personne chargee de remettre ce
message au destinataire prevu, veuillez nous aviser immediatement. Toute
diffusion, distribution ou reproduction des renseignements contenus dans
ce message ou des documents qui lui sont joints est strictement
interdite.  Notice This message
is intended only for the use of individual or entity to which it is
addressed and may contain information that is privileged and
confidential. If the reader of this message is not the intended
recipient or the person responsible for delivering the message to the
intended recipient, please notify us immediately. Any disclosure,
distribution or copying of this message or the information contained
herein or attached hereto is strictly prohibited.



-
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] Problems Starting Nagios

2007-06-13 Thread Danilo Perdomo

I'm still getting an error, even though i have the permissions:

*drwxrwxrwx  4 nagios nagios   4096 2007-06-13 16:17 .
drwxr-xr-x 11 nagios nagios   4096 2007-05-10 11:26 ..
drwxrwxr-x  2 nagios nagios   4096 2007-05-10 11:24 archives
-rw-rw-r--  1 nagios nagios238 2007-06-12 17:40 comments.dat
-rw-rw-r--  1 nagios nagios239 2007-06-12 17:40 downtime.dat
-rw-r--r--  1 nagios nagios  0 2007-06-13 16:17 nagios.lock
-rwxrwxrwx  1 nagios nagios  14268 2007-06-13 16:56 nagios.log
-rwxrwxrwx  1 nagios nagios 118664 2007-06-13 16:56 objects.cache
-rw---  1 nagios nagios 162982 2007-06-13 16:17 retention.dat
drwxrwsr-x  2 nagios nagios   4096 2007-06-13 12:08 rw

[EMAIL PROTECTED]:/var/log# /usr/local/nagios/bin/nagios 
/usr/local/nagios/etc/nagios.cfg


Nagios 2.7
Copyright (c) 1999-2007 Ethan Galstad (http://www.nagios.org)
Last Modified: 01-19-2007
License: GPL

Warning: Could not get passwd entry for 'nagiosadmin'
Nagios 2.7 starting... (PID=13453)
Error: Could not create external command file 
'/usr/local/nagios/var/rw/nagios.cmd' as named pipe: (13) - Permission 
denied.  If this file already exists and you are sure that another copy 
of Nagios is not running, you should delete this file.
Bailing out due to errors encountered while trying to initialize the 
external command file... (PID=13453)

*
Marc Powell escribió:
  

-Original Message-
From: [EMAIL PROTECTED] [mailto:nagios-users-
[EMAIL PROTECTED] On Behalf Of Danilo Perdomo
Sent: Wednesday, June 13, 2007 1:58 PM
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] Problems Starting Nagios

Hi All!. Im having problems configuring Nagios 2.7, i have all the .cfg
files ready to get started but when i try to
initialize the nagios process i get this error message: Error: Could not
create external command file '/usr/local/nagios/var/rw/nagios.cmd'.
as named pipe: (13) - Permission denied.  If this file already exists and
you are sure that another copy of Nagios is not running, you should
delete this file.
Any ideas? the nagios.cmd is supposed to be created automatically but that
isn´t happening.



The error indicates that the user you've configured nagios to run as, usually 
nagios, does not have permission to write to the directory you've configured to 
hold the external command file (/usr/local/nagios/var/rw/). You'll need to --

- verify the directory you've specified exists and is owned by the nagios user
- the nagios user can create files within that directory
- if the file exists and isn't owned by the nagios user, stop nagios, remove 
it, restart nagios.
- if the file exists and nagios isn't running, remove it then restart nagios

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

Re: [Nagios-users] Problems Starting Nagios

2007-06-13 Thread Marc Powell


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:nagios-users-
 [EMAIL PROTECTED] On Behalf Of Danilo Perdomo
 Sent: Wednesday, June 13, 2007 3:59 PM
 To: nagios-users@lists.sourceforge.net
 Subject: Re: [Nagios-users] Problems Starting Nagios
 
 I'm still getting an error, even though i have the permissions:
 
 drwxrwxrwx  4 nagios nagios   4096 2007-06-13 16:17 .
 drwxr-xr-x 11 nagios nagios   4096 2007-05-10 11:26 ..
 drwxrwxr-x  2 nagios nagios   4096 2007-05-10 11:24 archives
 -rw-rw-r--  1 nagios nagios238 2007-06-12 17:40 comments.dat
 -rw-rw-r--  1 nagios nagios239 2007-06-12 17:40 downtime.dat
 -rw-r--r--  1 nagios nagios  0 2007-06-13 16:17 nagios.lock
 -rwxrwxrwx  1 nagios nagios  14268 2007-06-13 16:56 nagios.log
 -rwxrwxrwx  1 nagios nagios 118664 2007-06-13 16:56 objects.cache
 -rw---  1 nagios nagios 162982 2007-06-13 16:17 retention.dat
 drwxrwsr-x  2 nagios nagios   4096 2007-06-13 12:08 rw
 
 [EMAIL PROTECTED]:/var/log# /usr/local/nagios/bin/nagios
 /usr/local/nagios/etc/nagios.cfg
 
 Nagios 2.7
 Copyright (c) 1999-2007 Ethan Galstad (http://www.nagios.org)
 Last Modified: 01-19-2007
 License: GPL
 
 Warning: Could not get passwd entry for 'nagiosadmin'

Where is this coming from? Did you change 'nagios_user' in nagios.cfg
from the default of 'nagios'? That might explain why you don't have
permissions. What are the contents of the 'rw' directory?

--
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] Problems Starting Nagios

2007-06-13 Thread Luis Cerezo
are you sure your nagios process is run by nagios?

why the setgid on rw?

-luis

Marc Powell wrote:
   
 -Original Message-
 From: [EMAIL PROTECTED] [mailto:nagios-users-
 [EMAIL PROTECTED] On Behalf Of Danilo Perdomo
 Sent: Wednesday, June 13, 2007 3:59 PM
 To: nagios-users@lists.sourceforge.net
 Subject: Re: [Nagios-users] Problems Starting Nagios

 I'm still getting an error, even though i have the permissions:

 drwxrwxrwx  4 nagios nagios   4096 2007-06-13 16:17 .
 drwxr-xr-x 11 nagios nagios   4096 2007-05-10 11:26 ..
 drwxrwxr-x  2 nagios nagios   4096 2007-05-10 11:24 archives
 -rw-rw-r--  1 nagios nagios238 2007-06-12 17:40 comments.dat
 -rw-rw-r--  1 nagios nagios239 2007-06-12 17:40 downtime.dat
 -rw-r--r--  1 nagios nagios  0 2007-06-13 16:17 nagios.lock
 -rwxrwxrwx  1 nagios nagios  14268 2007-06-13 16:56 nagios.log
 -rwxrwxrwx  1 nagios nagios 118664 2007-06-13 16:56 objects.cache
 -rw---  1 nagios nagios 162982 2007-06-13 16:17 retention.dat
 drwxrwsr-x  2 nagios nagios   4096 2007-06-13 12:08 rw

 [EMAIL PROTECTED]:/var/log# /usr/local/nagios/bin/nagios
 /usr/local/nagios/etc/nagios.cfg

 Nagios 2.7
 Copyright (c) 1999-2007 Ethan Galstad (http://www.nagios.org)
 Last Modified: 01-19-2007
 License: GPL

 Warning: Could not get passwd entry for 'nagiosadmin'
 

 Where is this coming from? Did you change 'nagios_user' in nagios.cfg
 from the default of 'nagios'? That might explain why you don't have
 permissions. What are the contents of the 'rw' directory?

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

-- 
Luis E. Cerezo
PGS Global Shared Services - IT
281.509.8397
***



-
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] Problems Starting Nagios

2007-06-13 Thread Morris, Patrick
 I'm still getting an error, even though i have the permissions:
 
 drwxrwxrwx  4 nagios nagios   4096 2007-06-13 16:17 .
 drwxr-xr-x 11 nagios nagios   4096 2007-05-10 11:26 ..
 drwxrwxr-x  2 nagios nagios   4096 2007-05-10 11:24 archives
 -rw-rw-r--  1 nagios nagios238 2007-06-12 17:40 comments.dat
 -rw-rw-r--  1 nagios nagios239 2007-06-12 17:40 downtime.dat
 -rw-r--r--  1 nagios nagios  0 2007-06-13 16:17 nagios.lock
 -rwxrwxrwx  1 nagios nagios  14268 2007-06-13 16:56 
 nagios.log -rwxrwxrwx  1 nagios nagios 118664 2007-06-13 
 16:56 objects.cache
 -rw---  1 nagios nagios 162982 2007-06-13 16:17 retention.dat
 drwxrwsr-x  2 nagios nagios   4096 2007-06-13 12:08 rw
 
 [EMAIL PROTECTED]:/var/log# /usr/local/nagios/bin/nagios 
 /usr/local/nagios/etc/nagios.cfg
 
 Nagios 2.7
 Copyright (c) 1999-2007 Ethan Galstad (http://www.nagios.org) 
 Last Modified: 01-19-2007
 License: GPL
 
 Warning: Could not get passwd entry for 'nagiosadmin'
 Nagios 2.7 starting... (PID=13453)
 Error: Could not create external command file 
 '/usr/local/nagios/var/rw/nagios.cmd' as named pipe: (13) - 
 Permission denied.  If this file already exists and you are 
 sure that another copy of Nagios is not running, you should 
 delete this file.
 Bailing out due to errors encountered while trying to 
 initialize the external command file... (PID=13453)

It looks like you may have nagios running as nagiosadmin, but all the
files are owned by nagios. The rw directory is not writeable by the
nagiosadmin user unless it happens to be a member of the nagios
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] problems passing check_log into check_nrpe

2007-06-13 Thread Morris, Patrick
 Not sure what I'm doing wrong, but this command isn't 
 working. Perhaps I'm passing in the parameter wrong?
  
 [EMAIL PROTECTED] plugins]# ./check_nrpe -H 192.168.1.156 -c 
 check_log -F /opt/program/jboss/server/default/log/server.log 
 \ -O /opt/program/jboss/server/default/log/serverPrev.log -q error 
  
 I'm running this from my Nagios console station.  NRPE is 
 properly installed on the remote station (I tested it by 
 passing the check_disk to the server running the NRPE 
 client), and I'm wondering if there is some other stupid 
 thing I missed? 

Is nrpe configured to allow parameters to be passed?

-
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