Re: [Nagios-users] Event Handlers, start a java program, nohup issues.

2009-07-03 Thread Edgar Matzinger
LS,

Marco scribbled on 2009-07-03:

> Hello users:
> 
> nohup $JAVA_CMD -cp $CLASSPATH $JVM_OPTIONS 
> JMXServer.JMXServerDispatcher $PORT >$LOG_FILE
> 2>>$LOG_FILE &

Change this in  $PORT <&- >>$LOGFILE 2>&1 &
<&- closes STDIN

> Any thoughts? other suggestions?

  can't you use the init.d script? E.g. "/sbin/service jmx start"...
Or something similar

HTH, cu l8r, Edgar.
-- 
|\  /| :: Addr: Valid Eindhoven B.V.
 /  | \/ | : Edgar R. Matzinger :   t.a.v. E.R. Matzinger
/   || ::   Flight Forum 565
\  /|  /\| ::   5657DR Eindhoven
 \/   /  \ : Valid Eindhoven BV :
  \  /\  / ::
   \/ |\/  ::
  |::
Disclaimer: Any comments, opinions made are mine, etc ... 



--
___
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] Send SMS via Serial

2009-07-02 Thread Edgar Matzinger
LS,

> Hi all,
> 
> I'm trying to set a solution to send sms via serial port (RS-232).
> On the server (running nagios),

If it looks like a modem, I would opt for sms_client. Is in service at
our location for many years...

HTH, cu l8r, Edgar.
--
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] check_smtp issue

2009-07-01 Thread Edgar Matzinger
LS,

Dei scribbled on 2009-07-01:

> I have setup check_smtp in my Nagios to possibly check smtp flow.
> 
> Configured my cfgs in command.cfg:
> define command{
> command_name check_smtp
> command_line $USER1$/check_smtp -H $HOSTADDRESS$ -p 25 -w $ARG1$ -c 
> $ARG2$ -t $ARG3$ }

OK.

> 
> Configured on host nrpe:
> command[check_smtp]=/usr/local/nagios/libexec/check_smtp -p 25 -w 5 -c
> 8 -t 100

This check has nothing to do with NRPE.

> 
> However when I check nagios page, I'm getting this error:
> check_smtp: Warning time must be a positive integer

What is your service description?

HTH, cu l8r, Edgar.
-- 
|\  /| :: Addr: Valid Eindhoven B.V.
 /  | \/ | : Edgar R. Matzinger :   t.a.v. E.R. Matzinger
/   || ::   Flight Forum 565
\  /|  /\| ::   5657DR Eindhoven
 \/   /  \ : Valid Eindhoven BV :
  \  /\  / ::
   \/ |\/  ::
  |::
Disclaimer: Any comments, opinions made are mine, etc ... 


--
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] check_dhcp issue

2009-06-26 Thread Edgar Matzinger
LS,

Dei scribbled on 2009-06-26:

> Ok, here's my definition in services:
> 
> define service{
> use   local-service
> host_name serveip1.dev.net
> service_description   check_dhcp
> check_command check_dhcp!/check_dhcp -s $HOSTADDRESS$
> }

the command_line should be:

check_command  check_dhcp

Without !/check_dh!

> 
> Here's my command.cfg:
> define command{
> command_namecheck_dhcp
> command_line$USER1$/check_dhcp -s $HOSTADDRESS$
> }

In your examples from a few posts ago, you specify a *hostname*. In
your service description, an *IP address*. Does that make any difference?

HTH, cu l8r, Edgar.
-- 
|\  /| :: Addr: Valid Eindhoven B.V.
 /  | \/ | : Edgar R. Matzinger :   t.a.v. E.R. Matzinger
/   || ::   Flight Forum 565
\  /|  /\| ::   5657DR Eindhoven
 \/   /  \ : Valid Eindhoven BV :
  \  /\  / ::
   \/ |\/  ::
  |::
Disclaimer: Any comments, opinions made are mine, etc ... 


--
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] - NRPE 2.12 ./configure error on solaris 9

2009-06-23 Thread Edgar Matzinger
LS,

Chethan scribbled on 2009-06-23:

>   Dear All,
> 
>   I m trying to configure NRPE 2.12 on one of my sun server (solaris 
> 9)... i m getting the following error.
> 
>   I also tried to give path of ssl libraries... ie
>   ./configure with-ssl=/usr/sfw/ with-ssl-lib=/usr/sfw/lib/   ---
> didnt work either..
> 

  this should be ./configure --with-ssl=..

HTH, cu l8r, Edgar.
-- 
|\  /| :: Addr: Valid Eindhoven B.V.
 /  | \/ | : Edgar R. Matzinger :   t.a.v. E.R. Matzinger
/   || ::   Paradijslaan 36
\  /|  /\| ::   5611 KN Eindhoven
 \/   /  \ : Valid Eindhoven BV :
  \  /\  / ::
   \/ |\/  ::
  |::
Disclaimer: Any comments, opinions made are mine, etc ... 



--
Are you an open source citizen? Join us for the Open Source Bridge conference!
Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
Need another reason to go? 24-hour hacker lounge. Register today!
http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org
___
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] Multiple customers

2009-05-16 Thread Edgar Matzinger
LS,

Matthew scribbled on 2009-05-16:

> Hugo van der Kooij wrote:
> 
> With nagios you could install a local server for each customer where
> the objects will have local addresses for the hosts. And let each local
> instance report to a global server. But then you must make sure that
> the hostnames will remain unique on a global level.
> 
> Hugo is onto something there.
> 
> This is exactly how we do it.
> We deploy a Nagios instance for each customer. The remote Nagios 
> instance is configured on our central server and the remote server 
> drives all of the notifications/alerting etc

  yes, so do we at Valid. We just add @ after each hostname
in nagios. E.g. ho...@abc.

HTH, cu l8r, Edgar.
-- 
|\  /| :: Addr: Valid Eindhoven B.V.
 /  | \/ | : Edgar R. Matzinger :   t.a.v. E.R. Matzinger
/   || ::   Paradijslaan 36
\  /|  /\| ::   5611 KN Eindhoven
 \/   /  \ : Valid Eindhoven BV :
  \  /\  / ::
   \/ |\/  ::
  |::
Disclaimer: Any comments, opinions made are mine, etc ... 



--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
___
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 HP-UX system

2009-04-28 Thread Edgar Matzinger
Hi Kyle,
 
> check_ssh
> check_tcp/udp can read and eval output
 
  very good! I didn't think of that... :-(.
 
HTH, cu l8r, Edgar.
-- 
|\  /| :: Addr: Valid Eindhoven B.V.
 /  | \/ | : Edgar R. Matzinger :   t.a.v. E.R. Matzinger
/   || ::   Paradijslaan 36
\  /|  /\| ::   5611 KN Eindhoven
 \/   /  \ : Valid Eindhoven BV :
  \  /\  / ::
   \/ |\/  ::
  |::
Disclaimer: Any comments, opinions made are mine, etc ... 

--
Register Now & Save for Velocity, the Web Performance & Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance & Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
___
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 HP-UX system

2009-04-28 Thread Edgar Matzinger
Hi Palle,
 
  I gather that SNMP is not installed and/or not running?
 
> The general requirements:

> - Cannot install anything on the system - it's a validated production

> system.

 

OK, no problem.

 

> - It runs a SSH server daemon that we'd like to monitor.

 

To monitor the disk usage, run "ssh  df -kP" (assuming

passwordless login is set up), and process the output on the nagios

server itself. Similar, for other commands.

 

> - What I'd like to see is some way to have it connect to the specified

> port, read the banner and then just abort the connection. The purpose

> of this is that perhaps the Nagios system could read the banner response

> it gets, and if it is not what it's expected, or fails to receive a

> banner/login prompt, send an alert.

 

You want to have the opposite of what check_http.pl 
(http://www.nagiosexchange.org/cgi-bin/page.cgi?g=Detailed%2F1531.html;d=1 
 ) 
provides... If you're up to speed with perl, you could use the telnet

module to check some TCP ports and check for their ouput.

 

HTH, cu l8r, Edgar.

-- 
|\  /| :: Addr: Valid Eindhoven B.V.
 /  | \/ | : Edgar R. Matzinger :   t.a.v. E.R. Matzinger
/   || ::   Paradijslaan 36
\  /|  /\| ::   5611 KN Eindhoven
 \/   /  \ : Valid Eindhoven BV :
  \  /\  / ::
   \/ |\/  ::
  |::
Disclaimer: Any comments, opinions made are mine, etc ... 


--
Register Now & Save for Velocity, the Web Performance & Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance & Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
___
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] upgrading nagios

2009-04-14 Thread Edgar Matzinger
LS,

> 
> In other words, it would put the whole nagios install under
> /usr/local/nagios, the "default" location if you do not specify an
> alternate prefix.
>

Great! I've always had nagios in /usr/local. And is also documented
in our installation documents. So, I (or we) prefer to have nagios
in /usr/local.

> Personally, if I were you, I would _not_ rebuild it in a non-standard
> way like you mention above unless you have very good reason to do so -
> Yes, there may be more work involved, but the end result will be worth
> it.
>

Which non-standard way? Oh, with regard to other tools... Or the docs
on nagios.org... And because there's more work involved (where is this
or that file located?), we keep nagios in a central place.

> (The guy who takes over your job down the road will also be grateful,
> and you won't have to hunt over the whole system to find the stuff you
> need!)

That guy needs to read our docs first... :-))). And when I store everything
in /usr/local/nagios, I don't have to hunt anything... ;-))

Just my $0,10, cu l8r, Edgar.

PS And /opt would be a suitable location also.
-- 
|\  /| :: Addr: Valid Eindhoven B.V.
 /  | \/ | : Edgar R. Matzinger :   t.a.v. E.R. Matzinger
/   || ::   Paradijslaan 36
\  /|  /\| ::   5611 KN Eindhoven
 \/   /  \ : Valid Eindhoven BV :
  \  /\  / ::
   \/ |\/  ::
  |::
Disclaimer: Any comments, opinions made are mine, etc ... 


--
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] "strange" warnings from the config files

2009-04-07 Thread Edgar Matzinger
Hi Morton,

> How come that I get a warning if I omit the "check_period" on services
> while it seems to be ok to leave it out on the hosts?

  according the documentation (http://nagios.sourceforge.net/docs/3_0/
objectdefinitions.html), check_period is mandatory for both hosts and
services! And thus, nagios should report an error in both occasions!

Sorry, cu l8r, Edgar.
-- 
|\  /| :: Addr: Valid Eindhoven B.V.
 /  | \/ | : Edgar R. Matzinger :   t.a.v. E.R. Matzinger
/   || ::   Paradijslaan 36
\  /|  /\| ::   5611 KN Eindhoven
 \/   /  \ : Valid Eindhoven BV :
  \  /\  / ::
   \/ |\/  ::
  |::
Disclaimer: Any comments, opinions made are mine, etc ... 
 

--
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] Nagios configuration for SAN monitoring

2009-02-23 Thread Edgar Matzinger
Hi Sonika,
 
2009/2/21 Sonika Sachdeva :
> Hello List,
>
> I have nagios basic configuration up and running as per the quickstart
> guide.
> I also have SNMP4nagios installed and running and the command works from the
> command line as follows
>
> /usr/local/bin/check_brocade_port -H x.x.x.x -C mystring -T -i 5 -I addinf
> OK - Port 5: I: 527243 kFCW, 1109528922 FCF; O: 1204391 kFCW, 2066880039
> FCF|addinf;6;1;539897616;1233297068;1109528922;2066880039
> How do I integrate this command in nagios and start the logging and graphing
> functionality for brocade ports. can someone point me to a tutorial/guide.
>
> Has someone used nagios for SAN monitoring?
 
  I have, some time ago. It's relatively easy to set up nagios so that
it stores the perf. data in RRD databases. But the problem lies in the
fact that all the performance counters in the brocade switches roll
over after having read or written 4e9 4byte words. So you have to
read-out the counters for each port every 2 to 5 minutes (depending on
the speed of the interface: 1Gb, 2Gb, 4Gb) and if you have a 16-port
FC-switch you have to contact it every 15 seconds. Not a problem if you
have a single switch, but if you have more than, let's say, 8, this will
put a serious load on nagios.
 
To solve this issue, I wrote a little tool that contacts the FC switches
every minute, retrieves the perf. counters and stores this data directly
into RRD databases (for every port in each switch one RRD db). But every
few minutes it will pass the data through nagios (needed to satisfy
GroundWork).
 
If needed, I can dig up this tool.
 
HTH, cu l8r, Edgar.
-- 
|\  /| :: Addr: Valid Eindhoven B.V.
 /  | \/ | : Edgar R. Matzinger :   t.a.v. E.R. Matzinger
/   || ::   Paradijslaan 36
\  /|  /\| ::   5611 KN Eindhoven
 \/   /  \ : Valid Eindhoven BV :
  \  /\  / ::
   \/ |\/  ::
  |::
Disclaimer: Any comments, opinions made are mine, etc ... 



From: Jim Avery [mailto:j...@jimavery.me.uk]
Sent: Mon 2/23/2009 21:02
To: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] Nagios configuration for SAN monitoring



 


--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
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] Whoops Error for no reason

2009-02-23 Thread Edgar Matzinger
Hi Sebastian,

> ps faux shows me nagios running:
> nagios   30461  0.0  0.0  34384  1884 ?SNsl 22:10   0:00
> /usr/sbin/nagios3 -d /etc/nagios3/nagios.cfg

  here you're referring to nagios3...
> 
> nagios -v ...  tells me

and here to nagios... Are both executables the same? And did you (and
I assume you did, but just to verify) specify "/etc/nagios3/nagios.cfg"
for "..."? If so, then I'm stumped, but it could also be a problem
with any of the CGIs. Do the nagios status and log files report any
monitoring activity of the nagios daemon? Or are there any errors in
those files?

With regards to the CGIs, what is the value of main_config_file in
/cgi.cfg? That should be
/etc/nagios3/nagios.cfg. And 
is normally "/etc/nagios", but can be changed during the ./configure
phase. Do a "strings //status.cgi | grep cgi.cfg" to verify
it's location.

HTH, cu l8r, Edgar.
-- 
|\  /| :: Addr: Valid Eindhoven B.V.
 /  | \/ | : Edgar R. Matzinger :   t.a.v. E.R. Matzinger
/   || ::   Paradijslaan 36
\  /|  /\| ::   5611 KN Eindhoven
 \/   /  \ : Valid Eindhoven BV :
  \  /\  / ::
   \/ |\/  ::
  |::
Disclaimer: Any comments, opinions made are mine, etc ... 


--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
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] Configuring Nagios on Solaris 10 (Sparc)

2009-02-12 Thread Edgar Matzinger
Hi Dermot,

> but it returns nothing when you run the following command…
> 
> /usr/local/nagios/bin/nrpe -c /etc/nrpe.cfg –d

  you are running nrpe as a deamon Take a look in the syslog
files for any messages. But:

> I added the following line to the end of /etc/inet/inetd.conf:
> nrpe stream tcp nowait nagios /usr/sfw/sbin/tcpd \
>  /usr/local/nagios/bin/nrpe -c /etc/nrpe.cfg –d

Here you are trying to setup inetd as well. You'll have to pick one
method: daemon or inetd.

HTH, cu l8r, Edgar.
-- 
|\  /| :: Addr: Valid Eindhoven B.V.
 /  | \/ | : Edgar R. Matzinger :   t.a.v. E.R. Matzinger
/   || ::   Paradijslaan 36
\  /|  /\| ::   5611 KN Eindhoven
 \/   /  \ : Valid Eindhoven BV :
  \  /\  / ::
   \/ |\/  ::
  |::
Disclaimer: Any comments, opinions made are mine, etc ... 


--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] skip monitoring every 4 weeks

2009-01-29 Thread Edgar Matzinger
Hi Assaf,

> 
> I have a situation where i need to turn of monitoring for server while
> they are being rebooted ,
> this is done during the weekend , and the person doing the reboots is
> not one that has access to
> the nagios .
>

  why don't you specify downtimes? For those hosts? This can be done
in advance.

HTH, cu l8r, Edgar.
-- 
|\  /| :: Addr: Valid Eindhoven B.V.
 /  | \/ | : Edgar R. Matzinger :   t.a.v. E.R. Matzinger
/   || ::   Paradijslaan 36
\  /|  /\| ::   5611 KN Eindhoven
 \/   /  \ : Valid Eindhoven BV :
  \  /\  / ::
   \/ |\/  ::
  |::
Disclaimer: Any comments, opinions made are mine, etc ... 


--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
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] nagiosgraph insert.pl problems withchek_nt!USEDDISKSPACE

2009-01-09 Thread Edgar Matzinger
Hi Ingar,

> - RRDs::update ERR
> /usr/local/etc/nagios/nagiosgraph/rrd/lys-
> dc01/C%3A%5C%20OS___ntdisk.rrd:
> expected 4 data source readings (got 4) from 1231493108
> 
> In Nagios all looks fine though:
> 
> Performance Data: 'c:\ Used Space'=6.38Gb;23.99;26.99;0.00;29.99

  how was the RRD file created? With which arguments? BTW, the performance
data listed above is a single data source...

HTH, cu l8r, Edgar.
-- 
|\  /| :: Addr: Valid Eindhoven B.V.
 /  | \/ | : Edgar R. Matzinger :   t.a.v. E.R. Matzinger
/   || ::   Paradijslaan 36
\  /|  /\| ::   5611 KN Eindhoven
 \/   /  \ : Valid Eindhoven BV :
  \  /\  / ::
   \/ |\/  ::
  |::
Disclaimer: Any comments, opinions made are mine, etc ... 


--
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
___
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] Could not complete ssl handshake

2009-01-08 Thread Edgar Matzinger
Hi Harry,

> I know I've seen this error on this forum before but can not remember
> what resolved the problem. I installed NRPE on a Linux system to talk to
> another Linux machine that is the Nagios server. I do the check_nrpe and
> get Could not complete SSL handshake. It works fine when I do it from
> the server to the remote system.

  are both nrpe installations of the same version? I've got this problem
when both versions (of check_nrpe on one system and nrpe on the remote
server) were different.

HTH, cu l8r, Edgar.
-- 
|\  /| :: Addr: Valid Eindhoven B.V.
 /  | \/ | : Edgar R. Matzinger :   t.a.v. E.R. Matzinger
/   || ::   Paradijslaan 36
\  /|  /\| ::   5611 KN Eindhoven
 \/   /  \ : Valid Eindhoven BV :
  \  /\  / ::
   \/ |\/  ::
  |::
Disclaimer: Any comments, opinions made are mine, etc ... 


--
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
___
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] Multiple customers

2008-12-22 Thread Edgar Matzinger
Hi Ronaldo,

> 
>  1. Move to IPv6 and solve the adressing issue once and for all. In the
> end you now you have to do that sooner or later.

This would be the best option...

> 
>  2. Do not accept private addresses. They are not unique so they will
> not work with multiple networks administered by different admins.

I guess that you've set up a VPN connection between you and your
customer? Not that this of any concern but just the way how I would
connect to customers. But you will have to use NAT to translate the
customer's IP addresses to a range in your own (private) address
space. Maybe even NAT twice: use another IP address range over the
VPN tunnel.

> 
> With nagios you could install a local server for each customer where
> the
> objects will have local addresses for the hosts. And let each local
> instance report to a global server. But then you must make sure that
> the
> hostnames will remain unique on a global level.

This is what we do (we monitor several customers) by adding @
to the hostname, e.g. d...@abc. We are in the process of setting up a
separate VM for each customer. This VM is either loaded in a "stepping
stone" server located at the customer or in our own (monitoring) DMZ.
Rationale behind this set up is separation between customers...

> 
> It is for challenges like this that I think the whole the need for IPv6
> may finally sink in into the ICT community so we can get rid of all
> those stupid NAT constructs.
> 
> (If you thought this was a tough one you aint seen nothing yet. )

True, but as long as there are customers out there that have IPv4...

HTH, cu l8r, Edgar.
-- 
|\  /| :: Addr: Valid Eindhoven B.V.
 /  | \/ | : Edgar R. Matzinger :   t.a.v. E.R. Matzinger
/   || ::   Paradijslaan 36
\  /|  /\| ::   5611 KN Eindhoven
 \/   /  \ : Valid Eindhoven BV :
  \  /\  / ::
   \/ |\/  ::
  |::
Disclaimer: Any comments, opinions made are mine, etc ... 


--
___
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 monitoring SQL?

2008-11-20 Thread Edgar Matzinger
LS,

> -Original Message-
> From: Sotiroff, Kristian [mailto:[EMAIL PROTECTED] 
snip
> 
> (ps. I also like to top post..)
even more snip

  we don't.

Regards, Edgar.
-- 
|\  /| :: Addr: Valid Eindhoven B.V.
 /  | \/ | : Edgar R. Matzinger :   t.a.v. E.R.
Matzinger
/   || ::   Paradijslaan 36
\  /|  /\| ::   5611 KN Eindhoven
 \/   /  \ : Valid Eindhoven BV :
  \  /\  / ::
   \/ |\/  ::
  |::
Disclaimer: Any comments, opinions made are mine, etc ... 

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] NRPE mystery

2008-11-20 Thread Edgar Matzinger
Hi Farhan Ahmed,

  the only thing I can think of is that the exit codes aren't
propagated to the nagios server:

> [EMAIL PROTECTED]  /usr/local/sys/nrpe/libexec/check_users -w 2 
> -c 3 USERS CRITICAL - 11 users currently logged in |users=11;2;3;0
> 
> [EMAIL PROTECTED]  /usr/local/sys/nrpe/libexec/check_tcp -p 1250 
> Connection refused
> 

What are the exit codes of these checks? Should be 2.

> On Nagios Server:
> [EMAIL PROTECTED]:~# /usr/local/nagios/libexec/check_nrpe -H asqstage 
> -c check_users USERS CRITICAL - 10 users currently logged in 
> |users=10;2;3;0
> 
> [EMAIL PROTECTED]:~# /usr/local/nagios/libexec/check_nrpe -H asqstage 
> -c check_remote Connection refused

And here? The exit codes should be 2 also.

Succes, cu l8r, Edgar.
-- 
|\  /| :: Addr: Valid Eindhoven B.V.
 /  | \/ | : Edgar R. Matzinger :   t.a.v. E.R.
Matzinger
/   || ::   Paradijslaan 36
\  /|  /\| ::   5611 KN Eindhoven
 \/   /  \ : Valid Eindhoven BV :
  \  /\  / ::
   \/ |\/  ::
  |::
Disclaimer: Any comments, opinions made are mine, etc ... 

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
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] Citrix checks

2008-11-12 Thread Edgar Matzinger
Fellow nagios users,
 
  I wonder how you would check several Citrix services. Like SMA, IMA,
Print Manager, WWW Publishing, licenses, etc. with nagios/nrpe? Port
checks? Are there any SNMP checks possible? I've seen some Citrix checks
on nagiosexchange.org, but they handle the checks mentioned above
Or are these services automatically by Microsoft Services? As you can
see, I'm neither a Microsoft admin nor citrix admin.
 
Thanks, regards, Edgar.
-- 
|\  /| :: Addr: Valid Eindhoven B.V.
 /  | \/ | : Edgar R. Matzinger :   t.a.v. E.R. Matzinger
/   || ::   Paradijslaan 36
\  /|  /\| ::   5611 KN Eindhoven
 \/   /  \ : Valid Eindhoven BV :
  \  /\  / ::
   \/ |\/  ::
  |::
Disclaimer: Any comments, opinions made are mine, etc ... 

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
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] Any numbers on sizing a nagios server?

2008-11-04 Thread Edgar Matzinger
LS,
 
  I've searched the internet (maybe I look in the wrong places) but I
can't find any numbers on sizing a nagios server. Are there any numbers
out there amongst you and are you willing to share?
 
Thanks, regards, Edgar.
-- 
|\  /| :: Addr: Valid Eindhoven B.V.
 /  | \/ | : Edgar R. Matzinger :   t.a.v. E.R. Matzinger
/   || ::   Paradijslaan 36
\  /|  /\| ::   5611 KN Eindhoven
 \/   /  \ : Valid Eindhoven BV :
  \  /\  / ::
   \/ |\/  ::
  |::
Disclaimer: Any comments, opinions made are mine, etc ... 


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
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] SUPPORT FOR CONFIGURING NAGIOS WITH MYSQL DATABASETO STORE LOGAND DATA IN MYSQL

2008-11-04 Thread Edgar Matzinger
Hi Sanjeeb,

you wrote:
> Thanks for the response.Let me Describe what is my 
> requirement  we have Nagios configured in one server with 
> apache where it is not able to store all datas(Means if we 
> want to gather last 1 year's data for KPI  we are not able to 
> do same).

You can do this with ndo2db. With this tool data can be stored
on a different server than the one nagios is running on.

> So my management decided to configure Nagios with 
> Mysql to store all information and can retrive all 
> information from url when ever they require it.

If you need it for reporting purposes only, use ndo2db. There
are probably some reporting tools available which can translate
the contents of the NDO database into a report. Otherwise you could
use a generic BI tool to generate such reports. Start with checking
the tables nagios_checkhosts and nagios_checkservices. A short
search didn't reveal any out-of-the-box solutions :-(

> So please advice what steps and what I will follow to 
> implement the same .Do you have any specific document for 
> same then please help me .

I don't have any experience with reporting from nagios. I do use
ndo2db for nagvis.

Sorry, cu l8r, Edgar.
-- 
|\  /| :: Addr: Valid Eindhoven B.V.
 /  | \/ | : Edgar R. Matzinger :   t.a.v. E.R.
Matzinger
/   || ::   Paradijslaan 36
\  /|  /\| ::   5611 KN Eindhoven
 \/   /  \ : Valid Eindhoven BV :
  \  /\  / ::
   \/ |\/  ::
  |::
Disclaimer: Any comments, opinions made are mine, etc ... 

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
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] SUPPORT FOR CONFIGURING NAGIOS WITH MYSQL DATABASETO STORE LOGAND DATA IN MYSQL

2008-11-04 Thread Edgar Matzinger
Hi Sanjeeb,

> > I need your support regarding configuration of NAGIOS with MYSQL 
> > database please help me How to configure NAGIOS with mysql to store 
> > nagio's data.
> >  
> > See i am talking about storing information of nagios in 
> MYSQL database

  if you're talking about storing this information only, take a look
at ndo2db. If you need a frontend to configure nagios using a database
take a look at groundwork, lilac, centreon, et al.

> 
> > not about monitoring MYSQL:)

OK, regards, Edgar.
-- 
|\  /| :: Addr: Valid Eindhoven B.V.
 /  | \/ | : Edgar R. Matzinger :   t.a.v. E.R.
Matzinger
/   || ::   Paradijslaan 36
\  /|  /\| ::   5611 KN Eindhoven
 \/   /  \ : Valid Eindhoven BV :
  \  /\  / ::
   \/ |\/  ::
  |::
Disclaimer: Any comments, opinions made are mine, etc ... 

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
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] ??????

2008-10-22 Thread Edgar Matzinger
Hi Sergei,
 
> , Nagios-users.
> 
> ??? ?? ?? ??? ? ?
> ? ? APACHE
> attempt to invoke directory as script: /usr/local/nagios/sbin/
> 
> ??? ???

  kun je dit vertalen? Mijn Russisch(?) is niet meer wat het geweest is.
Or in English: Can you translate this message? My Russian(?) is rather
rusty. :-)
 
MTIA, cu l8r, Edgar.
-- 
|\  /| :: Addr: Valid Eindhoven B.V.
 /  | \/ | : Edgar R. Matzinger :   t.a.v. E.R. Matzinger
/   || ::   Paradijslaan 36
\  /|  /\| ::   5611 KN Eindhoven
 \/   /  \ : Valid Eindhoven BV :
  \  /\  / ::
   \/ |\/  ::
  |::
Disclaimer: Any comments, opinions made are mine, etc ... 


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
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] External Command File : command.cfg is notreferenced in Nagios v3.0.2 ... not for me anyways :)

2008-06-18 Thread Edgar Matzinger
Hi Chris,

> # EXTERNAL COMMAND FILE
> command_file=/etc/nagios/cluster_commands.cfg 
> 

  you have to use the directive cfg_file to include an additional config
file. The directive command_file is used to supply nagios with extra
commands to execute. A process (like the command CGI) writes into this
file (which is in fact a named pipe) to feed nagios with commands to
execute. See http://nagios.sourceforge.net/docs/3_0/extcommands.html for
more information.

HTH, cu l8r, Edgar.
-- 
|\  /| :: Addr: Valid Eindhoven B.V.
 /  | \/ | : Edgar R. Matzinger :   t.a.v. E.R. Matzinger
/   || ::   Paradijslaan 36
\  /|  /\| ::   5611 KN Eindhoven
 \/   /  \ : Valid Eindhoven BV :
  \  /\  / ::
   \/ |\/  ::
  |::
Disclaimer: Any comments, opinions made are mine, etc ... 

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
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] Configuring tricky escalations

2008-04-07 Thread Edgar Matzinger
Hi Julien,

> This is working just fine. Now the tricky part : we would 
> like to send notification for DF WARNINGS only during 
> workhours, and the rest (u,c,r) in the 24x7 period.
> I tried to create more escalations, specific with 
> "timeperiod" and "escalation_options" but I can't make it.
> 
> Will you find the solution ? thanks in advance for your help.

  you have to specify in the contacts or contacts group the notification
period, i.e. when *they* want to be notified.

HTH, cu l8r, Edgar.
-- 
|\  /| :: Addr: Valid Eindhoven B.V.
 /  | \/ | : Edgar R. Matzinger :   t.a.v. E.R.
Matzinger
/   || ::   Paradijslaan 36
\  /|  /\| ::   5611 KN Eindhoven
 \/   /  \ : Valid Eindhoven BV :
  \  /\  / ::
   \/ |\/  ::
  |::
Disclaimer: Any comments, opinions made are mine, etc ... 

-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Register now and save $200. Hurry, offer ends at 11:59 p.m., 
Monday, April 7! Use priority code J8TLD2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
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] NC_Net nagios client to monitor Event logs on windows

2008-02-20 Thread Edgar Matzinger
Hi Manju, 

> 
> [EMAIL PROTECTED] libexec]# ./check_nt -H windowsmachine -p 1248 
> -v EVENTLOG  -l any,any,any5,0,0,0 -w 5 -c 10
> check_nt: Could not parse arguments

  and if you replace "any5" with "5"?

HTH, cu l8r, Edgar.
-- 
|\  /| :: Addr: Valid Eindhoven B.V.
 /  | \/ | : Edgar R. Matzinger :   t.a.v. E.R.
Matzinger
/   || ::   Paradijslaan 36
\  /|  /\| ::   5611 KN Eindhoven
 \/   /  \ : Valid Eindhoven BV :
  \  /\  / ::
   \/ |\/  ::
  |::
Disclaimer: Any comments, opinions made are mine, etc ... 
 

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
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] DISK UNKNOWN - free space

2008-01-11 Thread Edgar Matzinger
Hi Jake,
 
  you should use the mount points in the configuration, as in:
 
command[check_disk1]=/usr/lib64/nagios/plugins/check_disk -w 20% -c 10% -p /tmp
 
At the moment you have the disk device (OK, logical volume) configured.
 
HTH, cu l8r, Edgar.
-- 
|\  /| :: Addr: Valid Eindhoven B.V.
 /  | \/ | : Edgar R. Matzinger :   t.a.v. E.R. Matzinger
/   || ::   Paradijslaan 36
\  /|  /\| ::   5611 KN Eindhoven
 \/   /  \ : Valid Eindhoven BV :
  \  /\  / ::
   \/ |\/  ::
  |::
Disclaimer: Any comments, opinions made are mine, etc ... 




From: [EMAIL PROTECTED] on behalf of Jake Solid
Sent: Thu 10/01/2008 23:25
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] DISK UNKNOWN - free space


I'm getting the following message when monitoring one of my disks from my 
nagios server.

DISK UNKNOWN - free space:|

The following is my fstab configuration:

/dev/VolGroup00/LogVol02 /   ext3defaults1 1 
/dev/md1/boot   ext3defaults1 2
devpts  /dev/ptsdevpts  gid=5,mode=620  0 0
tmpfs   /dev/shmtmpfs   defaults0 0 
proc/proc   procdefaults0 0
sysfs   /syssysfs   defaults0 0
/dev/VolGroup00/LogVol00 /tmpext3defaults1 2 
/dev/VolGroup00/LogVol01 /varext3defaults1 2
/dev/md0swapswapdefaults0 0
/dev/VolGroup01/fredVol00   /vservers/fred/data ext3
defaults1 2 




The following is my nrpe.cfg configuration:

#
# Sample NRPE Config File
# Written by: Ethan Galstad ( [EMAIL PROTECTED]  )
#
# Last Modified: 02-23-2006
#
# NOTES:
# This is a sample configuration file for the NRPE daemon.  It needs to be
# located on the remote host that is running the NRPE daemon, not the host 
# from which the check_nrpe client is being executed.
#


# PID FILE
# The name of the file in which the NRPE daemon should write it's process ID 
# number.  The file is only written if the NRPE daemon is started by the root
# user and is running in standalone mode.

pid_file=/var/run/nrpe.pid



# PORT NUMBER
# Port number we should wait for connections on. 
# NOTE: This must be a non-priviledged port (i.e. > 1024).
# NOTE: This option is ignored if NRPE is running under either inetd or xinetd

server_port=5666



# SERVER ADDRESS
# Address that nrpe should bind to in case there are more than one interface 
# and you do not want nrpe to bind on all interfaces.
# NOTE: This option is ignored if NRPE is running under either inetd or xinetd

#server_address=192.168.1.1  



# NRPE USER
# This determines the effective user that the NRPE daemon should run as.
# You can either supply a username or a UID.
#
# NOTE: This option is ignored if NRPE is running under either inetd or xinetd 

nrpe_user=nagios



# NRPE GROUP
# This determines the effective group that the NRPE daemon should run as.
# You can either supply a group name or a GID.
#
# NOTE: This option is ignored if NRPE is running under either inetd or xinetd 

nrpe_group=nagios



# ALLOWED HOST ADDRESSES
# This is an optional comma-delimited list of IP address or hostnames
# that are allowed to talk to the NRPE daemon.
#
# Note: The daemon only does rudimentary checking of the client's IP 
# address.  I would highly recommend adding entries in your /etc/hosts.allow
# file to allow only the specified host to connect to the port
# you are running this daemon on.
#
# NOTE: This option is ignored if NRPE is running under either inetd or xinetd 

#allowed_hosts=127.0.0.1  ,192.168.0.2  



# COMMAND ARGUMENT PROCESSING
# This option determines whether or not the NRPE daemon will allow clients 
# to specify arguments to commands that are executed.  This option only works
# if the daemon was configured with the --enable-command-args configure script
# option.
#
# *** ENABLING THIS OPTION IS A SECURITY RISK! *** 
# Read the SECURITY file for information on some of the security implications
# of enabling this variable.
#
# Values: 0=do not allow arguments, 1=allow command arguments

dont_blame_nrpe=0



# COMMAND PREFIX
# This option allows you to prefix all commands with a user-defined string.
# A space is automatically added between the specified prefix string and the
# command line from the command definitio