[Nagios-users] Installation errors

2009-05-19 Thread Martin Scullion
Hi There

 

Am trying to install nagios 3.0.6 on a Solaris 10 box and am having
trouble with the 'make all' command

 

It generates the following error :

 

gcc -g -O2 -DHAVE_CONFIG_H -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include   -DNSCORE  -c  events.c

events.c: In function `event_execution_loop':

events.c:988: error: `WNOHANG' undeclared (first use in this function)

events.c:988: error: (Each undeclared identifier is reported only once

events.c:988: error: for each function it appears in.)

*** Error code 1

make: Fatal error: Command failed for target `events.o'

Current working directory /var/tmp/nagios-3.0.6/base

*** Error code 1

 

Any help would be much appreciated

 

Martin


For practical advice on how to deal with the recession visit http://www.croydoncrunch.com/";>www.croydoncrunch.com

Please use this web site address to view the Council's E-Mail disclaimer -
http://www.croydon.gov.uk/disclaimer/email.htm";>
Croydon Council disclaimer

--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] OID's missing for check_snmp_cpfw.pl

2009-05-19 Thread Sébastien Barbereau
Hi,I've been running it for some time without problem. We are running some
IP710 and IP650 with up to date software.
Are you sure that the nokia snmp service is running as well as the
checkpoint one?
On the device you should be able to see two processes running : snmpd (port
161) and cpsnmpd (port 260). If the processes are running verify the output
of : snmpwalk -v2c -c SNMPCOMMUNITY FWNAMEORIP .1.3.6.1.4.1.2620.1.1.2

Did you authorize snmp from the nagios host to the host IP?

seb.

On Mon, May 18, 2009 at 6:37 PM, Andrew Davis  wrote:

>  I'm trying to make use of check_snmp_cpfw.pl against a pair of redundant
> CP firewalls. For any test I try, I see:
>
> cannot find oids / CPFW Status : CRITICAL
>
> I've verified all the perl stuff including Net::SNMP and Getopt::Long
>
> ./check_snmp_cpfw.pl -H 10.1.1.250 -C obfuscated -swm
> FW : cannot find oids / SVN : cannot find oids / MGMT : cannot find oids /
> CPFW Status : CRITICAL
>
> it appears from the website that the script was last updated on 2007. We're
> running IP250's with the latest Firewall-1 s/w. Perhaps the script is too
> old for our h/w or s/w? I'm thinking that maybe the script only works on FW1
> on local UNIX servers? But since its going over SNMP over the network, I'm
> sort of doubting this.
>
> Has anyone else experienced this? Any solution? Is anyone else using the
> latest, greatest FW-1 s/w on an IP250 and this script works for them?
>
> --
>
>
>   A. Davis
>   Email: ncc...@gmail.com
>
>   "There is no limit to what a man can accomplish
>if he doesn't care who gets the credit." - Ronald Reagan
>
>
>
> --
> Crystal Reports - New Free Runtime and 30 Day Trial
> Check out the new simplified licensing option that enables
> unlimited royalty-free distribution of the report engine
> for externally facing server and web deployment.
> http://p.sf.net/sfu/businessobjects
> ___
> Nagios-users mailing list
> Nagios-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when
> reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
>
--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

[Nagios-users] multiline plugin output

2009-05-19 Thread Brandino Andreas
Hi all,

I try to use check_snmp_int.pl plugin with multiline output. According
to documentation (
http://nagios.sourceforge.net/docs/3_0/pluginapi.html ) additional
output is stored to $SERVICEPERFDATA$ and $LONGSERVICEOUTPUT$ macros

How can i "force" nagios to print these lines to web interface, after
$SERVICEOUTPUT$  ?


Thanks




-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


[Nagios-users] NRPE

2009-05-19 Thread Eduardo Barreto
Hi All,

I'm on a need to monitor a specific process on a Windows Vista desktop, is
it possible through NRPE?



Thanks in advance

Eduardo Barreto
--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

[Nagios-users] NDOUtils and custom variables

2009-05-19 Thread MAD
Hi all,

I'm thinking to use some custom variables in services' definition. As I'm using 
NDOUtils, I wanted to see how those variables where saved in the database and I 
found two tables : customvariables and customvariablestatus.

I understand what the customvariablestatus' fields are for, but I don't 
understand what is the field 'config_type' in customvariables. Does someone 
know which values this field can take and what are their meaning?

Sorry if my question seems dumb but I couldn't find the answer in the NDOUtils 
database documentation.

Thank you

Marc-André

--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] check frequency

2009-05-19 Thread Marc Powell

On May 18, 2009, at 10:07 PM, Anirudh Srinivasan wrote:

> Hi
>
> Thanks for the reply , will try this out. But is there some  
> centralized Parameter in nagios.cfg that could solve this issue.

No, it's defined per host and service. You could use templates though  
to 'centralize' it (or assign to your existing default template if you  
have one).

--
Marc


--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


[Nagios-users] Playing alert sounds in Safari

2009-05-19 Thread Niall O Broin
Is this possible at all? When I have an active alert, which should  
play a sound, I get this popup when I visit the tactical overview page:

Safari can't find the Internet plugin.

The page "Nagios" has content of MIME type "application/wav".
Because you don't have a plug-in installed for this MIME type,
this content can't be displayed.

However, I DO have such a plugin installed - Quicktime, and it plays  
wav files just nicely, and if I use Safari to get /media/hostdown.wav  
from my nagios server, it plays just nicely.

I got that file with wget and I noticed that the MIME type it was sent  
with was audio/x-wav so I edited the binary of tac.cgi to send audio/x- 
wav rather than application/wav (yes, I know, but it was quicker than  
getting the source, and building it, just to try this out) but  
although that got rid of the warning pop up, it still got me no sound.

Any ideas to make Safari (ver. 4 beta) talk to me?






Kindest regards,



Niall  O Broin



--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] NRPE

2009-05-19 Thread Randal, Phil
Yes,
 
You can do it without NRPE too.
 
Install something like NSClient++ (http://www.nsclient.org) on the Vista
host.
 
http://www.nsclient.org/nscp/wiki/NSClientListener
 
PROCSTATE is the one you want.
 
I use a command check_nt_process:
 
  $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v PROCSTATE -d SHOWALL -l
$ARG1$
 
I use port 1248 (old nsclient port), NSClient++ defaults to port 12489.
 
Cheers,
 
Phil
-- 
Phil Randal | Networks Engineer 
Herefordshire Council | Deputy Chief Executive's Office | I.C.T.
Services Division 
Thorn Office Centre, Rotherwas, Hereford, HR2 6JT 
Tel: 01432 260160 
email: pran...@herefordshire.gov.uk 

Any opinion expressed in this e-mail or any attached files are those of
the individual and not necessarily those of Herefordshire Council.

This e-mail and any attached files are confidential and intended solely
for the use of the addressee. This communication may contain material
protected by law from being passed on. If you are not the intended
recipient and have received this e-mail in error, you are advised that
any use, dissemination, forwarding, printing or copying of this e-mail
is strictly prohibited. If you have received this e-mail in error please
contact the sender immediately and destroy all copies of it.

 



From: Eduardo Barreto [mailto:lec...@gmail.com] 
Sent: 19 May 2009 14:25
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] NRPE


Hi All,

I'm on a need to monitor a specific process on a Windows Vista desktop,
is it possible through NRPE?



Thanks in advance

Eduardo Barreto

--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] NRPE

2009-05-19 Thread Sean Carolan
On Tue, May 19, 2009 at 8:37 AM, Eduardo Barreto  wrote:
> Ok Sean, From where do I begin? Do you have any howto? What's the difference
> between nsclient and nrpe? I ain't got a clue

http://nagios.sourceforge.net/docs/3_0/monitoring-windows.html

--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] check frequency

2009-05-19 Thread Marc Powell

On May 18, 2009, at 10:19 PM, Anirudh Srinivasan wrote:

> Also one more question :
>
> How was nagios managing that retry_interval earlier when this  
> parameter was not even set ??

Are you certain that it's not? It's a required parameter under 2.x and  
while I can't test it, I have no reason to believe that's changed with  
3.x. Nagios will refuse to start if you leave it out. Are you using  
templates and is it defined there?

--
Marc


--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] Can't locate Net/SNMP.pm in @INC When Running check_ifstatus

2009-05-19 Thread Martin Fontanez
Davis,

Thank you for taking the time to reply with such detail and precision.  This 
worked well and and fixed the error.   

One thing with CPAN is that for some reason when I am in cpan prompt, whatever 
I type does not get displayed.

Regards,

Martin  

--- On Mon, 5/18/09, Andrew Davis  wrote:

From: Andrew Davis 
Subject: Re: [Nagios-users] Can't locate Net/SNMP.pm in @INC When Running 
check_ifstatus
To: Nagios-users@lists.sourceforge.net
Date: Monday, May 18, 2009, 4:14 PM




  
As root, try "perl -MCPAN -e shell" then "install Net::SNMP". You may
want to first do "install Bundle::CPAN", then "install Net::SNMP". Also
open up the test script (assuming its not a compiled binary) and check
for all the "use" lines and make sure they're installed. For example,
from another script I saw:



use strict;

use Net::SNMP;

use Getopt::Long;



So my steps were:

>sudo su -

perl -MCPAN -e shell

install Bundle::CPAN

reload cpan

reload index

install Net::SNMP

install Getopt::Long


For each, I installed prereq's where prompted...



Also, depending on your OS, you may want to update the OS first before
doing the above. For example, with CentOS, an "yum -y update" is good
practice every now and then... keeps you nice and current. But keep in
mind that anything built against a specific package may fail (last time
I did this, Cacti choked as it was built against a specific version of
a library and needed to be recompiled).



Other common perl modules to consider include DBI, DBD::mysql, etc...



Oh, and put the Net::SNMP line that you changed back... unfortunately,
the output of your RPM query is showing the SNMP programs themselves.
The script you're using is looking for the Perl module Net::SNMP.
net-snmp and Net::SNMP are two completely different things, yet often
times codependent.



Hope this helps...

  A. Davis
  Email: ncc...@gmail.com

  "There is no limit to what a man can accomplish
   if he doesn't care who gets the credit." - Ronald Reagan





Martin Fontanez wrote:

  

  

From:
Martin Fontanez 

Subject: Can't locate Net/SNMP.pm in @INC When Running check_ifstatus

To: Nagios-users@lists.sourceforge.net

Date: Monday, May 18, 2009, 3:46 PM

  

  
  

  

I am getting this error and not certain what
gives.  Tried various solutions including creating a link to ../net dir
but still get errors.  I did yum installs of relevant *snmp* packages. 
Is there a standard fix for this error?
 
1 - [r...@localhost libexec]# ./check_ifstatus -H
localhost

Can't locate Net/SNMP.pm in @INC (@INC contains:
/usr/local/nagios/libexec
/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.7/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7
/usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5
/usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.7/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7
/usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5
/usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi
/usr/lib/perl5/5.8.8 .) at ./check_ifstatus line 39.

BEGIN failed--compilation aborted at ./check_ifstatus line 39.


2 - SNMP.pm is (not on @INC path, but created a
link to ...Net/) on the following location: 
[r...@localhost libexec]# find / -name SNMP.pm

/usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/SNMP.pm

[r...@localhost libexec]#
 
3 - Looks like I got relevant rpm installed:
[r...@localhost libexec]# rpm -qa | grep -i snmp

net-snmp-libs-5.3.2.2-5.el5

net-snmp-perl-5.3.2.2-5.el5

net-snmp-5.3.2.2-5.el5

[r...@localhost libexec]#


4.  Edited the file ../check_ifconfig  and
replaced "use Net::SNMP;" with use "SNMP;" but that created other
errors.
 
 
 
 

  

  
  

  


  

  
  

  
--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
  
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/list

Re: [Nagios-users] multiline plugin output

2009-05-19 Thread Marc Powell

On May 19, 2009, at 4:51 AM, Brandino Andreas wrote:

> Hi all,
>
> I try to use check_snmp_int.pl plugin with multiline output. According
> to documentation (
> http://nagios.sourceforge.net/docs/3_0/pluginapi.html ) additional
> output is stored to $SERVICEPERFDATA$ and $LONGSERVICEOUTPUT$ macros
>
> How can i "force" nagios to print these lines to web interface, after
> $SERVICEOUTPUT$  ?

I don't use 3.x yet but I don't believe that you can. Unless the  
plugin output is written as HTML, and none are that I know of, multi- 
line output would be confusing in the web interface.

--
Marc


--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] NRPE

2009-05-19 Thread Marc Powell

On May 19, 2009, at 8:25 AM, Eduardo Barreto wrote:

> Hi All,
>
> I'm on a need to monitor a specific process on a Windows Vista  
> desktop, is it possible through NRPE?

http://nagios.sourceforge.net/docs/3_0/monitoring-windows.html

--
Marc


--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


[Nagios-users] DISABLE_SVC_CHECK does not keep track of username

2009-05-19 Thread shadih rahman
All
   I am seeing that when anyone acknowledges a problem in nagios, it keeps
track of username and notes information.  However if someone execute command
like DISABLE_SVC_CHECK or  DISABLE_HOST_NOTIFICATIONS or many other commands
then nagios does not keep track of username and who initiated the command.
Is this an intended behavior or is it a bug?  Can someone please comment on
this.  Thanks

-- 
Cordially,
Shadhin Rahman
--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

[Nagios-users] Running Windows batch files through NRPE

2009-05-19 Thread Leleux, Jeremy J
Hi All,

I'm running Nagios 3.0.6/CentOS 5.2 for my Nagios server.  Its
monitoring my Windows Servers, all 2003, I have NSClient++ on those
servers and its working fine.  My problem is that I'm trying to
centralize the configs on the NSClient++'s w/ the help of batch files.
I have setup commands to allow me run the scripts w/ the help of
check_nrpe, but they will not run.

Here is the contents of one of my batch files, nscpp_config.bat, to
update the NSClient++ config:
@echo off
xcopy
\\10.10.0.50\public\Departments\Infor~1\Scripts\nscpp_copy.bat
C:\Progra~1\NSClient++ /Y
exit
When I try to run this command from my Nagios Server, I get an "Invalid
Drive Specification Error".  And here is my config line to allow the
command in NSClient++:
cp_script=nscpp_config.bat
If someone else has done this in past, please let me know how you have
done this.

Respectfully,

Jeremy Leleux
IT Administrator
Sunland Construction, Inc.
Corporate Division
Office: 337.550.2142
Fax: 337.546.0245
Mobile: 337.580.6062
Email: jjlel...@sunlandconstruction.com


--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] Running Windows batch files through NRPE

2009-05-19 Thread Onotsky, Steve x55328
I don't think that Nagios/nscp is geared to what you want it to do.
Instead, I would suggest that a Scheduled Task might be more appropriate
(or use something like SMS to push out an update on demand/on a
schedule, if you have it in place).

 

Cheers

 

 

Steve Onotsky

Server Support Technologist

Broadridge

Investor Communication Solutions, Canada

5970 Chedworth Way

Mississauga  ON  L5R 4G5

Tel: (905) 507-5328

Fax: (905) 507-5312

Inet: steve.onot...@broadridge.com 


 

Quis custodiet ipsos custodes?

- Juvenal, Satires, VI, 347

 



From: Leleux, Jeremy J [mailto:jjlel...@sunlandconstruction.com] 
Sent: May 19, 2009 10:15
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] Running Windows batch files through NRPE

 

Hi All,

I'm running Nagios 3.0.6/CentOS 5.2 for my Nagios server.  Its
monitoring my Windows Servers, all 2003, I have NSClient++ on those
servers and its working fine.  My problem is that I'm trying to
centralize the configs on the NSClient++'s w/ the help of batch files.
I have setup commands to allow me run the scripts w/ the help of
check_nrpe, but they will not run.

Here is the contents of one of my batch files, nscpp_config.bat, to
update the NSClient++ config:

@echo off

xcopy \\10.10.0.50\public\Departments\Infor~1\Scripts\nscpp_copy.bat
C:\Progra~1\NSClient++ /Y

exit

When I try to run this command from my Nagios Server, I get an "Invalid
Drive Specification Error".  And here is my config line to allow the
command in NSClient++:

cp_script=nscpp_config.bat

If someone else has done this in past, please let me know how you have
done this.

Respectfully,

Jeremy Leleux

IT Administrator

Sunland Construction, Inc.

Corporate Division

Office: 337.550.2142

Fax: 337.546.0245

Mobile: 337.580.6062

Email: jjlel...@sunlandconstruction.com


This message and any attachments are intended only for the use of the addressee 
and
may contain information that is privileged and confidential. If the reader of 
the 
message is not the intended recipient or an authorized representative of the
intended recipient, you are hereby notified that any dissemination of this
communication is strictly prohibited. If you have received this communication in
error, please notify us immediately by e-mail and delete the message and any
attachments from your system.

--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

[Nagios-users] 3D Status Map

2009-05-19 Thread Eduardo Barreto
Hi all,

Anybody know where to find a plugin for firefox running onto Ubuntu to turn
it able openning vrml?

I've downloaded openvrml but I'm having many problems to installing it.


Cheers

Eduardo Barreto
--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] Running Windows batch files through NRPE

2009-05-19 Thread Mike Saldivar
On Tue, May 19, 2009 at 8:14 AM, Leleux, Jeremy J <
jjlel...@sunlandconstruction.com> wrote:

>  Hi All,
>
> I’m running Nagios 3.0.6/CentOS 5.2 for my Nagios server.  Its monitoring
> my Windows Servers, all 2003, I have NSClient++ on those servers and its
> working fine.  My problem is that I’m trying to centralize the configs on
> the NSClient++’s w/ the help of batch files.  I have setup commands to
> allow me run the scripts w/ the help of check_nrpe, but they will not run.
>
> Here is the contents of one of my batch files, nscpp_config.bat, to update
> the NSClient++ config:
>
>@echo off
>
>   xcopy \\10.10.0.50\public\Departments\Infor~1\Scripts\nscpp_copy.bat
>   C:\Progra~1\NSClient++ /Y
>
>   exit
>
> When I try to run this command from my Nagios Server, I get an “Invalid
> Drive Specification Error”.  And here is my config line to allow the
> command in NSClient++:
>
>cp_script=nscpp_config.bat
>
>
Does the user running the batch file have access to those directories and
shares?  Does it work if you run it from the command line?
You may want to try first mapping the drive with net use:

net use n: \\10.10.0.50\public
xcopy n:\Departments\Infor~1\Scripts\nscpp_copy.bat C:\Progra~1\NSClient++
/Y

With net use, you can also specify an alternate username and password with
which to map the drive.

-Mike
--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] Unable to open MRTG log file

2009-05-19 Thread Andrew Davis
On most systems, mrtg will run as its own user and nagios the same. Make 
sure that the nagios user has permissions to access the mrtg owned files...


 A. Davis
 Email: ncc...@gmail.com

 "There is no limit to what a man can accomplish
  if he doesn't care who gets the credit." - Ronald Reagan



Dei Bertine wrote:


Hi folks,

I've been getting these messages from my nagios page under mrtg: 
"check_mrtgtraf: Unable to open MRTG log file" in which Im unable to 
figure it out why?


here's my config file:
# Monitor Port 1 Bandwidth Usage
define service{
use mrtg-service
host_name   ciscoasa-firewall
service_description SDFWPORT1_BAND_USE
check_command   
check_local_mrtgtraf!/var/www/mrtg/192.168.1.253_1.log!AVG!100,100!500,500!10

}

When I launch the command manually, same error.

Here's my command looks like:
# 'check_local_mrtgtraf' command definition
define command{
command_namecheck_local_mrtgtraf
command_line$USER1$/check_mrtgtraf -F $ARG1$ -a $ARG2$ -w 
$ARG3$ -c $ARG4$ -e $ARG5$

}

Please someone advise.

Thank you!
DB


*
*




--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects



___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null
--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] DISABLE_SVC_CHECK does not keep track of username

2009-05-19 Thread Marc Powell

On May 19, 2009, at 9:33 AM, shadih rahman wrote:

>   Is this an intended behavior or is it a bug?

Intended behavior.

--
Marc


--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] Playing alert sounds in Safari

2009-05-19 Thread Marc Powell

On May 19, 2009, at 8:33 AM, Niall O Broin wrote:

> I got that file with wget and I noticed that the MIME type it was sent
> with was audio/x-wav so I edited the binary of tac.cgi to send audio/ 
> x-
> wav rather than application/wav (yes, I know, but it was quicker than
> getting the source, and building it, just to try this out) but
> although that got rid of the warning pop up, it still got me no sound.

Please see this thread, first and last posts most specifically --

http://thread.gmane.org/gmane.network.nagios.devel/5391

--
Marc


--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


[Nagios-users] Nagios: Monitoring WAN link status.

2009-05-19 Thread Jimmyboy
Hello Experts,

After installing Nagios 3.0.6 on Ubuntu 8.10 (VM senario), I have managed to
configure it to monitor my Windows-based machines and Route-Switch Modules
(RSMs).

I read the documentation which says that Nagios is a system and network
monitoring application. It watches hosts and services, etc. However, I was
curious to know whether it could also be configured to monitor WAN links'
status, latency, flap-detection, etc.

Can anyone throw some light on this part with how to go about if it is
possible?

Thanks,
Jim
--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

[Nagios-users] Downtime discrepancy

2009-05-19 Thread Andrew Davis

Looking at my hosts that are scheduled for downtime, I noticed this:

ns205-19-2009 10:55:04adavisRebuilding with CentOS
05-19-2009 10:54:4305-19-2009 12:54:43Flexible0d 3h 0m 0s
49N/A Delete/Cancel This Scheduled Downtime Entry


How is it possible to have downtime scheduled from 10:54:43 to 12:54:43 
yet have a duration of 3 hours??? Something appears to be amiss.


In fact, even though it was marked as flexible and with a duration of 3 
hours, 12:54:43 just passed and the system is no longer listed as being 
under downtime, yet it should be as it was scheduled for 3 hours of 
downtime.


--


 A. Davis
 Email: ncc...@gmail.com

 "There is no limit to what a man can accomplish
  if he doesn't care who gets the credit." - Ronald Reagan

--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] Nagios: Monitoring WAN link status.

2009-05-19 Thread Mike Saldivar
On Tue, May 19, 2009 at 10:13 AM, Jimmyboy  wrote:

> Hello Experts,
>
> After installing Nagios 3.0.6 on Ubuntu 8.10 (VM senario), I have managed
> to configure it to monitor my Windows-based machines and Route-Switch
> Modules (RSMs).
>
> I read the documentation which says that Nagios is a system and network
> monitoring application. It watches hosts and services, etc. However, I was
> curious to know whether it could also be configured to monitor WAN links'
> status, latency, flap-detection, etc.
>
>

Yes, if your network devices support SNMP, they can report via SNMP to
Nagios, and you can monitor anything your device is willing to report via
SNMP.

http://nagios.sourceforge.net/docs/3_0/monitoring-routers.html

However, I have a set-up identical to yours, and am currently stalled at
getting the Net-SNMP and SNMP-Utils installed.  My server's missing
something that's preventing SNMP and MRTG from working.

-Mike
--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] Downtime discrepancy

2009-05-19 Thread Chris Waters
>From the docs:
 
Fixed vs. Flexible Downtime

When you schedule downtime for a host or service through the web
interface you'll be asked if the downtime is fixed or flexible. Here's
an explanation of how "fixed" and "flexible" downtime differs:

"Fixed" downtime starts and stops at the exact start and end times that
you specify when you schedule it. Okay, that was easy enough...

"Flexible" downtime is intended for times when you know that a host or
service is going to be down for X minutes (or hours), but you don't know
exactly when that'll start. When you schedule flexible downtime, Nagios
will start the scheduled downtime sometime between the start and end
times you specified. The downtime will last for as long as the duration
you specified when you scheduled the downtime. This assumes that the
host or service for which you scheduled flexible downtime either goes
down (or becomes unreachable) or goes into a non-OK state sometime
between the start and end times you specified. The time at which a host
or service transitions to a problem state determines the time at which
Nagios actually starts the downtime. The downtime will then last for the
duration you specified, even if the host or service recovers before the
downtime expires. This is done for a very good reason. As we all know,
you can think you've got a problem fixed (and restart a server) ten
times before it actually works right. Smart, eh?

Flexible means nagios expects the host to go down within the "window"
you have specified for the duration you specified.
 
 



From: Andrew Davis [mailto:ncc...@gmail.com] 
Sent: Tuesday, May 19, 2009 9:59 AM
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] Downtime discrepancy


Looking at my hosts that are scheduled for downtime, I noticed this:

ns205-19-2009 10:55:04adavisRebuilding with CentOS
05-19-2009 10:54:4305-19-2009 12:54:43Flexible0d 3h 0m 0s
49N/A Delete/Cancel This Scheduled Downtime Entry

How is it possible to have downtime scheduled from 10:54:43 to 12:54:43
yet have a duration of 3 hours??? Something appears to be amiss.

In fact, even though it was marked as flexible and with a duration of 3
hours, 12:54:43 just passed and the system is no longer listed as being
under downtime, yet it should be as it was scheduled for 3 hours of
downtime.

-- 


  A. Davis
  Email: ncc...@gmail.com

  "There is no limit to what a man can accomplish
   if he doesn't care who gets the credit." - Ronald Reagan
--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] Running Windows batch files through NRPE

2009-05-19 Thread Alex Burger

You are running NSClient++ as a service which is using the SYSTEM 
account.  The SYSTEM account does not have access to network resources. 
  One solution is to create a domain user account and then change the 
NSClient++ service to use the new account.  Also make sure the account 
has access to the batch file.

As someone else mentioned it may make more sense to use a scheduled task 
but it also needs to run as a network account that has access.  You may 
want to look at psexec from Sysinternals.

Alex


Leleux, Jeremy J wrote:
> I'm running Nagios 3.0.6/CentOS 5.2 for my Nagios server.  Its
> monitoring my Windows Servers, all 2003, I have NSClient++ on those
> servers and its working fine.  My problem is that I'm trying to
> centralize the configs on the NSClient++'s w/ the help of batch files.
> I have setup commands to allow me run the scripts w/ the help of
> check_nrpe, but they will not run.
> 
> Here is the contents of one of my batch files, nscpp_config.bat, to
> update the NSClient++ config:
>   @echo off
>   xcopy
> \\10.10.0.50\public\Departments\Infor~1\Scripts\nscpp_copy.bat
> C:\Progra~1\NSClient++ /Y
>   exit
> When I try to run this command from my Nagios Server, I get an "Invalid
> Drive Specification Error".  And here is my config line to allow the
> command in NSClient++:


--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] Downtime discrepancy

2009-05-19 Thread Andrew Davis
Thanks. The one time I don't read the docs first and that proves to be 
the solution...


 A. Davis
 Email: ncc...@gmail.com

 "There is no limit to what a man can accomplish
  if he doesn't care who gets the credit." - Ronald Reagan



Chris Waters wrote:

From the docs:
 


*_Fixed vs. Flexible Downtime_*

When you schedule downtime for a host or service through the web 
interface you'll be asked if the downtime is fixed or flexible. Here's 
an explanation of how "fixed" and "flexible" downtime differs:


"Fixed" downtime starts and stops at the exact start and end times 
that you specify when you schedule it. Okay, that was easy enough...


"Flexible" downtime is intended for times when you know that a host or 
service is going to be down for X minutes (or hours), but you don't 
know exactly when that'll start. When you schedule flexible downtime, 
Nagios will start the scheduled downtime sometime between the start 
and end times you specified. The downtime will last for as long as the 
duration you specified when you scheduled the downtime. This assumes 
that the host or service for which you scheduled flexible downtime 
either goes down (or becomes unreachable) or goes into a non-OK state 
sometime between the start and end times you specified. The time at 
which a host or service transitions to a problem state determines the 
time at which Nagios actually starts the downtime. The downtime will 
then last for the duration you specified, even if the host or service 
recovers before the downtime expires. This is done for a very good 
reason. As we all know, you can think you've got a problem fixed (and 
restart a server) ten times before it actually works right. Smart, eh?


Flexible means nagios expects the host to go down within the "window" 
you have specified for the duration you specified.
 
 



*From:* Andrew Davis [mailto:ncc...@gmail.com]
*Sent:* Tuesday, May 19, 2009 9:59 AM
*To:* nagios-users@lists.sourceforge.net
*Subject:* [Nagios-users] Downtime discrepancy

Looking at my hosts that are scheduled for downtime, I noticed this:

ns205-19-2009 10:55:04adavisRebuilding with CentOS
05-19-2009 10:54:4305-19-2009 12:54:43Flexible0d 3h 0m 
0s49N/A Delete/Cancel This Scheduled Downtime Entry


How is it possible to have downtime scheduled from 10:54:43 to 
12:54:43 yet have a duration of 3 hours??? Something appears to be amiss.


In fact, even though it was marked as flexible and with a duration of 
3 hours, 12:54:43 just passed and the system is no longer listed as 
being under downtime, yet it should be as it was scheduled for 3 hours 
of downtime.

--


  A. Davis
  Email: ncc...@gmail.com

  "There is no limit to what a man can accomplish
   if he doesn't care who gets the credit." - Ronald Reagan
  
--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] check frequency

2009-05-19 Thread Anirudh Srinivasan
Hi Dongsheng

I tried as you suggested by putting

Check_interval  1
retry_interval  1
max_check_attempts  3

But this is what i see on the alert history  :


[05-19-2009 13:42:35] HOST ALERT: app-engbw5;DOWN;HARD;3;FPING CRITICAL -
(loss=100% )

[05-19-2009 13:37:38] HOST ALERT: app-engbw5;DOWN;SOFT;2;FPING CRITICAL -
(loss=100% )

[05-19-2009 13:32:24] HOST ALERT: app-engbw5;DOWN;SOFT;1;FPING CRITICAL -
(loss=100% )

Again the time duration between each check is like 5 min . Its increased now
to 5 min from 3 min

I want to make it as 1 min and third attempt state as HARD and send
notification.



2009/5/18 Anirudh Srinivasan 

> Also one more question :
>
> How was nagios managing that retry_interval earlier when this parameter was
> not even set ??
>
> Is it because of SMART calculation thats set in nagios.cfg ??? If not
> please can i know how that worked ???
>
> 2009/5/18 Anirudh Srinivasan 
>
>  Hi
>>
>> Thanks for the reply , will try this out. But is there some centralized
>> Parameter in nagios.cfg that could solve this issue.
>>
>> Thanks in Adv
>>
>>   On Mon, May 18, 2009 at 11:01 PM, Dongsheng Song <
>> dongsheng.s...@gmail.com> wrote:
>>
>>> In service definition, set:
>>>
>>>check_interval  1
>>>retry_interval  1
>>>max_check_attempts  5
>>>
>>>
>>> In host definition, set:
>>>check_interval  1
>>>retry_interval  1
>>>max_check_attempts  5
>>>
>>>
>>> You can put them to the host/service template for simplify definition.
>>>
>>> --
>>> Dongsheng Song
>>>
>>> Anirudh Srinivasan 写道:
>>>  >  Hi Nagios experts:
>>> >
>>> > Below is the Alert history for the the host , and the max_check_attemps
>>> > is = 5
>>> >
>>> >
>>> > [05-11-2009 16:46:57] HOST ALERT: benfwca;DOWN;HARD;5;FPING CRITICAL
>>> > - (loss=100% )
>>> > [05-11-2009 16:43:36] HOST ALERT: benfwca;DOWN;SOFT;4;FPING CRITICAL
>>> > - (loss=100% )
>>> > [05-11-2009 16:40:30] HOST ALERT: benfwca;DOWN;SOFT;3;FPING CRITICAL
>>> > -(loss=100% )
>>> > [05-11-2009 16:37:30] HOST ALERT: benfwca;DOWN;SOFT;2;FPING CRITICAL
>>> > - (loss=100% )
>>> > [05-11-2009 16:34:16] HOST ALERT: benfwca;DOWN;SOFT;1;FPING CRITICAL
>>> > - (loss=100% )
>>> >
>>> > If you could notice the check frequency is approx= 3 min .
>>> >
>>> > Is it possible to reduce this parameter, if yes then what is the
>>> > parameter that i have to look for.
>>> > I dont want to reduce the max_check_attemps to a lower value.
>>> >
>>> > All i want to have is check every 1 min for 5 attemps and mark it as
>>> > HARD state.
>>> >
>>> > Is it possible.??
>>> >
>>> > Thanks in Adv
>>> > --
>>> > Anirudh Srinivasan
>>> >
>>>
>>>
>>
>>
>> --
>> Anirudh Srinivasan
>>
>>
>
>
> --
> Anirudh Srinivasan
>
>


-- 
Anirudh Srinivasan
--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] Nagios: Monitoring WAN link status.

2009-05-19 Thread Kevin Keane
Mike Saldivar wrote:
> On Tue, May 19, 2009 at 10:13 AM, Jimmyboy  > wrote:
>
> Hello Experts,
>  
> After installing Nagios 3.0.6 on Ubuntu 8.10 (VM senario), I have
> managed to configure it to monitor my Windows-based machines and
> Route-Switch Modules (RSMs).
>  
> I read the documentation which says that Nagios is a system and
> network monitoring application. It watches hosts and services,
> etc. However, I was curious to know whether it could also be
> configured to monitor WAN links' status, latency, flap-detection, etc.
>  
>
>
> Yes, if your network devices support SNMP, they can report via SNMP to 
> Nagios, and you can monitor anything your device is willing to report 
> via SNMP.
You could also use a simple ping check to the remote router. SNMP is 
great to check internals of a device. If your interest is whether 
something is up, simple is best. Also, since the remote router has no 
idea about latency on the WAN link, that is something only ping can tell.

Flap-detection is built into Nagios itself. It's enabled in the default 
configurations, so you usually don't have to do anything about it.


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


--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] check frequency

2009-05-19 Thread Dongsheng Song
No, please check your "Scheduling Queue", view "Last Check" and "Next Check".

Please distinguish "check history" and "alert history".

Are you sure you want check max 4 times, and alter every 1 minuties ?
The your "check_interval" should be 12s, it's too short!

In 'nagios.cfg', set 'interval_length=1'; In host/service template, set:

check_interval  12
retry_interval  12
max_check_attempts  3

The the time duration between each alert(not check!) is 1 min .

--
Dongsheng Song

2009/5/20 Anirudh Srinivasan :
> Hi Dongsheng
>
> I tried as you suggested by putting
>
> Check_interval  1
> retry_interval  1
> max_check_attempts  3
>
> But this is what i see on the alert history  :
>
> [05-19-2009 13:42:35] HOST ALERT: app-engbw5;DOWN;HARD;3;FPING CRITICAL -
> (loss=100% )
> [05-19-2009 13:37:38] HOST ALERT: app-engbw5;DOWN;SOFT;2;FPING CRITICAL -
> (loss=100% )
> [05-19-2009 13:32:24] HOST ALERT: app-engbw5;DOWN;SOFT;1;FPING CRITICAL -
> (loss=100% )
>
> Again the time duration between each check is like 5 min . Its increased now
> to 5 min from 3 min
>
> I want to make it as 1 min and third attempt state as HARD and send
> notification.
>
>
> 2009/5/18 Anirudh Srinivasan 
>>
>> Also one more question :
>>
>> How was nagios managing that retry_interval earlier when this parameter
>> was not even set ??
>>
>> Is it because of SMART calculation thats set in nagios.cfg ??? If not
>> please can i know how that worked ???
>>
>> 2009/5/18 Anirudh Srinivasan 
>>>
>>> Hi
>>>
>>> Thanks for the reply , will try this out. But is there some centralized
>>> Parameter in nagios.cfg that could solve this issue.
>>>
>>> Thanks in Adv
>>>
>>> On Mon, May 18, 2009 at 11:01 PM, Dongsheng Song
>>>  wrote:

 In service definition, set:

        check_interval                  1
        retry_interval                  1
        max_check_attempts              5


 In host definition, set:
        check_interval                  1
        retry_interval                  1
        max_check_attempts              5


 You can put them to the host/service template for simplify definition.

 --
 Dongsheng Song

 Anirudh Srinivasan 写道:
 >  Hi Nagios experts:
 >
 > Below is the Alert history for the the host , and the
 > max_check_attemps
 > is = 5
 >
 >
 > [05-11-2009 16:46:57] HOST ALERT: benfwca;DOWN;HARD;5;FPING CRITICAL
 > - (loss=100% )
 > [05-11-2009 16:43:36] HOST ALERT: benfwca;DOWN;SOFT;4;FPING CRITICAL
 > - (loss=100% )
 > [05-11-2009 16:40:30] HOST ALERT: benfwca;DOWN;SOFT;3;FPING CRITICAL
 > -(loss=100% )
 > [05-11-2009 16:37:30] HOST ALERT: benfwca;DOWN;SOFT;2;FPING CRITICAL
 > - (loss=100% )
 > [05-11-2009 16:34:16] HOST ALERT: benfwca;DOWN;SOFT;1;FPING CRITICAL
 > - (loss=100% )
 >
 > If you could notice the check frequency is approx= 3 min .
 >
 > Is it possible to reduce this parameter, if yes then what is the
 > parameter that i have to look for.
 > I dont want to reduce the max_check_attemps to a lower value.
 >
 > All i want to have is check every 1 min for 5 attemps and mark it as
 > HARD state.
 >
 > Is it possible.??
 >
 > Thanks in Adv
 > --
 > Anirudh Srinivasan
 >

>>>
>>>
>>>
>>> --
>>> Anirudh Srinivasan
>>>
>>
>>
>>
>> --
>> Anirudh Srinivasan
>>
>
>
>
> --
> Anirudh Srinivasan
>
>

--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] 3D Status Map

2009-05-19 Thread Lei Chen
Hope this helps:

http://cic.nist.gov/vrml/vbdetect.html

2009/5/19 Eduardo Barreto :
> Hi all,
>
> Anybody know where to find a plugin for firefox running onto Ubuntu to turn
> it able openning vrml?
>
> I've downloaded openvrml but I'm having many problems to installing it.
>
>
> Cheers
>
> Eduardo Barreto
>
> --
> Crystal Reports - New Free Runtime and 30 Day Trial
> Check out the new simplified licensing option that enables
> unlimited royalty-free distribution of the report engine
> for externally facing server and web deployment.
> http://p.sf.net/sfu/businessobjects
> ___
> Nagios-users mailing list
> Nagios-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when reporting
> any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
>



-- 
Thanks,
Chenlei & 石头++
MSN Messenger: c...@163.com

--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] NRPE

2009-05-19 Thread Lei Chen
check_snmp_process is another option.
http://nagios.manubulon.com/snmp_process.html


2009/5/19 Eduardo Barreto :
> Hi All,
>
> I'm on a need to monitor a specific process on a Windows Vista desktop, is
> it possible through NRPE?
>
>
>
> Thanks in advance
>
> Eduardo Barreto
>
> --
> Crystal Reports - New Free Runtime and 30 Day Trial
> Check out the new simplified licensing option that enables
> unlimited royalty-free distribution of the report engine
> for externally facing server and web deployment.
> http://p.sf.net/sfu/businessobjects
> ___
> Nagios-users mailing list
> Nagios-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when reporting
> any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
>



-- 
Thanks,
Chenlei & 石头++
MSN Messenger: c...@163.com

--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null