Re: [Nagios-users] Q: Need to use a default user, but still allow changing to another user

2008-03-19 Thread Hugo van der Kooij
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Cary Petterborg wrote:
| We are trying to make things easy for managers who want to look at
| statuses without logging in (it is a request by the managers, not
| something WE thought up on our own to help them). This can be done by
| setting a default user, right? So you set the default user, but then you
| can't log in as a different user to get different views, etc.
|
| Does anyone have a solution that they are using for this type of case? I
| know I can get around this doing some programming, but if someone
| already cracked this nut, it would save me a lot of time for other work.

Educate the managers. Your do this securely by having EVERYONE do
authentication. If that is too much of a bother then they shouldn't even
be looking at the nagios pages.

If you do not dare to tell this to them your self talk to your security
officer and let him/her explain this.

Or present them with looking glass. I am sure you can find that with
your favorite search engine.

Hugo.

- --
[EMAIL PROTECTED]   http://hugo.vanderkooij.org/
PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc

A: Yes.
Q: Are you sure?
A: Because it reverses the logical flow of conversation.
Q: Why is top posting frowned upon?

Bored? Click on http://spamornot.org/ and rate those images.

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

iD8DBQFH4LLGBvzDRVjxmYERAj60AJ9ChF+VRwH3xxwhc07jquRkrnt/BwCgl6ec
RmeOC0HbWZyg8JDlbaEXbJo=
=TGlV
-END PGP SIGNATURE-

-
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] IM notification

2008-03-19 Thread Alex Dehaini
How can I test it using the commandline and see the debugging output?

On Tue, Mar 18, 2008 at 6:47 PM, Wojciech Kocjan [EMAIL PROTECTED]
wrote:

 On Tue, 18 Mar 2008 18:39:52 +0100, Alex Dehaini [EMAIL PROTECTED]
 wrote:

  Hi Guys,
  I will like to implement IM notification. Can I get any detailed help
  from
  the house. I will like to use jabber and some script. How can I get this
  to
  work?

 Does

 http://www.gridpp.ac.uk/wiki/Nagios_jabber_notification

 help?

 --
 Wojciech Kocjan




-- 
Alex Dehaini
Developer
Site - www.alexdehaini.com
Email - [EMAIL PROTECTED]
-
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] NSCA processes hanging around

2008-03-19 Thread Gareth Watson
No one seems to have replied to this post.  So I thought I may as well
reply to myself :)

I think I have some more information about the cause of my issue and
maybe someone else can confirm or refute my suggestion.

Whilst running the Nagios beta versions we were experiencing memory
leaks (as documented in the change logs).  Rather than roll back to 2.9
I was happy to script a restart of Nagios daily and wait for the problem
to be fixed.

Now I have removed the restarting of Nagios I no longer get any nsca
processes hanging around.  So can anyone confirm the behaviour of NSCA
when nagios is shutting down or has shutdown?

As always, any and all help is appreciated.

Thanks,

Gareth. 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Gareth
Watson
Sent: 17 March 2008 09:03
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] NSCA processes hanging around

Hello,

Over time I notice a number (a large number, ~500) of nsca processes
hanging around. I used netstat to see what they were up to and they
where all in the TIME_WAIT status.

Reading on the internet I think I understand what this means. Linux is
not closing the socket as it is waiting for any delayed traffic on the
network to appear. I have no problem with this as my first thought would
be that I will see a slow shift in the process numbers as sockets are
eventually closed and opened by new requests. This is not, however, the
behaviour I observed! The processes would wait indefinitely.

Now, clutching at straws I think I have managed to fix the problem. I
removed the REUSE flag from the nsca xinetd configuration:

# default: on
# description: NSCA
service nsca
{

#Commented out the line below in the vain hope it would fix nsca's wagon

#FLAGS = REUSE
socket_type = stream
wait = no
user = nagios
group = nagios
server = /usr/local/nagios/bin/nsca
server_args = -c /usr/local/nagios/etc/nsca.cfg --inetd log_on_failure
+= USERID
disable = no
}

Again some research on the net has told me a little bit about the REUSE
flag but I wanted to gather the opinions from those with much more
knowledge than I. Therefore, can anyone tell me if this is a reasonable
thing to do? Have I made a grievous error without even knowing? Has
anyone else experienced this behaviour?

I really appreciate anyone who has taken the time to read this and would
love some feedback if you get the chance.

Many thanks, 

Gareth Watson



-
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

-
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


[Nagios-users] nagios3 and embeded perl

2008-03-19 Thread Sébastien Barbereau
Hi list,
I've been planning to upgrade to Nagios3 lately and wanted to start using
the ePN.
Compiling with or without ePN works fine. But if I try to run the perl
enabled Nagios version it nicely segfaults at startup.
(Of course the non ePN Nagios daemon works fine)

[EMAIL PROTECTED]:/usr/local/nagios-3.0/bin ../bin/nagios  
/usr/local/nagios-3.0
/etc/nagios.cfg

Nagios 3.0
Copyright (c) 1999-2008 Ethan Galstad (http://www.nagios.org)
Last Modified: 03-13-2008
License: GPL

Nagios 3.0 starting... (PID=11943)
Local time is Wed Mar 19 11:16:23 GMT 2008
Segmentation fault
[EMAIL PROTECTED]:/usr/local/nagios-3.0/bin

Enabling debugging in the config doesn't bring any details.
Doing a strace gives this out (shortened for clarity):
.
_llseek(0, 0, 0xbf97ed50, SEEK_CUR) = -1 ESPIPE (Illegal seek)
ioctl(1, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...})
= 0
_llseek(1, 0, 0xbf97ed50, SEEK_CUR) = -1 ESPIPE (Illegal seek)
ioctl(2, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...})
= 0
_llseek(2, 0, 0xbf97ed50, SEEK_CUR) = -1 ESPIPE (Illegal seek)
open(/usr/local/nagios-3.0/bin/p1.pl, O_RDONLY|O_LARGEFILE) = 4
ioctl(4, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbf97ee08) = -1 ENOTTY
(Inappropriate ioctl for device)
_llseek(4, 0, [0], SEEK_CUR)= 0
fcntl64(4, F_SETFD, FD_CLOEXEC) = 0
fstat64(4, {st_mode=S_IFREG|0664, st_size=31892, ...}) = 0
rt_sigaction(SIGCHLD, NULL, {SIG_DFL}, 8) = 0
readlink(/proc/self/exe, /usr/local/nagios-3.0/bin/nagios, 4095) = 32
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
Process 1935 detached


I'm wondering if anyone ran into this issue or has an idea on how to fix it?

Thanks,
Seb.
-
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] Sending notifications via SMS+mobile phone

2008-03-19 Thread Gareth Watson
Yes there is a SIM card in the terminal.  We have this on a contract that has a 
load of free sms messages allocated every month.

Works out very cheap indeed.

Gareth. 

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Josh Wells
Sent: 19 March 2008 13:15
To: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] Sending notifications via SMS+mobile phone

This probably seems like a dumb question but does a GSM terminal like this 
require its own cellular account or is it just a matter of buying it and 
configuring it on the computer?


Josh


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gareth Watson
Sent: Monday, March 17, 2008 5:01 AM
To: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] Sending notifications via SMS+mobile phone

We use that terminal at our workplace.  I have been using SMSLink very 
successfully for the past 12 months.  

I did have to play with the source code to get it working just how we wanted.  
However, the developer tells me that the changes I have made are now included 
in the new version.  I would take a look at that if you want an easy way to get 
this working:

http://smslink.sourceforge.net/

Once configured and installed all we needed to do was create a notification 
command like this:

define command{
  command_name  notify-by-sms
  command_line echo -e 
$SERVICEDESC$\r$HOSTNAME$\r$SERVICESTATE$\r$SERVICEOUTPUT$ | 
/usr/local/bin/sendsms -d $CONTACTPAGER$ -Q -f'-' localhost 2/dev/null }

Works a treat for us.  Plus we like the fact that we can also send SMSs to this 
software.  This means that, in theory at least, our engineers could acknowledge 
a problem or get a status report from Nagios by texting the SMS modem.  We have 
yet to implement this but it was a big selling point for our installation.

I hope this helps,

Gareth.



From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dennis Hünseler
Sent: 17 March 2008 08:02
To: Meylikhov
Cc: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] Sending notifications via SMS+mobile phone


Meylikhov schrieb: 

Hi!
Do you use this one - Siemens TC35i Terminal -
http://www.warburtech.com/gsm/tc35i.terminal/ ? 

-Original Message-
From: Sander Klein [mailto:[EMAIL PROTECTED] 
Sent: Friday, March 14, 2008 1:38 PM
To: Meylikhov
Cc: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] Sending notifications via SMS+mobile phone

Hi,

I use the siemens tc35i gsm modem and think it's great. Just hook it up 
to your COM port, install smstool (which is in debian) create the 
configfile, make a script to send sms and go

It's really easy.

Greets,

Sander

Meylikhov wrote:
  

Hello, everybody!

Can anyone assist me in solving the following task: I need 
nagios to 
send SMS via mobile phone connected to COM port. Are there are 
such 
possibilities in nagios and are there any plugins that support 
sending 
sms via mobile phone? I found only one plugin (NAGIOSMS: 




http://www.nagiosexchange.org/Notifications.35.0.html?tx_netnagext_pi1[p_vi
ew]=619 
  

)that is currently supports sending notifications via mobile 
phone but 
I even can't imagine how to connect mobile phone to my Linux 
Debian 
4.0 server (2.6.18-6-686). Maybe someone already has configured 
notifications send via mobile phone and can suggest me what 
mobile 
phone to buy? I also need any help (suggestions,links, 
documentation, 
etc) in connecting mobile phone to my Linux Debian 4.0 server.

My system:

Nagios server: Linux Debian 4.0 server 2.6.18-6-686

Nagios: nagios-3.0b5

Nagios plugins: nagios-plugins-1.4.11

NRPE: nrpe-2.10

Thank you!





-
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 

Re: [Nagios-users] IM notification

2008-03-19 Thread Alex Dehaini
Excellent, it worked. How can I get this to work using googletalk. I passed
the same parameters but this is the error I got.
/usr/local/bin/notify_via_jabber [EMAIL PROTECTED] I am alive
Cannot connect (Invalid argument).

These were the settings in my notify_via_jabber file

use constant RECIPIENT = $ARGV[0];
use constant SERVER= 'talk.gmail.com';
use constant PORT  = 5222;
use constant USER  = emailaddress';
use constant PASSWORD  = 'password';
use constant RESOURCE  = 'resource';
use constant MESSAGE   = $ARGV[1];
use constant MAXWAIT   = 2 ;

Am I doing anything wrong?



On Wed, Mar 19, 2008 at 1:48 PM, Wojciech Kocjan [EMAIL PROTECTED]
wrote:

 Dnia 19-03-2008 o 11:31:28 Alex Dehaini [EMAIL PROTECTED]
 napisał(a):
  How can I test it using the commandline and see the debugging output?

 Hi,

 You need to:
 1/ Change username and password in the script
(you'll need a separate account for your Nagios notifications)

 2/ Make sure you have authorized your normal and nagios notifications
 account - in other words run 2 copies of your favorite Jabber client, add
 and authorize yourself both ways and make sure that you can send messages
 both ways.

 2/ Run;
 ./notify_via_jabber [EMAIL PROTECTED] I am alive!

 This should be a good test.

 You probably noticed the script doesn't have much debugging options ;)

 --
 Wojciech Kocjan




-- 
Alex Dehaini
Developer
Site - www.alexdehaini.com
Email - [EMAIL PROTECTED]
-
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

[Nagios-users] Unwanted LEN/BUFNOW Debug Output

2008-03-19 Thread Caylan Van Larson
While testing the nagios 3.0 configuration I'm seeing strange debug  
output... even though debug is set to zero.

# ./bin/nagios -v ./nagios.cfg

Nagios 3.0
Copyright (c) 1999-2008 Ethan Galstad (http://www.nagios.org)
Last Modified: 03-13-2008
License: GPL

Reading configuration data...

LEN: 79, END: 77,  
BUF 
= 
##
BUFNOW:  
##
LEN: 2, END: 0, BUF=#
BUFNOW: #
LEN: 54, END: 52, BUF=# NAGIOS.CFG - Sample Main Config File for  
Nagios 3.0
BUFNOW: # NAGIOS.CFG - Sample Main Config File for Nagios 3.0
LEN: 2, END: 0, BUF=#
BUFNOW: #
.continued display of configuration lines

Operating System: RHEL 3 Update 6
Compile Options: ./configure --prefix=/usr/local/nagios-3.0 --with- 
command-group=nagiocmd --enable-embedded-perl --with-perlcache --with- 
nagios-user=nagios --with-nagios-group=nagios
GCC: 3.2.3
Configuration:  debug=0

How do I stop this strange output from appearing?

Caylan

-
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] Q: Need to use a default user, but still allow changing to another user

2008-03-19 Thread Marc Powell


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:nagios-users-
 [EMAIL PROTECTED] On Behalf Of Hugo van der Kooij

 Educate the managers. Your do this securely by having EVERYONE do
 authentication. If that is too much of a bother then they shouldn't
even
 be looking at the nagios pages.

His environment is not your environment. His requirements are not your
requirements. His goals are not your goals. His job is not your job. 

--
Marc


-
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] how to get passive checks to work

2008-03-19 Thread Wojciech Kocjan
Dnia 19-03-2008 o 15:36:11 Folkert van Heusden [EMAIL PROTECTED]  
napisał(a):

 Hi,

 In my services.cfg I have:
 define service {
 use generic-service
 host_name   p630
 service_description manual call
 contact_groups  aix-admins
 active_checks_enabled   0
 passive_checks_enabled  1
 check_command   check_dummy
 }

 Now in my php script I send the following string (tried both with and
 without terminating \n) to the pipe /var/lib/nagios2/rw/nagios.cmd ;
 [1205935241] PROCESS_SERVICE_CHECK_RESULT;p630;manual call;2;test

That looks correct.

What I'd recommend is to write to /tmp/nagios.cmd, check that file.

Then perform this as the same user as your PHP is run (www-data/apache  
probably):

cat /tmp/nagios.cmd /var/lib/nagios2/rw/nagios.cmd

You should see if it works.

Also, are you writing or appending to the nagios.cmd pipe?

I think appending is TheRightWay(tm) to do it.

-- 
Wojciech Kocjan

-
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] how to get passive checks to work

2008-03-19 Thread Folkert van Heusden
Never mind: found the problem.
I had max_check_attempts still at 4. Set it to 1 and now it
immediately reacts.


On Wed, Mar 19, 2008 at 03:36:11PM +0100, Folkert van Heusden wrote:
 Hi,
 
 In my services.cfg I have:
 define service {
 use generic-service
 host_name   p630
 service_description manual call
 contact_groups  aix-admins
 active_checks_enabled   0
 passive_checks_enabled  1
 check_command   check_dummy
 }
 
 Now in my php script I send the following string (tried both with and
 without terminating \n) to the pipe /var/lib/nagios2/rw/nagios.cmd ;
 [1205935241] PROCESS_SERVICE_CHECK_RESULT;p630;manual call;2;test
 
 The problem now is: no action is performed! The event does not show up
 in the logfile (/var/log/nagios2/nagios.log) and also no e-mail is sent
 (no sms is send either).
 
 Configfile:
 mmc:/etc/nagios2# grep passive nagios.cfg | grep -v ^#
 log_passive_checks=1
 accept_passive_service_checks=1
 accept_passive_host_checks=1
 
 
 Folkert van Heusden
 
 -- 
 www.vanheusden.com/multitail - win een vlaai van multivlaai! zorg
 ervoor dat multitail opgenomen wordt in Fedora Core, AIX, Solaris of
 HP/UX en win een vlaai naar keuze
 --
 Phone: +31-6-41278122, PGP-key: 1F28D8AE, www.vanheusden.com
 
 -
 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


Folkert van Heusden

-- 
MultiTail ist eine flexible Applikation um Logfiles und Kommando
Eingaben zu überprüfen. Inkl. Filter, Farben, Zusammenführen,
Ansichten etc. http://www.vanheusden.com/multitail/
--
Phone: +31-6-41278122, PGP-key: 1F28D8AE, www.vanheusden.com

-
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


[Nagios-users] Nagios plugins 1.4.11 compilation error: Linux Debian 2.6.22-14-sparc64

2008-03-19 Thread Ilya Meylikhov
Hello everybody.

My system is Linux Debian 2.6.22-14-sparc64.

I've downloaded the latest nagios plugins (1.4.11) and got an error on
./configure

 

configure: error: C compiler cannot create executables

See `config.log' for more details.

 

Config.log:

 

:.

configure:3039: $? = 0

configure:3046: gcc -v 5

Using built-in specs.

Target: sparc-linux-gnu

Configured with: ../src/configure -v
--enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr
--enable-shared --with-system-zlib --libexecdir=/usr/lib
--without-included-gettext --enable-threads=posix --enable-nls
--with-gxx-include-dir=/usr/include/c++/4.1.3 --program-suffix=-4.1
--enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug
--enable-mpfr --with-cpu=v8 --with-long-double-128 --enable-checking=release
sparc-linux-gnu

Thread model: posix

gcc version 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)

configure:3049: $? = 0

configure:3056: gcc -V 5

gcc: '-V' option must have argument

configure:3059: $? = 1

configure:3082: checking for C compiler default output file name

configure:3109: gccconftest.c  5

/usr/bin/ld: crt1.o: No such file: No such file or directory

collect2: ld returned 1 exit status

configure:3112: $? = 1

configure:3150: result:

configure: failed program was:

| /* confdefs.h.  */

| #define PACKAGE_NAME nagios-plugins

| #define PACKAGE_TARNAME nagios-plugins

| #define PACKAGE_VERSION 1.4.11

| #define PACKAGE_STRING nagios-plugins 1.4.11

| #define PACKAGE_BUGREPORT 

| #define PACKAGE nagios-plugins

| #define VERSION 1.4.11

| /* end confdefs.h.  */

|

| int

| main ()

| {

|

|   ;

|   return 0;

| }

configure:3157: error: C compiler cannot create executables

See `config.log' for more details.

::

Can anyone please assist me in troubleshooting?

 

Faithfully yours,

Ilya.

-
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] Nagios plugins 1.4.11 compilation error: Linux Debian 2.6.22-14-sparc64

2008-03-19 Thread Aaron M. Segura
On Wed, 2008-03-19 at 17:50 +0300, Ilya Meylikhov wrote:
 Hello everybody.
 
 My system is Linux Debian 2.6.22-14-sparc64.
 
 I’ve downloaded the latest nagios plugins (1.4.11) and got an error
 on ./configure
 
  
 
 configure: error: C compiler cannot create executables
 

That's more of an OS-level problem than a nagios-related problem.  There
are tons of google search results that will probably help you solve it,
though:

http://www.google.com/search?q=C+compiler+cannot+create+executables

-
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] IM notification

2008-03-19 Thread Wojciech Kocjan
Dnia 19-03-2008 o 15:00:06 Alex Dehaini [EMAIL PROTECTED] napisał(a):

 Excellent, it worked. How can I get this to work using googletalk. I  
 passed
 the same parameters but this is the error I got.
 /usr/local/bin/notify_via_jabber [EMAIL PROTECTED] I am alive
 Cannot connect (Invalid argument).

 These were the settings in my notify_via_jabber file

 use constant RECIPIENT = $ARGV[0];
 use constant SERVER= 'talk.gmail.com';
 use constant PORT  = 5222;
 use constant USER  = emailaddress';
 use constant PASSWORD  = 'password';
 use constant RESOURCE  = 'resource';
 use constant MESSAGE   = $ARGV[1];
 use constant MAXWAIT   = 2 ;

 Am I doing anything wrong?

my $username = wojciech.kocjan;
my $password = x;
my $resource = APUD;

The only thing I got confused is that the script I gave you as a link adds  
@gmail.com to the address.

I modified it to be:
# Send messages

sleep(2);
foreach ( @field ) {
$Connection-MessageSend(
 to   = $_,
 resource = $resource,
 subject  = Notification,
 type = chat,
 body = $ARGV[1]);
}
sleep(2);
$Connection-Disconnect();
exit;

And run notify_via_jabber [EMAIL PROTECTED] Test message

Worked like a charm.

-- 
Wojciech Kocjan

-
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] how to get passive checks to work

2008-03-19 Thread Luis Fernando Lacayo
HI Every one, 

I am having a slight problem with the windows NRPE client which checks
the memory load. nt_memload, is reporting  

Mem: 1200 MB (58%) / 2047 MB (41%)


However, the server has 4G of RAM. 

any Ideas why this is?  Is there a flag that I need to set or something?

Thanks in advance.

Luis



-
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


[Nagios-users] Nagios 3.0 startup performance

2008-03-19 Thread Olivier JAN


Hi guys,

You'll find enclosed a test i've done on 3 differents Nagios 3 server.  
Would be nice if anyone can help me explain such big differences  
between servers in results. All configurations details are in the file  
atatched.


test have be done with command :
/usr/local/nagios/bin/nagios -vps /usr/local/nagios/etc/nagios.cfg


Thanks



Olivier Jan
http://nagios-fr.org






becnhmarks2.pdf
Description: Adobe PDF document
-
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] Announce: NSClient++ 0.3.1 Windows agent

2008-03-19 Thread Jim Avery
On 12/03/2008, Michael Medin [EMAIL PROTECTED] wrote:
 Hello,

  Just realized I haven't posted any release notices to this list in a few
  years so I figured it was about time :)

Very many thanks for doing so.  NSClient++ 0.2.7 has been extremely
useful to us.  I'll look forward to trying 0.3.1 shortly.

Cheers,

Jim

-
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] Unwanted re-notifications

2008-03-19 Thread Jim Avery
On 17/03/2008, Israel Brewster [EMAIL PROTECTED] wrote:
 I have a service that keeps sending me notifications of the fact that
  it is critical every half hour or so, even though the notification
  interval for the service is set to zero.

That's strange.  It could be that the nagios daemon didn't restart
properly when you changed the config?  It might be worth stopping
Nagios, making sure it's really stopped then starting it again.
Failing that I'm not sure.  You could I guess get that behaviour if
you had an escalation defined on that service but I think that's
unlikely.

Cheers,

Jim
-- 
Web Admin for Corsham Diary http://corshamdiary.org.uk

-
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


[Nagios-users] Sending and monitoring email

2008-03-19 Thread Mark McWhinney
Pardon the newbie question, but I need to know if Nagios will do what I
need before investing time and effort in it.

I need to monitor an email sync management system where I send an email
to the server and measure the time it takes to get synced to a device.
The email send is SMTP.  The receive is an HTTP push to the device.

Can Nagios be set up to 
- wake up every five minutes
- send an email
- start a transaction timer
- go into a passive wait for an HTTP message
- get and process the HTTP message
- stop the timer and report the time difference?

If so, would you be kind enough to point me to the features of Nagios
that I would need to set up the email send and passive HTTP wait?

-
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] Unwanted re-notifications

2008-03-19 Thread Israel Brewster
On Mar 19, 2008, at 8:58 AM, Jim Avery wrote:
 On 17/03/2008, Israel Brewster [EMAIL PROTECTED] wrote:
 I have a service that keeps sending me notifications of the fact that
 it is critical every half hour or so, even though the notification
 interval for the service is set to zero.

 That's strange.  It could be that the nagios daemon didn't restart
 properly when you changed the config?  It might be worth stopping
 Nagios, making sure it's really stopped then starting it again.
 Failing that I'm not sure.  You could I guess get that behaviour if
 you had an escalation defined on that service but I think that's
 unlikely.

Thanks for the response. After some further digging, I managed to  
track down the problem, although the why and how to fix are still a  
mystery. Apparently what's happening is that every so often nagios  
switches from the expected CRITICAL sate to a warning state, with  
a status message similar to PING WARNING - DUPLICATES FOUND! Packet  
loss = 6%, RTA = 574.20 ms. Since I had warning messages disabled for  
this service, I never got that e-mail, but when it switched back to a  
critical state on the next check, I do get the critical message. So  
I guess Nagios is working as it should, and it's just a mystery of why  
I am getting that response from the ping when the router port is  
disabled. Thanks again!

---
Israel Brewster
Computer Support Technician
Frontier Flying Service Inc.
5245 Airport Industrial Rd
Fairbanks, AK 99709
(907) 450-7250 x293
---



 Cheers,

 Jim
 -- 
 Web Admin for Corsham Diary http://corshamdiary.org.uk

 -
 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


-
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


[Nagios-users] Nagios 3 RPMs?

2008-03-19 Thread Caylan Van Larson
Anyone working on Nagios 3 binaries?

---

Caylan



-
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] Unwanted LEN/BUFNOW Debug Output

2008-03-19 Thread Caylan Van Larson
I can only get this to happen on RHEL3 hosts.  The binary doesn't spew  
the BUFNOW/LEN debug messages when compiled on RHEL4.

---

Caylan


On Mar 19, 2008, at 8:51 AM, Caylan Van Larson wrote:

 While testing the nagios 3.0 configuration I'm seeing strange debug
 output... even though debug is set to zero.

 # ./bin/nagios -v ./nagios.cfg

 Nagios 3.0
 Copyright (c) 1999-2008 Ethan Galstad (http://www.nagios.org)
 Last Modified: 03-13-2008
 License: GPL

 Reading configuration data...

 LEN: 79, END: 77,
 BUF
 =
 ##
 BUFNOW:
 ##
 LEN: 2, END: 0, BUF=#
 BUFNOW: #
 LEN: 54, END: 52, BUF=# NAGIOS.CFG - Sample Main Config File for
 Nagios 3.0
 BUFNOW: # NAGIOS.CFG - Sample Main Config File for Nagios 3.0
 LEN: 2, END: 0, BUF=#
 BUFNOW: #
 .continued display of configuration lines

 Operating System: RHEL 3 Update 6
 Compile Options: ./configure --prefix=/usr/local/nagios-3.0 --with-
 command-group=nagiocmd --enable-embedded-perl --with-perlcache --with-
 nagios-user=nagios --with-nagios-group=nagios
 GCC: 3.2.3
 Configuration:  debug=0

 How do I stop this strange output from appearing?

 Caylan

 -
 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


-
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] Nagios 3 RPMs?

2008-03-19 Thread Jim Perrin
On Wed, Mar 19, 2008 at 3:35 PM, Caylan Van Larson [EMAIL PROTECTED] wrote:
 Anyone working on Nagios 3 binaries?

There's some discussion going on right now on the rpmforge list with
respect to making the 2.x - 3.x transition reasonably smooth.
Are you familiar with building rpms at all? I can send you a spec file
based on the packages by dag/rpmforge which will allow you to build
nagios 3 binary packages.



-- 
During times of universal deceit, telling the truth becomes a revolutionary act.
George Orwell

-
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] Unwanted LEN/BUFNOW Debug Output

2008-03-19 Thread Caylan Van Larson
I was able to get rid of debug messages by adding #undef DEBUG to  
include/epn_nagios.h.

#include EXTERN.h
#include perl.h

#include fcntl.h
#undef DEBUG/* this is defined somewhere above on RHEL3 systems -  
Caylan */
#undef ctime/* don't need perl's threaded version */
#undef printf   /* can't use perl's printf until initialized */

---

Caylan


On Mar 19, 2008, at 2:55 PM, Caylan Van Larson wrote:

 I can only get this to happen on RHEL3 hosts.  The binary doesn't spew
 the BUFNOW/LEN debug messages when compiled on RHEL4.

 ---

 Caylan


 On Mar 19, 2008, at 8:51 AM, Caylan Van Larson wrote:

 While testing the nagios 3.0 configuration I'm seeing strange debug
 output... even though debug is set to zero.

 # ./bin/nagios -v ./nagios.cfg

 Nagios 3.0
 Copyright (c) 1999-2008 Ethan Galstad (http://www.nagios.org)
 Last Modified: 03-13-2008
 License: GPL

 Reading configuration data...

 LEN: 79, END: 77,
 BUF
 =
 ##
 BUFNOW:
 ##
 LEN: 2, END: 0, BUF=#
 BUFNOW: #
 LEN: 54, END: 52, BUF=# NAGIOS.CFG - Sample Main Config File for
 Nagios 3.0
 BUFNOW: # NAGIOS.CFG - Sample Main Config File for Nagios 3.0
 LEN: 2, END: 0, BUF=#
 BUFNOW: #
 .continued display of configuration lines

 Operating System: RHEL 3 Update 6
 Compile Options: ./configure --prefix=/usr/local/nagios-3.0 --with-
 command-group=nagiocmd --enable-embedded-perl --with-perlcache -- 
 with-
 nagios-user=nagios --with-nagios-group=nagios
 GCC: 3.2.3
 Configuration:  debug=0

 How do I stop this strange output from appearing?

 Caylan

 -
 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


 -
 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


-
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] Sending and monitoring email

2008-03-19 Thread Marc Powell


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:nagios-users-
 [EMAIL PROTECTED] On Behalf Of Mark McWhinney
 Sent: Wednesday, March 19, 2008 12:28 PM
 To: nagios-users@lists.sourceforge.net
 Subject: [Nagios-users] Sending and monitoring email
 
 Pardon the newbie question, but I need to know if Nagios will do what
I
 need before investing time and effort in it.
 
 I need to monitor an email sync management system where I send an
email
 to the server and measure the time it takes to get synced to a device.
 The email send is SMTP.  The receive is an HTTP push to the device.
 
 Can Nagios be set up to
 - wake up every five minutes
 - send an email
 - start a transaction timer
 - go into a passive wait for an HTTP message
 - get and process the HTTP message
 - stop the timer and report the time difference?

Yes, if you can code everything from 'send an email' on as a plugin in
your favorite language. Nagios must be able to perform those actions by
running an external script/program (i.e. plugin). There's no standard
plugin that does anything like that except check_email_loop.pl which
sends an e-mail, then on the next run verifies that it was received in a
POP account. You could use that as a model.

I think your only sticky-wicket is listening on port 80 for the HTTP
response but I can't say for sure not being familiar with the system
you're working with. I assume that the whole transaction takes less than
a minute or so. If it's longer, you might want to have the HTTP listener
run separately as a daemon and log to a file on receipt and on your next
run of the plugin, verify that the previous transaction was received.

 If so, would you be kind enough to point me to the features of Nagios
 that I would need to set up the email send and passive HTTP wait?

http://nagiosplug.sf.net - Developer Guidelines and examining how the
check_email_loop.pl plugin works would probably be a start.

-
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] Very slow startup of Nagios when using NDO

2008-03-19 Thread Caio Peres Sabo
I have a Nagios-3.0 server with ndo 1.4b7.

My Nagios-3.0 server has 14.300 passive checks.
One statistcs for startup:

- With NDO (~20 minutes):
Begin Start time: Wed Mar 19 17:29:58 BRT 2008
End Start time: Wed Mar 19 17:47:18 BRT 2008

- Without NDO (~10 seconds):
Begin Start time: Wed Mar 19 17:52:12 BRT 2008
End Start time: Wed Mar 19 17:52:23 BRT 2008

With configuration equals into Nagios-2.0 with NDO-1.4b4, startup time is ~4 
minutes
Why doesn't Nagios3 scale with NDOb7?

Thanks,
Caio Sabo

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jim Avery
Sent: quarta-feira, 19 de março de 2008 13:31
To: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] Very slow startup of Nagios when using NDO

On 27/02/2008, Masopust, Christian [EMAIL PROTECTED] wrote:
 my Nagios server's startup with activated NDO is very slow (appr. 2-3 
 minutes)!

 anyone else seeing this behaviour? possibility to speed it up (besides 
 deactivating NDO :-))

Yes.  In earlier versions I think there was a problem with a wrong/missing 
index on at least one of the tables.  When the ndo daemon starts, it attempts 
to delete old records from the table and this delete takes ages.  If you 
monitor your sql database while Nagios is starting, you can probably see the 
relevant sql running (I used phpMyAdmin for this).  I got around the problem by 
configuring ndo only to store a tiny amount of information like so (in 
ndo2db.cfg).

# Keep timed events for 24 hours
max_timedevents_age=1440

# Keep system commands for 1 week
max_systemcommands_age=10080

# Keep service checks for 1 days
max_servicechecks_age=1440

# Keep host checks for 1 week
max_hostchecks_age=10080

# Keep event handlers for 31 days
max_eventhandlers_age=44640


I've also found it doesn't seem to matter (to me, your experience may be 
different) if I terminate the offending SQL session in MySQL to allow ndo to 
start more quickly.  Typically I only resort to doing this if I've had ndo 
disabled for a while then start it up - it then has more deletions than usual 
to wade through.

As Patrick said, I think the index is fixed in later versions of ndo.
If you're stuck with an earlier version I guess it should be fairly easy to 
identify where an index would help and add one yourself.  I'm sorry I can't 
remember precisely which the problemmatic table was.

hth,

Jim

--
Web Admin for Corsham Diary http://corshamdiary.org.uk

-
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


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

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

-
This SF.net email is sponsored by: 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 

[Nagios-users] Can Cacti poll passively via Nagios client?

2008-03-19 Thread Roger
Is it possible to use Cacti to poll via passive checks on servers?

Since Nagios has a problem with a high numbers of active checks, I'm hoping
to use Cacti's poller to tell servers buried behind firewalls to check
neighboring internal devices and then report back to the centralized Cacti
servers in my colo.

Any thoughts on this?
-
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] Can Cacti poll passively via Nagios client?

2008-03-19 Thread Max
On Wed, Mar 19, 2008 at 5:20 PM, Roger [EMAIL PROTECTED] wrote:
 Is it possible to use Cacti to poll via passive checks on servers?

 Since Nagios has a problem with a high numbers of active checks, I'm hoping
 to use Cacti's poller to tell servers buried behind firewalls to check
 neighboring internal devices and then report back to the centralized Cacti
 servers in my colo.

 Any thoughts on this?

You could use Cacti to poll, as a part of each check you do, have it
append to a file, a database, some type of persistent storage, and
then have a another script that runs, either via cron or as a daemon,
that pulls events from the persistent store and submits them to Nagios
as passive checks using NSCA ... or have the checks themselves call
send_nsca to submit the checks to Nagios over the wire ...

I know that doesn't give you an all Cacti solution, but this is a
Nagios group :).

Have you thought about using distributed Nagios as another solution to
this problem?

Finally, if you make use of perfdata and use PNP or another graphing
framework add-on to Nagios, you can pretty much replace Cacti
altogether for graphing and reduce the double polling that happens
when Cacti and Nagios are checking the same sets of devices ...

- Max

-
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


[Nagios-users] Graphing Switch Ports

2008-03-19 Thread Sean McAvoy
Does anyone know if there is a reasonable way to poll 200+ switch  
ports (on several switches) and have them graphed individually?
We've got nagiosgrapher going and it would seem the only way to  
accomplish this is to setup a check for each port, which seems like  
*alot*.
Thanks.


_sean

-
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


[Nagios-users] MOM - Nagios connector

2008-03-19 Thread Roger
Has anyone played with this MOM/Nagios connector?

http://tinyurl.com/hjzjw

From the webpage

The MOM to Nagios allows you to send alerts to/from MOM to/from Nagios.
This is a bi-directional connector.

Here is a page telling how it works

http://tinyurl.com/fckdd

a snippet from the last URL:

Justification:

eXc Software knows that using Microsoft Operations Manager as an enterprise
management tool is all you really need to operate your data center(s) since
eXc Software provides pure Windows solutions for managing the non-Windows
environment. Combine that with the unparalleled monitoring power for Windows
servers and Microsoft Operations Manager becomes the only tool you really
need. We realize however that you might have invested time and money into
other similar tools. Maybe you are in the process of migrating from a
different tool to Microsoft Operations Manager or you want both to be
operational simultaneously. This is where the eXc Software connector
framework comes into play. By combining several component
architectures/tools, eXc Software is able to provide uni-directional and
bi-directional connectors at a reasonable price.

Benefits:

The benefits of using the eXc Software connector solution(s) vs. our
competitors are:
1. Cost
2. Our solution is highly customizable (without the need to recompile
programs)
3. Our solution is fault tolerant
4. Our solution is always a pure Windows solution

Don't let other companies convince you that you have to spend a lot of money
to get MOM talking to other solutions! Why is it that we can provide the
same functionality at a fraction of the cost? Our solution is built on top
of existing tools and products that Microsoft provides for free and that we
have already built. These tools and products are:
1. The MOM Connector Framework (MCF) provided with MOM
2. The eXc Software non-Windows WMI Event Provider
3. The eXc Software SNMP MOM helper objects

If you have a connector requirement that we do not have, please contact us
and typically we will build it at no cost to you!
-
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] Graphing Switch Ports

2008-03-19 Thread Max
While you would have to grab data from them all, you might be able to
find or write a check that checks all ports and returns all as
perfdata .. and if nagiosgrapher doesn't work with that well, PNP will
let you do a nice template or that probably would work ...

You could also divide the check up so that there is a check per switch
blade, might be a nice logical division, so instead of 200 checks you
have 200/(# ports per blade) ...

- Max

-
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] Graphing Switch Ports

2008-03-19 Thread Chris Waters
 
You probably want to use something other than Nagios for this.  I use
cacti http://www.cacti.net to graph several hundred network devices.
You can use the extened info field to link back to cacti for the host
you selected in nagios (manual process to set up per host because most
of cacti references devices by an ID not the hostname).  Or, it's a lot
trickier but you could modify extinfo cgi to point to cacti for that
host and access the info from the Host Information links (very
difficult).

Chris Waters
Technology Services - Network Group
JELD-WEN, Inc.
Information Systems
[EMAIL PROTECTED]

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Sean
McAvoy
Sent: Wednesday, March 19, 2008 2:57 PM
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] Graphing Switch Ports

Does anyone know if there is a reasonable way to poll 200+ switch ports
(on several switches) and have them graphed individually?
We've got nagiosgrapher going and it would seem the only way to
accomplish this is to setup a check for each port, which seems like
*alot*.
Thanks.


_sean


-
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

-
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] Graphing Switch Ports

2008-03-19 Thread Max
On Wed, Mar 19, 2008 at 7:07 PM, Chris Waters [EMAIL PROTECTED] wrote:

  You probably want to use something other than Nagios for this.  I use
  cacti http://www.cacti.net to graph several hundred network devices.
  You can use the extened info field to link back to cacti for the host
  you selected in nagios (manual process to set up per host because most
  of cacti references devices by an ID not the hostname).  Or, it's a lot
  trickier but you could modify extinfo cgi to point to cacti for that
  host and access the info from the Host Information links (very
  difficult).

Wish I had kept the patch I did to Cacti that let one use a URL with a
host=name parameter to easily link to the graph page for a Cacti host
.. crud .. not difficult to add this functionality to Cacti though so
you can use the action_url or notes_url attributes of the host (or
hostextinfo objects if in Nagios 2) to link to Cacti hosts.

if you do go the Cacti route, I have an immature but working project
that can help integrate information between Cacti and Nagios ..

http://cacinda.sf.net/

- Max

-
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] Can Cacti poll passively via Nagios client?

2008-03-19 Thread Larry Low
There are two ways I've used to accomplish this.  The first method I used was 
having Cacti poll data then use a RRD check plugin to get the last data and 
alert if it triggered an alarm.  The latest method I've used which needs some 
additional work is to use the Cacti plugin Thold to trigger a breach of a 
threshold.  I think use Nagios to access the mySQL database and check the thold 
table if the alert is triggered or not (check_cacti_thold).  Placing your 
database somewhere both systems can access will get you to where you want.

The main reason I do this is because Cacti provides a much more time reliable 
polling mechanism unlike Nagios's scheduling.


Larry Low

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Max
Sent: Wednesday, March 19, 2008 2:26 PM
To: Nagios Users Mailinglist
Subject: Re: [Nagios-users] Can Cacti poll passively via Nagios client?

On Wed, Mar 19, 2008 at 5:20 PM, Roger [EMAIL PROTECTED] wrote:
 Is it possible to use Cacti to poll via passive checks on servers?

 Since Nagios has a problem with a high numbers of active checks, I'm hoping
 to use Cacti's poller to tell servers buried behind firewalls to check
 neighboring internal devices and then report back to the centralized Cacti
 servers in my colo.

 Any thoughts on this?

You could use Cacti to poll, as a part of each check you do, have it
append to a file, a database, some type of persistent storage, and
then have a another script that runs, either via cron or as a daemon,
that pulls events from the persistent store and submits them to Nagios
as passive checks using NSCA ... or have the checks themselves call
send_nsca to submit the checks to Nagios over the wire ...

I know that doesn't give you an all Cacti solution, but this is a
Nagios group :).

Have you thought about using distributed Nagios as another solution to
this problem?

Finally, if you make use of perfdata and use PNP or another graphing
framework add-on to Nagios, you can pretty much replace Cacti
altogether for graphing and reduce the double polling that happens
when Cacti and Nagios are checking the same sets of devices ...

- Max

-
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

-
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