[Nagios-users] R: R: R: R: nsclient++ and nrpe commands

2009-10-06 Thread Marco Borsani
Solved.

 

There were two problems:

-  In the command file, there was an command without absolute path
(but it is in the same folder of command file, and that folder was setted
like “script_dir” in the NSC.ini)

-  The variable “script_dir” in the NSC.ini is totally useless L

 

Now my problem is understand how to manipulate the output like I do in unix
(shell scripting), because I don’t know an equivalent command in DOS like
AWK ?!?!?

 

Regards for all suggestions , were very useful for me.

Marco

 

Da: Natxo Asenjo [mailto:natxo.ase...@gmail.com] 
Inviato: martedì 6 ottobre 2009 18.52
A: Nagios Users Mailinglist
Oggetto: Re: [Nagios-users] R: R: R: nsclient++ and nrpe commands

 

hi,

could you post your nsc.ini and bat files, please? 

sanitize as necessary (do not post passwords ;-) )
-- 
Groeten,
J.Asenjo



On Tue, Oct 6, 2009 at 8:28 AM, Marco Borsani  wrote:

Hi

 

I setted the full path (C:\program files\) in this way, tha batch did
not work at all .

 

I try also to put an �...@exit 0” at the end of ths script, notting changed.

 

Any other ideas ?

 

Marco

 

Da: Natxo Asenjo [mailto:natxo.ase...@gmail.com] 
Inviato: lunedì 5 ottobre 2009 18.38
A: Nagios Users Mailinglist
Oggetto: Re: [Nagios-users] R: R: nsclient++ and nrpe commands

 

On Mon, Oct 5, 2009 at 3:23 PM, Marco Borsani  wrote:

Excuse me , I did not wrote the real error message I am receiving.

 

I run from nagios server:

./check_nrpe -H  -c disk0

And receive this:

'check_openmanage.exe' is not recognized as an internal or external command,
operable program or batch file.

ok, so the bat file disk0 is being executed. Try setting the full path to
check_openmanage.exe in the bat file because apparently it is not in the
path of your windows session.
 

The nsc.ini file there are all the parameters you suggested me and the
command “disk0” is defined:

disk0=scripts\Disk0.bat

If you run Disk0.bat in MSdos shell, it works correctly. 

Is has only one raw (@check_openmanage.exe -v | find "Physical Disk 0:0")

 

In the nsclientlog we read:

2009-10-05 15:22:09: error:modules\NRPEListener\NRPEListener.cpp:263: The
command (disk0) returned an invalid return code: 255


you need to return valid error levels that nagios understand: 0 is 0k, 1 is
warning, 2 is critical and 3 is unknown. Otherwise nagios does not know what
to do with them.
 

 

I always restart nsclientpp when I modified the NSC.ini file.

good, just checking ;-)
 
natxo

 

 

--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference___
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] Tweaking Nagios Performance (Checks/Notifications)

2009-10-06 Thread Marc Powell

On Oct 6, 2009, at 4:57 PM, Mirza Dedic wrote:

> I recently finished moving Nagios from a Virtual machine to bare- 
> bone hardware, on a PowerEdge retired machine (dual-core, 4GB ram,  
> raid-5 10k RPM HDs). My goal is to have a 1 minute window between  
> when a host/service goes down and the time that I receive a message  
> that it is down.

If you really want a 1 minute window then that means that you'll  
either have to check multiple times per minute (max_check_attempts>1,  
interval_length<60) or check only once and trust that as definitive  
(max_check_attempts=1, interval_length=60). You'll probably want to re- 
visit the plugin timeouts, both in nagios.cfg and any that are  
directly supported by the plugins themselves.

If you go with the multiple checks per minute path, you'll need to  
change the value of interval_length in nagios.cfg and every other  
*_interval, both in nagios.cfg and in your host/service/notification  
definitions since they are simply multiples of interval_length.

Be prepared for false-positives unless things are perfect all the  
time. I expect you'll see alerts for non service affecting things such  
as slower ssh logins on busy machines or high RTA or maybe some packet  
loss as routers get busy and de-prioritize ICMP traffic. The more  
frequently you check, the more likely you are to encounter those types  
of things.

--
Marc

--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
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] Tweaking Nagios Performance (Checks/Notifications)

2009-10-06 Thread Morris, Patrick
Mirza Dedic wrote:
>
> I recently finished moving Nagios from a Virtual machine to bare-bone 
> hardware, on a PowerEdge retired machine (/dual-core, 4GB ram, raid-5 
> 10k RPM HDs/). My goal is to have a 1 minute window between when a 
> host/service goes down and the time that I receive a message that it 
> is down.
>
>  
>
>  We are monitoring a total of *347 Services and 82 Hosts*, mainly 
> using the plug-ins below:
>
>  
>
> -  Check_by_ssh
>
> -  Check_nt (NSClient++ for Win32)
>
> -  Check_http
>
> -  Check_ping
>
> -  Check_esx3
>
> -  Check_mysql
>
>  
>
> Below are my “performance info” for the current setup:
>
>  
>
> *Time Frame*
>
>   
>
> *Services Checked*
>
> *<= 1 minute*
>
>   
>
> *65 (18.7%)*
>
> *<= 5 minutes*
>
>   
>
> *300 (86.5%)*
>
> <= 15 minutes
>
>   
>
> 347 (100.0%)
>
> <= 1 hour
>
>   
>
> 347 (100.0%)
>
> Since program start  
>
>   
>
> 347 (100.0%)
>
>  
>
> *Metric*
>
>   
>
> *Min.*
>
>   
>
> *Max.*
>
>   
>
> *Average*
>
> Check Execution Time
>
>   
>
> 0.01 sec
>
>   
>
> 21.91 sec
>
>   
>
> 1.603 sec
>
> Check Latency
>
>   
>
> 0.00 sec
>
>   
>
> 0.00 sec
>
>   
>
> 0.164 sec
>
> Percent State Change
>
>   
>
> 0.00%
>
>   
>
> 0.00%
>
>   
>
> 0.00%
>
> *Services Passively Checked*
>
>  
>
> *Time Frame*
>
>   
>
> *Services Checked*
>
> <= 1 minute
>
>   
>
> 0 (0.0%)
>
> <= 5 minutes
>
>   
>
> 0 (0.0%)
>
> <= 15 minutes
>
>   
>
> 0 (0.0%)
>
> <= 1 hour
>
>   
>
> 0 (0.0%)
>
> Since program start
>
>   
>
> 0 (0.0%)
>
>  
>
> *Metric*
>
>   
>
> *Min.*
>
>   
>
> *Max.*
>
>   
>
> *Average*
>
> Percent State Change  
>
>   
>
> 0.00%
>
>   
>
> 0.00%
>
>   
>
> 0.00%
>
> *Hosts Actively Checked*
>
> *Time Frame*
>
>   
>
> *Hosts Checked*
>
> <= 1 minute
>
>   
>
> 0 (0.0%)
>
> <= 5 minutes
>
>   
>
> 78 (95.1%)
>
> <= 15 minutes
>
>   
>
> 82 (100.0%)
>
> <= 1 hour
>
>   
>
> 82 (100.0%)
>
> Since program start
>
>   
>
> 82 (100.0%)
>
>  
>
> *Metric*
>
>   
>
> *Min.*
>
>   
>
> *Max.*
>
>   
>
> *Average*
>
> Check Execution Time
>
>   
>
> 0.29 sec
>
>   
>
> 4.03 sec
>
>   
>
> 2.483 sec
>
> Check Latency
>
>   
>
> 0.15 sec
>
>   
>
> 0.78 sec
>
>   
>
> 0.565 sec
>
> Percent State Change
>
>   
>
> 0.00%
>
>   
>
> 0.00%
>
>   
>
> 0.00%
>
>
>
> *Hosts Passively Checked*
>
> *Time Frame*
>
>   
>
> *Hosts Checked*
>
> <= 1 minute
>
>   
>
> 0 (0.0%)
>
> <= 5 minutes
>
>   
>
> 0 (0.0%)
>
> <= 15 minutes
>
>   
>
> 0 (0.0%)
>
> <= 1 hour
>
>   
>
> 0 (0.0%)
>
> Since program start
>
>   
>
> 0 (0.0%)
>
>  
>
> *Metric*
>
>   
>
> *Min.*
>
>   
>
> *Max.*
>
>   
>
> *Average*
>
> Percent State Change  
>
>   
>
> 0.00%
>
>   
>
> 0.00%
>
>   
>
> 0.00%
>
>  
>
>  
>

Oops, just realized you said "host/service," and not just "host."

> # MAXIMUM SERVICE CHECK SPREAD
>
>  
>
> max_service_check_spread=5
Here you're telling Nagios to spread stuff out over a 5-unit interval. 
If you're shooting for 1 minute, this should be 1.

> # MAXIMUM SERVICE CHECK SPREAD
>
>  
>
> max_service_check_spread=5
5 at a time probably won't get you there in a minute. I've had good luck 
setting this to the number of hosts I have.

> # MAXIMUM HOST CHECK SPREAD
>
>  
>
> max_host_check_spread=3
Ditto.

> # HOST AND SERVICE CHECK REAPER FREQUENCY
>
>  
>
> check_result_reaper_frequency=10
>
>  
>
> # MAX CHECK RESULT REAPER TIME
>
>  
>
> max_check_result_reaper_time=30
Set these much lower. I use 2.

> # SLEEP TIME
>
>  
>
> sleep_time=0.25
.1 will cram your checks closer together.

Also, you may want to look at the tuning recommendations in the Nagios 
docs. It looks like you're not doing the basic recommended stuff like 
using RAM disks, etc., all of which help and are very well documented.






--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
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] Tweaking Nagios Performance (Checks/Notifications)

2009-10-06 Thread Morris, Patrick
Mirza Dedic wrote:
>
> I recently finished moving Nagios from a Virtual machine to bare-bone 
> hardware, on a PowerEdge retired machine (/dual-core, 4GB ram, raid-5 
> 10k RPM HDs/). My goal is to have a 1 minute window between when a 
> host/service goes down and the time that I receive a message that it 
> is down.
>
>  
>
>  We are monitoring a total of *347 Services and 82 Hosts*, mainly 
> using the plug-ins below:
>
>  
>
> -  Check_by_ssh
>
> -  Check_nt (NSClient++ for Win32)
>
> -  Check_http
>
> -  Check_ping
>
> -  Check_esx3
>
> -  Check_mysql
>
>  
>
If you're using Nagios 3, just enable active hostchecks with a 1-minute 
check interval. With your low latencies, you'll be good to go.

--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
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] escalation for receiving only recovery events?

2009-10-06 Thread shadih rahman
The best solution would be service escalation or host escalation feature of
nagios.


http://books.google.com/books?id=Iujcg9s3BKMC&pg=PA262&lpg=PA262&dq=service+escalation+nagios&source=bl&ots=Ppge7Pp9sa&sig=slpkoN27AccERQP5l0b1tvJy4p4&hl=en&ei=UPfLSryoG8atlAeC-pniBQ&sa=X&oi=book_result&ct=result&resnum=6#v=onepage&q=service%20escalation%20nagios&f=false


On Sun, Oct 4, 2009 at 10:35 PM, Stuart Browne <
stuart.bro...@ausregistry.com.au> wrote:

> > -Original Message-
> > From: Justin Pryzby [mailto:just...@norchemlab.com]
> > Sent: Monday, 5 October 2009 02:50
> > To: nagios-users@lists.sourceforge.net
> > Subject: [Nagios-users] escalation for receiving only recovery events?
> >
> > A coworker wants to receive periodic notifies for failing services,
> > and I want to receive only the first one.  I can implement that using
> > an "inverted" escalation (removing me from the notify list at the 2nd
> > notification).
> >
> > However I *do* want to receive recovery events, even if they're after
> > the 2nd notification.  Is that configuration possible?
>
> Two different contact groups, yourself, and 'everyone else'..
>
> In the base check, put both groups, saying you want the options w,c,r.  In
> the escalation, put just everyone else, with options w,c and
> first_notification of 2+.
>
> Or something like that ;)
>
> Stuart
>
>
> --
> Come build with us! The BlackBerry® Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9-12, 2009. Register now!
> http://p.sf.net/sfu/devconf
> ___
> 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
>



-- 
Cordially,
Shadhin Rahman
--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference___
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] error check_snmp for UPS

2009-10-06 Thread shadih rahman
Who is the manufacturer for you Upses.  There are bunch of good Ups check
you can find in nagiosexchange website.  Most of them are written for APC
and Liebert.  The snmp for upses are well defined.  You can write quick perl
or shell script to monitor these.

http://www.oidview.com/mibs/0/UPS-MIB.html


On Fri, Oct 2, 2009 at 7:50 AM, nadia kheffache wrote:

> Hi,
>
> Any one can help me to resolve my probleme please?
> i have the same error when i execute chack_snmp to monitor UPS-onduleur and
> sensorIP (humidity and temperature server room).
>
> ./check_snmp -H UPS-onduleur1 -C public - o
> .1.3.6.1.4.1.4555.1.1.1.1.6.2.1.1.17 -w 185:210 -c 286:999  -l '\Input
> Voltage\' -u '\Volts\'
>
> \Input Voltage\ probleme - No data receved from host (Pas de données reçues
> de l'hôte
> Commande: /usr/bin/snmpget -t 1 -r 5 -m '' -v 1 [authpriv]
> UPS-onduleur1:161
>
> Thank you
>
>
> > Can you help me please? i have the
> > same error when i execute this commande:
> >
> > command_line $USER1$/check_snmp -H $HOSTADDRESS$ -o
> > .1.3.6.1.4.1.3854.1.2.2.1.16.1.3.0 -w $ARG2$:$ARG1$ -c
> > $ARG4$:$ARG3$ -C $ARG5$ -l
> > Temperature -u °C
> >
> > ./check_snmp -H sensorIP -v 1 -o
> > .1.3.6.1.4.1.3854.1.2.2.1.16.1.3.0 -w 25:29 -c 30:99 -C
> > public -l Temperature -u °C
> >
> > Temperature problème - Pas de donnèes reçues de l'hôte
> > Commande: /usr/bin/snmpget -t 1 -r 5 -m '' -v 1 [authpriv]
> > 1:161  .1.3.6.1.4.1.3854.1.2.2.1.16.1.3.0
> >
> > to monitore the temperature in the local server with
> > sensorIP, snmpwalk is ok,
> >
> > i have the same error with the UPS-onduleur
> >
> > thank you
> >
> >
> > --- En date de : Jeu 1.10.09, frank.bourd...@dga.defense.gouv.fr
> > 
> > a écrit :
> >
> > > De: frank.bourd...@dga.defense.gouv.fr
> > 
> > > Objet: RE [spam?] [Nagios-users] error check_snmp for
> > UPS
> > > À: "nadia kheffache" 
> > > Cc: nagios-users@lists.sourceforge.net
> > > Date: Jeudi 1 Octobre 2009, 10h37
> > > Hi,
> > >
> > > Have you test with snmpwalk to see if you UPS
> > onduleur
> > > respond ? Is the
> > > UPS mib installed on the nagios server ?
> > >
> > > Frank
> > >
> > > email: frank.bourd...@dga.defense.gouv.fr
> > > fonction: administrateur systèmes et réseaux
> > > tel: 0241936560
> > > fax: 0241936681
> > > ETAS - BP 60036 - route de Laval - 49245 AVRILLE
> > CEDEX
> > > [ENVOYE PAR INTERNET]
> > >
> > >
> > >
> > > nadia kheffache 
> > >
> > > 01/10/2009 10:16
> > >
> > > A
> > > nagios-users@lists.sourceforge.net
> > > cc
> > >
> > > Objet
> > > [spam?] [Nagios-users] error check_snmp for UPS
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > Hi,
> > >
> > > I wont to monitor an ups (onduleur),i use a basic
> > nagios
> > > plugin_snmp.
> > >
> > > but i have these error, i can't get any information
> > about
> > > this ups.
> > >
> > > can you help me please?
> > >
> > > thank you
> > >
> > > [nag...@nagios01 libexec]$ ./check_snmp -H
> > UPS-onduleur1 -C
> > > public - o
> > > .1.3.6.1.4.1.4555.1.1.1.1.6.2.1.1.17 .w 185:210 -c
> > > 286:999  -l '\Input
> > > Voltage\' -u '\Volts\'
> > >
> > > \Input Voltage\ problème - Pas de données reçues
> > de
> > > l'hôte
> > >
> > > Commande: /usr/bin/snmpget -t 1 -r 5 -m '' -v 1
> > [authpriv]
> > >
> > > UPS-onduleur1:161
> > >
> > >
> > >
> > > Nadia
> > >
> > >
> > >
> > >
> > >
> >
> --
> > > Come build with us! The BlackBerry® Developer
> > > Conference in SF, CA
> > > is the only developer event you need to attend this
> > year.
> > > Jumpstart your
> > > developing skills, take BlackBerry mobile applications
> > to
> > > market and stay
> > > ahead of the curve. Join us from November 9-12, 2009.
> > > Register
> > > now!
> > > http://p.sf.net/sfu/devconf
> > > ___
> > > 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
> > >
> > >
> > >
> >
> >
> >
> >
> >
> --
> > Come build with us! The BlackBerry® Developer
> > Conference in SF, CA
> > is the only developer event you need to attend this year.
> > Jumpstart your
> > developing skills, take BlackBerry mobile applications to
> > market and stay
> > ahead of the curve. Join us from November 9-12, 2009.
> > Register now!
> > http://p.sf.net/sfu/devconf
> > ___
> > 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] Using Nagios to monitor Exchange 2007 Queues, etc.. ??

2009-10-06 Thread shadih rahman
Here is a great doc for monitoring windows services.  Hope this helps

http://nagioswiki.com/wiki/index.php/Nagios_Checks_for_Exchange_Server_200x



On Mon, Oct 5, 2009 at 10:46 PM, Kevin Keane wrote:

> I've heard occasional reports of that happening. A couple things to check:
>
> - Make sure you applied all the latest updates and patches to Windows
> (not just the critical or important ones that are installed
> automatically, but also the optional ones). The plugin depends on some
> recent versions of Windows libraries. Note: you do NOT need IE 8,
> Silverlight or the like if you want to keep those off your servers.
> - Try and download the Visual C++ redistributables. For the 32-bit
> version, go to
>
> http://www.microsoft.com/DOWNLOADS/details.aspx?FamilyID=9b2da534-3e03-4391-8a4d-074b9f2bc1bf&displaylang=en
> .
> The link to the 64 bit version is at the bottom of that page.
> - Re-download the plugin. It could have been corrupted.
> - Check that there are no permission issues.
>
> I hope that helps!
>
> Regards,
>
> Kevin
>
> Mirza Dedic wrote:
> > Hi Kevin,
> >
> > I have downloaded your TNT plugins 1.2.4-x64 for my x64 Win2003 R2,
> however when I try to run something like "check_exchange" from the command
> prompt to see any output I get...
> >
> > C:\NSClient\tnt_plugins_1.2.4-x64>check_exchange.exe
> > The system cannot execute the specified program.
> >
> > Any idea why this is happening?
> >
> > Thanks.
> >
> > -Original Message-
> > From: Kevin Keane [mailto:subscript...@kkeane.com]
> > Sent: October/03/2009 5:12 PM
> > Cc: 'nagios-users@lists.sourceforge.net'
> > Subject: Re: [Nagios-users] Using Nagios to monitor Exchange 2007 Queues,
> etc.. ??
> >
> > Check out my TNTMonitoringPlugin project on Sourceforge. There is a
> > plugin specifically to monitor Exchange. It handles both Exchange 2003
> > and Exchange 2007. It does monitor queue lengths as well as a few other
> > factors, but the focus is not really so much on load. Queue length
> > primarily is an indicator of network problems. A long send queue, in
> > particular, tells me that the Internet connection is down, or something
> > along those lines.
> >
> > If you look at the source code for the plugin, you can also see the WMI
> > query used.
> >
> > Mirza Dedic wrote:
> >
> >> I cannot seem to find any solid information with Google.com on how to
> monitor my Exchange 2007 server, I am interested in knowing the send/receive
> queues, mainly to know the load at any certain time...
> >>
> >> On the box, I have NSClient++ installed (0.3.7) and I am already
> monitoring windows services, disk/memory/cpu; but I would like to have
> nagios look under the roof of the exchange server, and get me some #s for
> queue lengths.
> >>
> >> I guess this would be accomplished by WMI? I have not used WMI with
> NSClient++ before, does anyone have this setup in their environment for
> Exchange (or even IIS/ISA)?
> >>
> >> Please give some examples.
> >>
> >> Thank you..
> >>
> >>
> > --
> > Kevin Keane
> > Owner
> > The NetTech
> > Find the Uncommon: Expert Solutions for a Network You Never Have to
> > Think About
> >
> > Office: 866-642-7116
> > http://www.4nettech.com
> >
> > This e-mail and attachments, if any, may contain confidential and/or
> > proprietary information. Please be advised that the unauthorized use or
> > disclosure of the information is strictly prohibited. The information
> > herein is intended only for use by the intended recipient(s) named
> > above. If you have received this transmission in error, please notify
> > the sender immediately and permanently delete the e-mail and any copies,
> > printouts or attachments thereof.
> >
> >
> --
> > Come build with us! The BlackBerry® Developer Conference in SF, CA
> > is the only developer event you need to attend this year. Jumpstart your
> > developing skills, take BlackBerry mobile applications to market and stay
> > ahead of the curve. Join us from November 9-12, 2009. Register
> now!
> > http://p.sf.net/sfu/devconf
> > ___
> > 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
> >
>
>
> --
> Kevin Keane
> Owner
> The NetTech
> Find the Uncommon: Expert Solutions for a Network You Never Have to Think
> About
>
> Office: 866-642-7116
> http://www.4nettech.com
>
> This e-mail and attachments, if any, may contain confidential and/or
> proprietary information. Please be advised that the unauthorized use or
> disclosure of the information is strictly prohibited. The information herein
> is intended only for use by the intended recipient(s) named above. If you
> have received this transmission in error, please notify th

Re: [Nagios-users] bgp monitoring (check_bgp_neighbors) command syntax assistance

2009-10-06 Thread Thomas Guyot-Sionnest
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 06/10/09 12:31 PM, Emily wrote:
> Hello, I am attempting to use this check_bgp_neighbors command which was
> recommended however my manual execution gives this output:
>  
> [r...@dns libexec]# ./check_bgp_neighbors -H Core-RTR1-MiddleT -C public
> -n 157.130.57.129 -n 65.205.26.197
> Error in packet
> Reason: (noSuchName) There is no such variable name in this MIB.
> Failed object: .1.3.6.1.4.1.9.9.187.1.2.4.1.1.157.130.57.129.1.1
> expr: syntax error
> Error in packet
> Reason: (noSuchName) There is no such variable name in this MIB.
> Failed object: .1.3.6.1.4.1.9.9.187.1.2.4.1.1.65.205.26.197.1.1
> expr: syntax error
> ./check_bgp_neighbors: line 107: [: -ge: unary operator expected
> Failed: status:12 prefixes: sent:1466115 received:1475079[r...@dns libexec]#
> [r...@dns libexec]#
> perhaps my syntax is flawed as I don't know why I am getting this
> "Failed object" error, the usage of the command is below, I would really
> appreciate any help with my syntax for the above command:

Are you trying it against  Cisco router? This appears to be a Cisco
proprietary MIB and it would be evry unlikely that any other brand of
router support it.

If it's a Cisco, make sure it support the CISCO-BGP4-MIB. Otherwise, I'm
afraid you'll have to check with your vendor on how to monitor it with
SNMP and write your own script or use check_snmp to monitor it.


- --
Thomas
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFKy+xc6dZ+Kt5BchYRAkl/AKCvRtMrInHjTklH4Lr7KV9QLhozmgCgorur
t7D26ZgJxL1H4ZFXUw+dr2A=
=SAd+
-END PGP SIGNATURE-

--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
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] notify by telephone call?

2009-10-06 Thread Furnish, Trever G
Can anyone whose already done this point me in the right direction for
sending out notifications by reading the alerts into a phone call?

The hard part isn't the text-to-speech (I'm assuming I can just use
festival for that), or even a pre-recorded message.

What's proving to be the hard part for me is figuring out how to
reliably make a phone call.  We have an existing VoIP phone system,
including Cisco routers I could connect to using SIP... if I could find
a good command-line SIP calling tool.

I also don't want to create a notification method that causes Nagios to
back up on notifications.  The existing notification methods allow
Nagios to quickly hand off notifications to other daemons that ensure
reliable delivery (QuickPage, which is wonderful for sending SMS via TAP
gateways, and sendmail, which of course handles sending out
notifications by email).  But I don't want to get distracted by this --
if I could just find a good command-line
"place-a-call-and-play-some-audio-into-it" tool, I could wrap it easily
in enough scripting to make it reliable.

So far I've found notes on using vgetty (and I'm still reading through
those), and I've found notes on doing this with Asterisk (but I don't
have Asterisk and I hope it's an unneeded level of complexity).  There
are lots of graphical sip clients available, but I haven't found any
others to use from the command-line yet.

Suggestions?


--
Trever Furnish, tgfurn...@herffjones.com
Herff Jones, Inc. Systems Engineer
Phone: 317.612.3519
Any sufficiently advanced technology is indistinguishable from Unix.



--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
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] bgp monitoring (check_bgp_neighbors) command syntaxassistance

2009-10-06 Thread Brown, Robin
Perhaps your router does not support that mib.  Check here and see if your 
image supports it:

http://tools.cisco.com/Support/SNMP/do/BrowseOID.do?objectInput=+1.3.6.1.4.1.9.9.187.1.2.4.1.1&translate=Translate&submitValue=SUBMIT&submitClicked=true

There is a link to check if your image supports the mib.

-Robin



On 10/6/09 3:29 PM, "Emily"  wrote:

Well I was able to do an smpwalk on my router - of course trying to find the 
correct OID might be a problem...

Failed object: .1.3.6.1.4.1.9.9.187.1.2.4.1.1

I could only do a search up to 1.3.6.1.4.1.9.9, if I included 187 I got an 
error on an invalid OID

I am wondering if anyone else is using the check_bgp_neighbors script 
sucessfully?

I did a search on the OID from my error and this is what it generated...

iso(1)   identified-organization(3) 
  dod(6)   
internet(1)   private(4) 
  enterprise(1) 
  cisco(9) 
  ciscoMgmt(9) 


  Search the OID  

On Tue, Oct 6, 2009 at 2:20 PM, James Pratt  wrote:


>> -Original Message-
>> From: Emily [mailto:new2nag...@gmail.com]
>> Sent: Tuesday, October 06, 2009 12:32 PM
>> To: nagios-users@lists.sourceforge.net
>> Subject: [Nagios-users] bgp monitoring (check_bgp_neighbors) command
>> syntaxassistance
>>
>> Hello, I am attempting to use this check_bgp_neighbors command which
was
>> recommended however my manual execution gives this output:
>>
>> [r...@dns libexec]# ./check_bgp_neighbors -H Core-RTR1-MiddleT -C
public -n
>> 157.130.57.129 -n 65.205.26.197
>> Error in packet
>> Reason: (noSuchName) There is no such variable name in this MIB.
>> Failed object: .1.3.6.1.4.1.9.9.187.1.2.4.1.1.157.130.57.129.1.1
>> expr: syntax error
>> Error in packet
>> Reason: (noSuchName) There is no such variable name in this MIB.
>> Failed object: .1.3.6.1.4.1.9.9.187.1.2.4.1.1.65.205.26.197.1.1
>> expr: syntax error
>> ./check_bgp_neighbors: line 107: [: -ge: unary operator expected
>> Failed: status:12 prefixes: sent:1466115 received:1475079[r...@dns
libexec]#
>> [r...@dns libexec]#
>>
>> perhaps my syntax is flawed as I don't know why I am getting this
"Failed object"
>> error, the usage of the command is below, I would really appreciate
any help with my
>> syntax for the above command:
>>

I think your syntax is ok, as it's not line 107 that its actually
failing on, it's the two OID lookup(s) on the router - it's not able to
see them via snmpwalk in the script...

The shell script itself is inserting those last two "neighbor" IP
addresses into the snmpwalk call(s) as part of the specific OID's, so it
could definitely be a typo or something - can you try to manually run
snmpwalk against the router to troubleshoot it further?

Cheers,
james



--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] notifications not being sent on host down/unreachable

2009-10-06 Thread Marc Powell

On Oct 6, 2009, at 1:38 PM, Noel Platzke wrote:

> So this is working now but I'm not sure why. I deleted the  
> objects.cache file and restarted and got a host down alert as soon  
> as nagios came up.

This tells me that nagios wasn't running with the configuration you  
thought it was (unless you also deleted status.dat, which may have  
settings overrides your object definitions). Seeing what was in  
objects.cache (and status.dat) might have explained the issue.

> On Tue, Oct 6, 2009 at 2:22 PM, Noel Platzke   
> wrote:
> I included the template because the actual host definitions only  
> include the server specific information. I'm not overriding  
> anything. For example...

Then you should tell us this at the least. We're not mind readers and  
when you provide something that is incomplete, with no comment that  
it's known incomplete and why, we have to assume you don't know what  
you gave us. ;) IMHO, you (as in anyone reporting problems) should  
provide *all* related information for any problem regardless of what  
bits you think are needed. Usually the problem is not in what you know  
you need, but in what you don't know you need. =)

--
Marc


--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
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] bgp monitoring (check_bgp_neighbors) command syntaxassistance

2009-10-06 Thread Emily
Well I was able to do an smpwalk on my router - of course trying to find the
correct OID might be a problem...

Failed object: .1.3.6.1.4.1.9.9.187.1.2.4.1.1

I could only do a search up to 1.3.6.1.4.1.9.9, if I included 187 I got an
error on an invalid OID

I am wondering if anyone else is using the check_bgp_neighbors script
sucessfully?

I did a search on the OID from my error and this is what it generated...
  iso(1) 
identified-organization(3)
dod(6) 
internet(1)
private(4) 
enterprise(1)
cisco(9) 
ciscoMgmt(9)



Search the OID 






On Tue, Oct 6, 2009 at 2:20 PM, James Pratt  wrote:

>
>
> >> -Original Message-
> >> From: Emily [mailto:new2nag...@gmail.com]
> >> Sent: Tuesday, October 06, 2009 12:32 PM
> >> To: nagios-users@lists.sourceforge.net
> >> Subject: [Nagios-users] bgp monitoring (check_bgp_neighbors) command
> >> syntaxassistance
> >>
> >> Hello, I am attempting to use this check_bgp_neighbors command which
> was
> >> recommended however my manual execution gives this output:
> >>
> >> [r...@dns libexec]# ./check_bgp_neighbors -H Core-RTR1-MiddleT -C
> public -n
> >> 157.130.57.129 -n 65.205.26.197
> >> Error in packet
> >> Reason: (noSuchName) There is no such variable name in this MIB.
> >> Failed object: .1.3.6.1.4.1.9.9.187.1.2.4.1.1.157.130.57.129.1.1
> >> expr: syntax error
> >> Error in packet
> >> Reason: (noSuchName) There is no such variable name in this MIB.
> >> Failed object: .1.3.6.1.4.1.9.9.187.1.2.4.1.1.65.205.26.197.1.1
> >> expr: syntax error
> >> ./check_bgp_neighbors: line 107: [: -ge: unary operator expected
> >> Failed: status:12 prefixes: sent:1466115 received:1475079[r...@dns
> libexec]#
> >> [r...@dns libexec]#
> >>
> >> perhaps my syntax is flawed as I don't know why I am getting this
> "Failed object"
> >> error, the usage of the command is below, I would really appreciate
> any help with my
> >> syntax for the above command:
> >>
>
> I think your syntax is ok, as it's not line 107 that its actually
> failing on, it's the two OID lookup(s) on the router - it's not able to
> see them via snmpwalk in the script...
>
> The shell script itself is inserting those last two "neighbor" IP
> addresses into the snmpwalk call(s) as part of the specific OID's, so it
> could definitely be a typo or something - can you try to manually run
> snmpwalk against the router to troubleshoot it further?
>
> Cheers,
> james
>
--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] notifications not being sent on host down/unreachable

2009-10-06 Thread Noel Platzke
So this is working now but I'm not sure why. I deleted the objects.cache
file and restarted and got a host down alert as soon as nagios came up.


On a whim I deleted the cache file and restarted nagios and it sent out a
host down alert. I didn't change anything else.


On Tue, Oct 6, 2009 at 2:22 PM, Noel Platzke  wrote:

> I included the template because the actual host definitions only include
> the server specific information. I'm not overriding anything. For example...
>
> define host{
> use standard-host
> host_name   server1
> hostgroups  +servers
> alias   server1
> address server1.domain.com
> }
>
>
> The same goes for contacts everything else.
>
>
> On Tue, Oct 6, 2009 at 1:53 PM, Marc Powell  wrote:
>
>>
>> On Oct 6, 2009, at 12:21 PM, Noel Platzke wrote:
>>
>> > My host, service and contacts are defined with the following
>> > templates:
>> >
>> > define host{
>> > namestandard-host
>> > max_check_attempts  3
>> > check_interval  15
>> > retry_interval  5
>> > check_command   check-host-alive
>> > check_period24x7
>> > notifications_enabled   1
>> > retain_status_information   1
>> > retain_nonstatus_information1
>> > contactsops
>> > notification_interval   15
>> > notification_period 24x7
>> > check_freshness 1
>> > freshness_threshold 300
>> > register0
>> > }
>>
>> Hello,
>>
>> This is just a template and not a complete host definition. In fact,
>> they were all just templates and missing critical pieces of
>> information or may have parts that are overridden in the full
>> definition. You should post the entire definition for the host,
>> contact group and contact as found in objects.cache. At first glance,
>> you don't specify any notification_options for the host. With
>> Nagios-3, this will mean that all states will result in a notification
>> but under 2.x I believe that behavior is different. I'd go ahead and
>> specify the specific states to you want to receive notifications for.
>>
>> --
>> Marc
>>
>>
>>
>> --
>> Come build with us! The BlackBerry® Developer Conference in SF, CA
>> is the only developer event you need to attend this year. Jumpstart your
>> developing skills, take BlackBerry mobile applications to market and stay
>> ahead of the curve. Join us from November 9-12, 2009. Register
>> now!
>> http://p.sf.net/sfu/devconf
>> ___
>> 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
>>
>
>
--
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] notifications not being sent on host down/unreachable

2009-10-06 Thread Noel Platzke
I included the template because the actual host definitions only include the
server specific information. I'm not overriding anything. For example...

define host{
use standard-host
host_name   server1
hostgroups  +servers
alias   server1
address server1.domain.com
}


The same goes for contacts everything else.


On Tue, Oct 6, 2009 at 1:53 PM, Marc Powell  wrote:

>
> On Oct 6, 2009, at 12:21 PM, Noel Platzke wrote:
>
> > My host, service and contacts are defined with the following
> > templates:
> >
> > define host{
> > namestandard-host
> > max_check_attempts  3
> > check_interval  15
> > retry_interval  5
> > check_command   check-host-alive
> > check_period24x7
> > notifications_enabled   1
> > retain_status_information   1
> > retain_nonstatus_information1
> > contactsops
> > notification_interval   15
> > notification_period 24x7
> > check_freshness 1
> > freshness_threshold 300
> > register0
> > }
>
> Hello,
>
> This is just a template and not a complete host definition. In fact,
> they were all just templates and missing critical pieces of
> information or may have parts that are overridden in the full
> definition. You should post the entire definition for the host,
> contact group and contact as found in objects.cache. At first glance,
> you don't specify any notification_options for the host. With
> Nagios-3, this will mean that all states will result in a notification
> but under 2.x I believe that behavior is different. I'd go ahead and
> specify the specific states to you want to receive notifications for.
>
> --
> Marc
>
>
>
> --
> Come build with us! The BlackBerry® Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9-12, 2009. Register now!
> http://p.sf.net/sfu/devconf
> ___
> 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
>
--
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf___
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] bgp monitoring (check_bgp_neighbors) command syntaxassistance

2009-10-06 Thread James Pratt


>> -Original Message-
>> From: Emily [mailto:new2nag...@gmail.com]
>> Sent: Tuesday, October 06, 2009 12:32 PM
>> To: nagios-users@lists.sourceforge.net
>> Subject: [Nagios-users] bgp monitoring (check_bgp_neighbors) command
>> syntaxassistance
>> 
>> Hello, I am attempting to use this check_bgp_neighbors command which
was
>> recommended however my manual execution gives this output:
>> 
>> [r...@dns libexec]# ./check_bgp_neighbors -H Core-RTR1-MiddleT -C
public -n
>> 157.130.57.129 -n 65.205.26.197
>> Error in packet
>> Reason: (noSuchName) There is no such variable name in this MIB.
>> Failed object: .1.3.6.1.4.1.9.9.187.1.2.4.1.1.157.130.57.129.1.1
>> expr: syntax error
>> Error in packet
>> Reason: (noSuchName) There is no such variable name in this MIB.
>> Failed object: .1.3.6.1.4.1.9.9.187.1.2.4.1.1.65.205.26.197.1.1
>> expr: syntax error
>> ./check_bgp_neighbors: line 107: [: -ge: unary operator expected
>> Failed: status:12 prefixes: sent:1466115 received:1475079[r...@dns
libexec]#
>> [r...@dns libexec]#
>> 
>> perhaps my syntax is flawed as I don't know why I am getting this
"Failed object"
>> error, the usage of the command is below, I would really appreciate
any help with my
>> syntax for the above command:
>> 

I think your syntax is ok, as it's not line 107 that its actually
failing on, it's the two OID lookup(s) on the router - it's not able to
see them via snmpwalk in the script...

The shell script itself is inserting those last two "neighbor" IP
addresses into the snmpwalk call(s) as part of the specific OID's, so it
could definitely be a typo or something - can you try to manually run
snmpwalk against the router to troubleshoot it further? 

Cheers,
james 

--
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
___
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] bgp monitoring (check_bgp_neighbors) command syntax assistance

2009-10-06 Thread Marc Powell

On Oct 6, 2009, at 11:31 AM, Emily wrote:

> Hello, I am attempting to use this check_bgp_neighbors command which  
> was recommended however my manual execution gives this output:
>
> [r...@dns libexec]# ./check_bgp_neighbors -H Core-RTR1-MiddleT -C  
> public -n 157.130.57.129 -n 65.205.26.197
> Error in packet
> Reason: (noSuchName) There is no such variable name in this MIB.
> Failed object: .1.3.6.1.4.1.9.9.187.1.2.4.1.1.157.130.57.129.1.1
> expr: syntax error
> Error in packet
> Reason: (noSuchName) There is no such variable name in this MIB.
> Failed object: .1.3.6.1.4.1.9.9.187.1.2.4.1.1.65.205.26.197.1.1
> expr: syntax error
> ./check_bgp_neighbors: line 107: [: -ge: unary operator expected
> Failed: status:12 prefixes: sent:1466115 received:1475079[r...@dns  
> libexec]#
> [r...@dns libexec]#
> perhaps my syntax is flawed as I don't know why I am getting this  
> "Failed object" error, the usage of the command is below, I would  
> really appreciate any help with my syntax for the above command:

I just played around with the script. Try running it again. I saw  
similar errors on the first run but subsequent runs were better (it  
creates a temp file to keep track of sends/receives). It also expects  
at least 2 minutes (and possibly 5 minutes) between runs in order to  
see sufficient messages sent/received.

--
Marc


--
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] notifications not being sent on host down/unreachable

2009-10-06 Thread Marc Powell

On Oct 6, 2009, at 12:21 PM, Noel Platzke wrote:

> My host, service and contacts are defined with the following  
> templates:
>
> define host{
> namestandard-host
> max_check_attempts  3
> check_interval  15
> retry_interval  5
> check_command   check-host-alive
> check_period24x7
> notifications_enabled   1
> retain_status_information   1
> retain_nonstatus_information1
> contactsops
> notification_interval   15
> notification_period 24x7
> check_freshness 1
> freshness_threshold 300
> register0
> }

Hello,

This is just a template and not a complete host definition. In fact,  
they were all just templates and missing critical pieces of  
information or may have parts that are overridden in the full  
definition. You should post the entire definition for the host,  
contact group and contact as found in objects.cache. At first glance,  
you don't specify any notification_options for the host. With  
Nagios-3, this will mean that all states will result in a notification  
but under 2.x I believe that behavior is different. I'd go ahead and  
specify the specific states to you want to receive notifications for.

--
Marc


--
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


[Nagios-users] notifications not being sent on host down/unreachable

2009-10-06 Thread Noel Platzke
I have a nagios setup consisting of 2 distributed servers and one master
using nsca. I'm having an issue where notifications aren't being sent for
hosts going down or becoming unreachable but I see them in that state in the
GUI and the logs. If a service check fails the notification is sent fine but
if the whole box dies I'm never seeing a host down/unreachable alert. In
fact there is no notification listed in the notification history so it seems
to be a config issue. But I've looked through all of the configs multiple
times and just can't figure this out.

My host, service and contacts are defined with the following templates:

define host{
namestandard-host
max_check_attempts  3
check_interval  15
retry_interval  5
check_command   check-host-alive
check_period24x7
notifications_enabled   1
retain_status_information   1
retain_nonstatus_information1
contactsops
notification_interval   15
notification_period 24x7
check_freshness 1
freshness_threshold 300
register0
}


define service{
namestandard-service
max_check_attempts  3
check_interval  5
retry_interval  3
check_period24x7
notification_interval   10
notification_period 24x7
notification_optionsu,c,r
contactsops
register0
check_freshness 1
freshness_threshold 300
}

define contact{
namestandard-contact
host_notifications_enabled  1
service_notifications_enabled   1
host_notification_period24x7
service_notification_period 24x7
host_notification_options   d,u,r
service_notification_optionsc,u,r
host_notification_commands  host-notify-by-email
service_notification_commands   notify-by-email-verbose
register0
}
--
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf___
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] Potential solution found for SNMP crashes on Windows 2003 Dell OSMA

2009-10-06 Thread Michael Ward
Turns out both boxes were running Server Administrator 5.4.0.  Dell  
has released 5.4.0.1 to patch this problem.

I hope this will fix it.

mjw


--
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
___
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] Windows SNMP service crashing during Nagios monitoring

2009-10-06 Thread Natxo Asenjo
On Tue, Oct 6, 2009 at 5:57 AM, Morris, Patrick wrote:

>
>
> The SNMP service on Windows sucks.  Hard.


I have no problems at all monitoring our windows. servers through SNMP.
Could you ellaborate a bit further this statement?

We have a mix of hp and fujitsu hardware and monitoring the hardware with
snmp just works under windows as under linux or esx.

Maybe we are just lucky :)

natxo
--
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] R: R: R: nsclient++ and nrpe commands

2009-10-06 Thread Natxo Asenjo
hi,

could you post your nsc.ini and bat files, please?

sanitize as necessary (do not post passwords ;-) )
-- 
Groeten,
J.Asenjo


On Tue, Oct 6, 2009 at 8:28 AM, Marco Borsani  wrote:

>  Hi
>
>
>
> I setted the full path (C:\program files\) in this way, tha batch did
> not work at all .
>
>
>
> I try also to put an �...@exit 0” at the end of ths script, notting changed.
>
>
>
> Any other ideas ?
>
>
>
> Marco
>
>
>
> *Da:* Natxo Asenjo [mailto:natxo.ase...@gmail.com]
> *Inviato:* lunedì 5 ottobre 2009 18.38
> *A:* Nagios Users Mailinglist
> *Oggetto:* Re: [Nagios-users] R: R: nsclient++ and nrpe commands
>
>
>
> On Mon, Oct 5, 2009 at 3:23 PM, Marco Borsani  wrote:
>
> Excuse me , I did not wrote the real error message I am receiving.
>
>
>
> I run from nagios server:
>
> ./check_nrpe -H  -c disk0
>
> And receive this:
>
> 'check_openmanage.exe' is not recognized as an internal or external
> command, operable program or batch file.
>
> ok, so the bat file disk0 is being executed. Try setting the full path to
> check_openmanage.exe in the bat file because apparently it is not in the
> path of your windows session.
>
>
>  The nsc.ini file there are all the parameters you suggested me and the
> command “disk0” is defined:
>
> disk0=scripts\Disk0.bat
>
> If you run Disk0.bat in MSdos shell, it works correctly.
>
> Is has only one raw (@check_openmanage.exe -v | find "Physical Disk 0:0")
>
>
>
> In the nsclientlog we read:
>
> 2009-10-05 15:22:09: error:modules\NRPEListener\NRPEListener.cpp:263: The
> command (disk0) returned an invalid return code: 255
>
>
> you need to return valid error levels that nagios understand: 0 is 0k, 1 is
> warning, 2 is critical and 3 is unknown. Otherwise nagios does not know what
> to do with them.
>
>
>
>
> I always restart nsclientpp when I modified the NSC.ini file.
>
>  good, just checking ;-)
>
> natxo
>
>
>
--
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf___
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] Lots of Nagios Processes

2009-10-06 Thread Martyn
Thanks both for your replies, will look into o that process what ever it is

  _  

From: Martin Melin [mailto:mme...@gmail.com] 
Sent: 06 October 2009 14:39
To: Nagios-Users Mailinglist
Subject: Re: [Nagios-users] Lots of Nagios Processes


Yeah, the "nagios" part just means that the nagios user spawned "./update
500". My guess is that you have a check command defined that calls
"./update", maybe the 500 is some kind of timeout? Check your command config
file. 

Regards
Martin Melin


On Tue, Oct 6, 2009 at 2:20 PM, Marc Powell  wrote:



On Oct 6, 2009, at 6:46 AM, Martyn wrote:

> Not sure what went off with this server last night but my processes
> log below shows lots of Nagios entries, does any know why this would
> happen and how I could prevent it in future


> nagios 10314 6691 0 09:09 pts/0 00:00:00 ./update 500
> nagios 10315 6691 0 09:09 pts/0 00:00:00 ./update 500
> nagios 10316 6691 0 09:09 pts/0 00:00:00 ./update 500
> nagios 10320 6691 0 09:09 pts/0 00:00:00 ./update 500


What is 'update 500'? That's not a normal part of nagios and something
you must have created/installed. It looks like the problem is with
that program, not nagios.

--
Marc



--
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
___
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



--
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf___
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] bgp monitoring (check_bgp_neighbors) command syntax assistance

2009-10-06 Thread Emily
Hello, I am attempting to use this check_bgp_neighbors command which was
recommended however my manual execution gives this output:

[r...@dns libexec]# ./check_bgp_neighbors -H Core-RTR1-MiddleT -C public -n
157.130.57.129 -n 65.205.26.197
Error in packet
Reason: (noSuchName) There is no such variable name in this MIB.
Failed object: .1.3.6.1.4.1.9.9.187.1.2.4.1.1.157.130.57.129.1.1
expr: syntax error
Error in packet
Reason: (noSuchName) There is no such variable name in this MIB.
Failed object: .1.3.6.1.4.1.9.9.187.1.2.4.1.1.65.205.26.197.1.1
expr: syntax error
./check_bgp_neighbors: line 107: [: -ge: unary operator expected
Failed: status:12 prefixes: sent:1466115 received:1475079[r...@dns libexec]#
[r...@dns libexec]#
perhaps my syntax is flawed as I don't know why I am getting this "Failed
object" error, the usage of the command is below, I would really appreciate
any help with my syntax for the above command:

[r...@dns libexec]# more check_bgp_neighbors
#!/bin/bash
# Written By: Scott McCarty
# Created: 2/2008
# Description: Used to collect counters for bgp and also status and number
of pr
efixes in memory
# License: This nagios plugin comes with ABSOLUTELY NO WARRANTY. You may
redistr
ibute copies of
# the plugins under the terms of the GNU General Public License. For more
inform
ation about these
# matters, see the GNU General Public License.
# Version: 1.0
# Varialbles
debug=0
sent_threshold=1
received_threshold=5
prefixes_threshold=24
current_received=0
current_sent=0
last_received=0
last_sent=0
total_prefixes=0
total_status=0
min_status=0
total_sent=0
total_received=0
neighbors=""
community=""
hostname=""
usage="Usage: $0 -H  -C  -n  -n neighbor2
[...]"

Emily
--
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf___
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] Antwort: Re: plugin for AIX6

2009-10-06 Thread Howard Allison

Don't know exactly what you want to monitor - but you could use something
like:
MEM_REAL=`vmstat | grep System | cut -d" " -f4 | cut -d"=" -f2 | sed -e
s/MB//g`
MEM_FREE=`vmstat | tail -1 | awk '{print $4}'`
MEM_FREE=`echo "$MEM_FREE * 4096" | bc`
MEM_REAL=`echo "$MEM_REAL * 1048576" | bc`

to get the mem values
and :
MEM_PCTUSED=$(bc -l << EOF
scale=2
($MEM_FREE / $MEM_REAL) * 100
EOF
)

to get percentage used...

Howard



"Brian O'Mahony"  wrote on 06.10.2009
13:54:15:

> "Brian O'Mahony" 
> 06.10.2009 14:42
>
> An
>
> Thomas Guyot-Sionnest , nadia kheffache
> , "nagios-users@lists.sourceforge.net"
> 
>
> Kopie
>
> Thema
>
> Re: [Nagios-users] plugin for AIX6
>
> Sorry this is so late (was on holidays), but has anyone got
> check_aix_ram.pl or check_aix_ram working remotely.
>
> check_aix_ram uses svmon that wont work as the nagios user, and
> check_aix_ram.pl throws parse errors.
>
> Im seeing this on AIX6 and AIX5.3
>
> B
>
> -Original Message-
> From: Thomas Guyot-Sionnest [mailto:derm...@aei.ca]
> Sent: 28 September 2009 13:27
> To: nadia kheffache; nagios-users@lists.sourceforge.net
> Subject: Re: [Nagios-users] plugin for AIX6
>
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> On 28/09/09 08:09 AM, nadia kheffache wrote:
> > I have successfuly installaled the plugins after install libraryc+
+-devel.
>
> Was that the fix for the plugin compilation? Is so I might add that to
> the FAQ on nagiosplugins.org.
>
> It would be very nice if you could post details on what you did to
> install the missing dependencies (I have absolutely no knowledge of
AIX...)
>
> Thank you
>
> - --
> Thomas
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.4.6 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFKwKuS6dZ+Kt5BchYRAgnmAJ9oZxS9PWrvc5D+rltzB6kw0wOazwCg88UZ
> 9/IyrwMHlhkM6JF7WsyTNjQ=
> =Bsl6
> -END PGP SIGNATURE-
>
>
--

> Come build with us! The BlackBerry® Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay

> ahead of the curve. Join us from November 9-12, 2009. Register
now!
> http://p.sf.net/sfu/devconf
> ___
> 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
>
>
> The information in this email is confidential and may be legally
privileged.
> It is intended solely for the addressee. Access to this email by anyone
else
> is unauthorized. If you are not the intended recipient, any disclosure,
> copying, distribution or any action taken or omitted to be taken in
reliance
> on it, is prohibited and may be unlawful. If you are not the intended
> addressee please contact the sender and dispose of this e-mail. Thank
you.
>
>
>
--

> Come build with us! The BlackBerry® Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay

> ahead of the curve. Join us from November 9-12, 2009. Register
now!
> http://p.sf.net/sfu/devconf
> ___
> 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


--
VERTRAULICHKEIT: Diese Nachricht ist ausschließlich für denjenigen
bestimmt, an
den sie adressiert ist und kann vertrauliche Informationen enthalten. Falls
Sie nicht
der Empfänger dieser Nachricht sind, weisen wir Sie darauf hin, dass die
unberechtigte Weitergabe oder Verwendung sowie das unberechtigte Verteilen
oder
Kopieren dieser Nachricht strikt untersagt sind. Falls Sie diese Nachricht
irrtümlich
erhalten haben, vernichten Sie sie bitte sofort.

CONFIDENTIALITY: This message is intended only for the use of the
individuality or
entity to which it is addressed and may contain information that is
privileged,
confidential and exempt from disclosure. If you are not the intended
recipient you are
notified that any dissemination, distribution, use or copying of this
communication is
strictly prohibited. If you received this message in error, please
immediately destroy
this message.

Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend

[Nagios-users] Windows script for checking SNMP status

2009-10-06 Thread Michael Ward
Since I couldn't figure out why SNMP on Windows was crashing on some  
boxes (OSMA, Dell Servers) but not others, I munged someone's script  
to check to see if SNMP is stopped and if so, run it.

I put this is a text file called check-snmp.cmd

@echo off
setlocal
rem 
http://www.experts-exchange.com/Programming/Languages/Scripting/Shell/Batch/Q_24010267.html

set service=SNMP
set state=STOPPED



  for /F "tokens=3 delims=: " %%H in ('sc \\. query "%service%" ^|  
findstr "STATE"') do (
   if /I "%%H" == "%state%" (
echo %date%,%time%,%%H
net start snmp
   )
  )



mjw

--
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
___
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] cgi Authentication safeguard

2009-10-06 Thread Alex Huth
Thx Marc!
* Marc Powell schrieb:
> 
> On Oct 6, 2009, at 8:29 AM, Alex Huth wrote:
> 
> >  How can i solve this without reactivating the authentication?
> 
> Edit cgi.cfg.  Set
>   use_authentication=1
>   default_user_name=somename # a name that is an authorized contact for  
> all hosts/services or is authorized_for_* further in cgi.cfg
>   authorized_for_*=somename # enable these options that you deem  
> appropriate
> 
> --
> Marc
> 
> 
> --
> Come build with us! The BlackBerry® Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay 
> ahead of the curve. Join us from November 9-12, 2009. Register now!
> http://p.sf.net/sfu/devconf
> ___
> 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
> 

--
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
___
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] cgi Authentication safeguard

2009-10-06 Thread Marc Powell

On Oct 6, 2009, at 8:29 AM, Alex Huth wrote:

>  How can i solve this without reactivating the authentication?

Edit cgi.cfg.  Set
use_authentication=1
default_user_name=somename # a name that is an authorized contact for  
all hosts/services or is authorized_for_* further in cgi.cfg
authorized_for_*=somename # enable these options that you deem  
appropriate

--
Marc


--
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
___
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] bandwidth measurement

2009-10-06 Thread Leonardo Carneiro
Grazie Giorgio, i'll give a try.

Giorgio Zarrelli escreveu:
> Hi,
>
> the easy way is using SNMP. I just released a plugin to measure bandwidth
> with SNMP v.3, crypted and authenticated:
>
> http://www.monitoringexchange.org/cgi-bin/page.cgi?g=Detailed%2F3210.html;d=1
>
> check_bandwidth_snmp.tgz
>
> Giorgio
>
> 
>   
>> is there an easy and simple way to monitor the bandwidth use on a
>> interface in a given moment, just like the 'iptraf' packet does, but
>> without that fancy interface (just text output on the shell)? or do i
>> have to use snmp?
>>
>> tks in advance
>> --
>>
>> *Leonardo de Souza Carneiro*
>> *Veltrac - Tecnologia em Logística.*
>> lscarne...@veltrac.com.br 
>> http://www.veltrac.com.br 
>> /Fone Com.: (43)2105-5601/
>> /Av. Higienópolis 1601 Ed. Eurocenter Sl. 803/
>> /Londrina- PR/
>> /Cep: 86015-010/
>>
>>
>>
>>
>> --
>> Come build with us! The BlackBerry® Developer Conference in SF, CA
>> is the only developer event you need to attend this year. Jumpstart your
>> developing skills, take BlackBerry mobile applications to market and stay
>> ahead of the curve. Join us from November 9-12, 2009. Register
>> now!
>> http://p.sf.net/sfu/devconf
>> ___
>> 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
>>
>> 
>
>
>
>   

-- 

*Leonardo de Souza Carneiro*
*Veltrac - Tecnologia em Logística.*
lscarne...@veltrac.com.br 
http://www.veltrac.com.br 
/Fone Com.: (43)2105-5601/
/Av. Higienópolis 1601 Ed. Eurocenter Sl. 803/
/Londrina- PR/
/Cep: 86015-010/




--
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
___
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] Lots of Nagios Processes

2009-10-06 Thread Martin Melin
Yeah, the "nagios" part just means that the nagios user spawned "./update
500". My guess is that you have a check command defined that calls
"./update", maybe the 500 is some kind of timeout? Check your command config
file.
Regards
Martin Melin

On Tue, Oct 6, 2009 at 2:20 PM, Marc Powell  wrote:

>
> On Oct 6, 2009, at 6:46 AM, Martyn wrote:
>
> > Not sure what went off with this server last night but my processes
> > log below shows lots of Nagios entries, does any know why this would
> > happen and how I could prevent it in future
>
> > nagios 10314 6691 0 09:09 pts/0 00:00:00 ./update 500
> > nagios 10315 6691 0 09:09 pts/0 00:00:00 ./update 500
> > nagios 10316 6691 0 09:09 pts/0 00:00:00 ./update 500
> > nagios 10320 6691 0 09:09 pts/0 00:00:00 ./update 500
>
> What is 'update 500'? That's not a normal part of nagios and something
> you must have created/installed. It looks like the problem is with
> that program, not nagios.
>
> --
> Marc
>
>
>
> --
> Come build with us! The BlackBerry® Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9-12, 2009. Register now!
> http://p.sf.net/sfu/devconf
> ___
> 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
>
--
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf___
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] cgi Authentication safeguard

2009-10-06 Thread Alex Huth
Hi!

I have put the nagios server behind a Webserver which is doing clientside
certification, Password authentication and a ProxPassReverse to the really
nagios server. The nagios server allows only the first webserver to contact
him. Also the firewall/DMZ restricts the acces to the nagios. That's enough
security, so i have disabled the authentication for the nagios webserver and
the cgi's. Everythings works, so far so good.
But now i can't make a reschedule for any servicecheck. How can i solve this
without reactivating the authentication?

thx

Alex

--
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
___
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] bandwidth measurement

2009-10-06 Thread Giorgio Zarrelli
Hi,

the easy way is using SNMP. I just released a plugin to measure bandwidth
with SNMP v.3, crypted and authenticated:

http://www.monitoringexchange.org/cgi-bin/page.cgi?g=Detailed%2F3210.html;d=1

check_bandwidth_snmp.tgz

Giorgio


> is there an easy and simple way to monitor the bandwidth use on a
> interface in a given moment, just like the 'iptraf' packet does, but
> without that fancy interface (just text output on the shell)? or do i
> have to use snmp?
>
> tks in advance
> --
>
> *Leonardo de Souza Carneiro*
> *Veltrac - Tecnologia em Logística.*
> lscarne...@veltrac.com.br 
> http://www.veltrac.com.br 
> /Fone Com.: (43)2105-5601/
> /Av. Higienópolis 1601 Ed. Eurocenter Sl. 803/
> /Londrina- PR/
> /Cep: 86015-010/
>
>
>
>
> --
> Come build with us! The BlackBerry® Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9-12, 2009. Register
> now!
> http://p.sf.net/sfu/devconf
> ___
> 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
>



--
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
___
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] bandwidth measurement

2009-10-06 Thread Leonardo Carneiro
is there an easy and simple way to monitor the bandwidth use on a 
interface in a given moment, just like the 'iptraf' packet does, but 
without that fancy interface (just text output on the shell)? or do i 
have to use snmp?

tks in advance
-- 

*Leonardo de Souza Carneiro*
*Veltrac - Tecnologia em Logística.*
lscarne...@veltrac.com.br 
http://www.veltrac.com.br 
/Fone Com.: (43)2105-5601/
/Av. Higienópolis 1601 Ed. Eurocenter Sl. 803/
/Londrina- PR/
/Cep: 86015-010/




--
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
___
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] plugin for AIX6

2009-10-06 Thread Brian O'Mahony
Sorry this is so late (was on holidays), but has anyone got check_aix_ram.pl or 
check_aix_ram working remotely. 

check_aix_ram uses svmon that wont work as the nagios user, and 
check_aix_ram.pl throws parse errors.

Im seeing this on AIX6 and AIX5.3

B

-Original Message-
From: Thomas Guyot-Sionnest [mailto:derm...@aei.ca] 
Sent: 28 September 2009 13:27
To: nadia kheffache; nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] plugin for AIX6

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 28/09/09 08:09 AM, nadia kheffache wrote:
> I have successfuly installaled the plugins after install libraryc++-devel.

Was that the fix for the plugin compilation? Is so I might add that to
the FAQ on nagiosplugins.org.

It would be very nice if you could post details on what you did to
install the missing dependencies (I have absolutely no knowledge of AIX...)

Thank you

- --
Thomas
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFKwKuS6dZ+Kt5BchYRAgnmAJ9oZxS9PWrvc5D+rltzB6kw0wOazwCg88UZ
9/IyrwMHlhkM6JF7WsyTNjQ=
=Bsl6
-END PGP SIGNATURE-

--
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
___
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


The information in this email is confidential and may be legally privileged.
It is intended solely for the addressee. Access to this email by anyone else
is unauthorized. If you are not the intended recipient, any disclosure,
copying, distribution or any action taken or omitted to be taken in reliance
on it, is prohibited and may be unlawful. If you are not the intended
addressee please contact the sender and dispose of this e-mail. Thank you.


--
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
___
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] Lots of Nagios Processes

2009-10-06 Thread Marc Powell

On Oct 6, 2009, at 6:46 AM, Martyn wrote:

> Not sure what went off with this server last night but my processes  
> log below shows lots of Nagios entries, does any know why this would  
> happen and how I could prevent it in future

> nagios 10314 6691 0 09:09 pts/0 00:00:00 ./update 500
> nagios 10315 6691 0 09:09 pts/0 00:00:00 ./update 500
> nagios 10316 6691 0 09:09 pts/0 00:00:00 ./update 500
> nagios 10320 6691 0 09:09 pts/0 00:00:00 ./update 500

What is 'update 500'? That's not a normal part of nagios and something  
you must have created/installed. It looks like the problem is with  
that program, not nagios.

--
Marc


--
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
___
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] Lots of Nagios Processes

2009-10-06 Thread Martyn
Not sure what went off with this server last night but my processes log
below shows lots of Nagios entries, does any know why this would happen and
how I could prevent it in future

Thanks all

root 1 0 0 May25 ? 00:00:35 init [3]
root 2 1 0 May25 ? 00:00:00 [migration/0]
root 3 1 0 May25 ? 00:00:02 [ksoftirqd/0]
root 4 1 0 May25 ? 00:00:00 [watchdog/0]
root 5 1 0 May25 ? 00:00:00 [events/0]
root 6 1 0 May25 ? 00:00:00 [khelper]
root 7 1 0 May25 ? 00:00:00 [kthread]
root 10 7 0 May25 ? 00:00:12 [kblockd/0]
root 11 7 0 May25 ? 00:00:00 [kacpid]
root 113 7 0 May25 ? 00:00:00 [cqueue/0]
root 116 7 0 May25 ? 00:00:00 [khubd]
root 118 7 0 May25 ? 00:00:00 [kseriod]
root 177 7 0 May25 ? 00:06:57 [kswapd0]
root 178 7 0 May25 ? 00:00:00 [aio/0]
root 331 7 0 May25 ? 00:00:00 [kpsmoused]
root 354 7 0 May25 ? 00:00:00 [ata/0]
root 355 7 0 May25 ? 00:00:00 [ata_aux]
root 358 7 0 May25 ? 00:00:00 [scsi_eh_0]
root 359 7 0 May25 ? 00:00:00 [scsi_eh_1]
root 360 7 0 May25 ? 00:00:12 [kjournald]
root 380 7 0 May25 ? 00:00:00 [kauditd]
root 406 1 0 May25 ? 00:00:00 /sbin/udevd -d
root 1061 7 0 May25 ? 00:00:00 [hda_codec]
root 1310 7 0 May25 ? 00:00:00 [kmpathd/0]
root 1316 7 0 May25 ? 00:00:00 [kmirrord]
root 1337 7 0 May25 ? 00:00:00 [kjournald]
root 1339 7 0 May25 ? 00:04:27 [kjournald]
root 1341 7 0 May25 ? 00:04:52 [kjournald]
root 1465 1 0 May25 ? 00:00:06 cpuspeed -d -n
root 1752 1 0 May25 ? 00:00:00 klogd -x
rpc 1781 1 0 May25 ? 00:00:00 portmap
root 1799 1 0 May25 ? 00:00:00 rpc.statd
root 1806 1 0 May25 ? 00:00:00 /usr/sbin/courierlogger
-pid=/var/spool/authdaemon/pid -start
/usr/libexec/courier-authlib/authdaemond
root 1807 1806 0 May25 ? 00:00:00 /usr/libexec/courier-authlib/authdaemond
root 1831 1807 0 May25 ? 00:00:00 /usr/libexec/courier-authlib/authdaemond
root 1832 1807 0 May25 ? 00:00:00 /usr/libexec/courier-authlib/authdaemond
root 1833 1807 0 May25 ? 00:00:00 /usr/libexec/courier-authlib/authdaemond
root 1834 1807 0 May25 ? 00:00:00 /usr/libexec/courier-authlib/authdaemond
root 1835 1807 0 May25 ? 00:00:00 /usr/libexec/courier-authlib/authdaemond
root 1838 1 0 May25 ? 00:00:00 rpc.idmapd
dbus 1850 1 0 May25 ? 00:00:00 dbus-daemon --system
root 1858 1 0 May25 ? 00:00:00 hcid: processing events
root 1864 1 0 May25 ? 00:00:00 /usr/sbin/sdpd
root 1883 1 0 May25 ? 00:00:00 [krfcommd]
root 1916 1 0 May25 ? 00:03:14 pcscd
root 1933 1 0 May25 ? 00:00:00 /usr/bin/hidd --server
root 1945 1 0 May25 ? 00:00:06 automount
root 1961 1 0 May25 ? 00:00:00 /usr/sbin/acpid
root 1977 1 0 May25 ? 00:00:53 /usr/sbin/sshd
root 2167 1 0 May25 ? 00:01:13 /usr/libexec/postfix/master
postfix 2176 2167 0 May25 ? 00:00:43 qmgr -l -t fifo -u
root 2177 1 0 May25 ? 00:00:00 gpm -m /dev/input/mice -t exps2
root 2199 1 0 May25 ? 00:00:02 /usr/sbin/httpd-matrixsa
root 2209 1 0 May25 ? 00:00:03 crond
xfs 2229 1 0 May25 ? 00:00:00 xfs -droppriv -daemon
root 2244 1 0 May25 ? 00:00:00 /usr/sbin/atd
root 2252 1 0 May25 ? 00:00:32 /usr/bin/python /usr/sbin/yum-updatesd
avahi 2261 1 0 May25 ? 00:00:02 avahi-daemon: running [qx4.local]
avahi 2262 2261 0 May25 ? 00:00:00 avahi-daemon: chroot helper process
haldaemo 2270 1 0 May25 ? 00:00:06 hald
root 2271 2270 0 May25 ? 00:00:00 hald-runner
haldaemo 2277 2271 0 May25 ? 00:00:00 hald-addon-acpi: listening on acpid
socket /var/run/acpid.socket
root 2278 2271 0 May25 ? 00:00:00 /usr/libexec/hald-addon-cpufreq
haldaemo 2284 2271 0 May25 ? 00:00:00 hald-addon-keyboard: listening on
/dev/input/event2
haldaemo 2287 2271 0 May25 ? 00:00:00 hald-addon-keyboard: listening on
/dev/input/event0
ntp 2331 1 0 May25 ? 00:00:03 ntpd -u ntp:ntp -p /var/run/ntpd.pid -g
root 2388 1 0 May25 tty1 00:00:00 /sbin/mingetty tty1
root 2389 1 0 May25 tty2 00:00:00 /sbin/mingetty tty2
root 2393 1 0 May25 tty3 00:00:00 /sbin/mingetty tty3
root 2396 1 0 May25 tty4 00:00:00 /sbin/mingetty tty4
root 2399 1 0 May25 tty5 00:00:00 /sbin/mingetty tty5
root 2423 1 0 May25 tty6 00:00:00 /sbin/mingetty tty6
root 9728 7 0 Jul22 ? 00:01:44 [pdflush]
root 2876 1 0 Aug11 ? 00:01:54 xinetd -stayalive -pidfile
/var/run/xinetd.pid
root 3606 1 0 Sep23 ? 00:00:00 /bin/sh /usr/bin/mysqld_safe
--defaults-file=/etc/my.cnf --pid-file=/var/run/mysqld/mysqld.pid
--log-error=/var/log/mysqld.log
mysql 3642 3606 0 Sep23 ? 01:16:11 /usr/libexec/mysqld
--defaults-file=/etc/my.cnf --basedir=/usr --datadir=/home/data --user=mysql
--pid-file=/var/run/mysqld/mysql
root 16677 7 0 Sep29 ? 00:00:08 [pdflush]
root 27558 1 0 Oct03 ? 00:00:03 /sbin/syslogd -m 0
apache 2427 2199 0 Oct04 ? 00:00:00 /usr/sbin/httpd-matrixsa
apache 2428 2199 0 Oct04 ? 00:00:00 /usr/sbin/httpd-matrixsa
root 2434 1 0 Oct04 ? 00:00:00 cupsd
root 2453 1 0 Oct04 ? 00:00:46 python2 MatrixSALaunch.py ThreadedAppServer
admin 5399 5398 0 Oct05 ? 00:00:00 /usr/libexec/openssh/sftp-server
nagios 6668 1 0 Oct05 ? 00:00:00 ./SCREEN
nagios 6669 6668 0 Oct05 pts/0 00:00:00 /bin/bash
nagios 6686 6669 0 Oct05 pts/0 00:00:00 /bin/bash
nagios 6691 6686 0 Oct05 pts/0 00:00:13 ./update 500
postfix 5791 2167

[Nagios-users] Nagios 3.0 French Documentation

2009-10-06 Thread Olivier JAN

Hi list,

Just a quick note to let you know that the Nagios 3.x French  
Documentation has been released today. There is a html and pdf  
editions generated from the docbook xml version. It's far from perfect  
but the french nagios community will support this edition and  
necessary corrections will be made.

You can find those versions and also an english pdf version (generated  
from docbook xml) at
http://doc.nagios-fr.org/

Links are under the "docs disponibles" menu in the right corner

The docbook xml code source can be found at
http://forge.nagios-fr.org/

Share and enjoy !

-- 
Olivier JAN
http://www.nagios-fr.org/







--
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
___
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