[Nagios-users] Nagios side.html : tweaking Unhandled service problems

2009-02-02 Thread Frederik Vanhee
Hi,

I thought it was great to have the unhandled service problems in the 
sidebar.
Earlier versions didn't have it and I really needed it, so I'm very happy.

However, I'm running a distributed setup with active and passive service 
checks, so I'm not only interested in the active checks, but also in the 
passive checks
The default filter for unhandled service problems is :

Not in schedulded downtime  Has not been acknowledged  Active checks 
enabled = serviceprops = 42

what I really need is :

Not in schedulded downtime  Has not been acknowledged  Active checks 
enabled || Passive checks enabled = serviceprops = ??

I looked into the status.c source, but I can't seem to find the values 
to compose custom filters.
Is there anyone out there who can point me into the right direction ?

Thanks,

Frederik




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


Re: [Nagios-users] nagios with ndo crashed after a week

2008-09-24 Thread Frederik Vanhee
Heiko wrote:
 Hello,

 i enabled ndomod last week to have some data do play with.
 Today nagios sudenly stopped checking and also a nagios restart and kill didnt
 bring it up again.

 I had this incident some months ago when first played with ndo.

 What is causing this behaevior and how can I prevent this?
 It is really critical when nagios doesnt check, we have a fallback
 nagios, but causes some confusion with my colleages.

 greetings


 Rupertt

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

I don't know how big your installation is, but if you have thousands of 
services or a distributed setup with passive checks and just enable ndo 
with the defaults, your ndo-database becomes very, very big.
This can cause a slowdown of your db-server. And Nagios slows down too, 
because of the latency in sending the results to the DB.

-Check the database size of the ndo-db
-Check your Nagios service check latency, high service check latency 
COULD be caused by slowly responding DB
-Check nagios.log and mysql.log to see if there are any errors
-Don't always think Nagios doesn't come up again. If your ndo is not 
performing as it should, it takes a long time for Nagios to startup and 
recreate a status.dat-file which is used by the cgi's. I've had a case 
were it took up to 5 minutes before the status.dat was created after a 
Nagios startup, because of the ndo
-Make sure you have the latest ndo-version

Good luck,

Frederik

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


Re: [Nagios-users] Nagios 3 distributed monitoring and NSCA

2008-09-24 Thread Frederik Vanhee
Marc Powell wrote:
 On Sep 10, 2008, at 2:45 PM, Jonathan Call wrote:

   
 In Nagios 2.x Nagios the Obessive Compulsive Service Processor  
 (OCSP) is
 not very robust. Even with a few hundred service checks the OCSP stuff
 on the distributed servers bogs down and does not send anything out.
 This forced people like me to use tools like OCP_daemon.
 

 I have to disagree with this as a general statement. I've used Nagios  
 2.x (currenlty .9), sending/receiving thousands of passive results  
 every 5 minutes successfully for years. My 'largest' data collector  
 (not dedicated to nagios) has all checks completed, or in progress, in  
 the 5 minute interval  --

 Total Services:   2198
 Services Checked: 2198
 Services Scheduled:   2198
 Active Service Checks:2198
 Passive Service Checks:   0
 Total Service State Change:   0.000 / 6.250 / 0.011 %
 Active Service Latency:   38.626 / 68.765 / 59.834 sec
 Active Service Execution Time:0.064 / 60.015 / 0.679 sec
 Active Service State Change:  0.000 / 6.250 / 0.011 %
 Active Services Last 1/5/15/60 min:   377 / 1804 / 2198 / 2198
 Passive Service State Change: 0.000 / 0.000 / 0.000 %
 Passive Services Last 1/5/15/60 min:  0 / 0 / 0 / 0
 Services Ok/Warn/Unk/Crit:2189 / 0 / 0 / 9
 Services Flapping:0
 Services In Downtime: 0

 One of my central receivers (2.9) --

 Total Services:   6137
 Services Checked: 6136
 Services Scheduled:   26
 Active Service Checks:28
 Passive Service Checks:   6109
 Total Service State Change:   0.000 / 17.960 / 0.034 %
 Active Service Latency:   0.000 / 4.686 / 0.346 sec
 Active Service Execution Time:0.000 / 2.529 / 0.444 sec
 Active Service State Change:  0.000 / 11.970 / 0.428 %
 Active Services Last 1/5/15/60 min:   3 / 3 / 26 / 26
 Passive Service State Change: 0.000 / 17.960 / 0.033 %
 Passive Services Last 1/5/15/60 min:  1104 / 5680 / 6107 / 6107
 Services Ok/Warn/Unk/Crit:6107 / 1 / 0 / 29
 Services Flapping:0
 Services In Downtime: 0

 One of my central receivers is still running nagios-1.3, with a  
 database backend, and even it can keep up --

 Passive Checks:
   
 Time FrameChecks Completed
 = 1 minute:  628 (10.3%)
 = 5 minutes: 5191 (85.0%)
 = 15 minutes:6105 (100.0%)
 = 1 hour:6105 (100.0%)
 Since program start:  6108 (100.0%)

   
 Has the OCSP infrastructure improved in Nagios 3? I need it to be  
 robust
 enough to handle ~2500 service checks.
 

 I'm doing nearly that now with nagios-2.9.

 --
 Marc



 -
 This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
 Build the coolest Linux based applications with Moblin SDK  win great prizes
 Grand prize is a trip for two to an Open Source event anywhere in the world
 http://moblin-contest.org/redirect.php?banner_id=100url=/
 ___
 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
   
I can agree with Mark, I use OCSP in a distributed setup with 8000 
passive services.
This worked fine on Nagios 1.x, 2.x and 3.0.3

Frederik

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

2008-06-12 Thread Frederik Vanhee
Hello,
 
I'm thinking about a hardware upgrade of my Nagios server.
I have a setup with 1500 hosts and 9000 services (from which 2500 
services are active and the other 6500 passive).
I use the 'classic' Nagios interface for consulting + the Nagvis 
frontend with the ndo backend.
In addition, I use Nagiosgrapher for graphing purposes.
 
Now I'm in doubt if I would split the Nagios server in two servers :
 
-one for the Nagios process + webinterface + nagiosgrapher
-second as database-server for the ndo-backend
 
Or maybe another configuration ?
Would it be more interesting to invest in one server with more RAM and 
more powerful cpu's or is it more interesting to split it into two servers ?
 
Any suggestions,
 
Vanhee Frederik

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] Nagios server hardware dimensions

2008-06-12 Thread Frederik Vanhee
Aaron M. Segura wrote:
 Please stop posting the same exact thing on a daily basis.  Sending
 multiple posts on consecutive days is *not* going to help you.  Quite
 the opposite, in fact.

 On Thu, 2008-06-12 at 20:32 +0200, Frederik Vanhee wrote:
   
 Hello,
  
 I'm thinking about a hardware upgrade of my Nagios server.
 I have a setup with 1500 hosts and 9000 services (from which 2500 
 services are active and the other 6500 passive).
 I use the 'classic' Nagios interface for consulting + the Nagvis 
 frontend with the ndo backend.
 In addition, I use Nagiosgrapher for graphing purposes.
  
 Now I'm in doubt if I would split the Nagios server in two servers :
  
 -one for the Nagios process + webinterface + nagiosgrapher
 -second as database-server for the ndo-backend
  
 Or maybe another configuration ?
 Would it be more interesting to invest in one server with more RAM and 
 more powerful cpu's or is it more interesting to split it into two servers ?
  
 Any suggestions,
  
 Vanhee Frederik

 -
 Check out the new SourceForge.net Marketplace.
 It's the best place to buy or sell services for
 just about anything Open Source.
 http://sourceforge.net/services/buy/index.php
 ___
 Nagios-users mailing list
 Nagios-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/nagios-users
 ::: Please include Nagios version, plugin version (-v) and OS when reporting 
 any issue. 
 ::: Messages without supporting info will risk being sent to /dev/null
 
Hi,

I'm sorry if I posted this entry multiple times. I never saw my item  
appear in the mailing I get from 'Nagios-users', so I thought something 
went wrong with the posting of this item.
But apparently it did succeed.

Regards,

Frederik

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


[Nagios-users] Nagios server hardware

2008-06-10 Thread Frederik Vanhee
Hello,

I'm thinking about a hardware upgrade of my Nagios server.
I have a setup with 1500 hosts and 9000 services (from which 2500 services
are active and the other 6500 passive).
I use the 'classic' Nagios interface for consulting + the Nagvis frontend
with the ndo backend.
In addition, I use Nagiosgrapher for graphing purposes.

Now I'm in doubt if I would split the Nagios server in two servers :

-one for the Nagios process + webinterface + nagiosgrapher
-second as database-server for the ndo-backend

Or maybe another configuration ?
Would it be more interesting to invest in one server with more RAM and more
powerful cpu's or is it more interesting to split it into two server ?

Any suggestions are welcome,

Vanhee Frederik
-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

[Nagios-users] Nagios server hardware dimensions

2008-06-09 Thread Frederik Vanhee
Hello,

I'm thinking about a hardware upgrade of my Nagios server.
I have a setup with 1500 hosts and 9000 services (from which 2500 services
are active and the other 6500 passive).
I use the 'classic' Nagios interface for consulting + the Nagvis frontend
with the ndo backend.
In addition, I use Nagiosgrapher for graphing purposes.

Now I'm in doubt if I would split the Nagios server in two servers :

-one for the Nagios process + webinterface + nagiosgrapher
-second as database-server for the ndo-backend

Or maybe another configuration ?
Would it be more interesting to invest in one server with more RAM and more
powerful cpu's or is it more interesting to split it into two servers ?

Any suggestions,

Vanhee Frederik
-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] NDO Troubles

2008-01-20 Thread Frederik Vanhee
On 1/18/08, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

 List,


 Today our NDOUtils broker...broke. I'm not entirely sure what happened,
 but I can tell you what is going on and what I've done...
 Nagios 2.10, 1.4.10 plugs on Ubuntu 7.10

 This has been fine for about 3 months now.

 Today however, we started seeing some issues with the daemon. In the
 event log of the nagios web interface it shows successful connections,
 as does the nagios/mysql logs. Only problem is that in the Nagvis
 interface it is showing that NDO is reporting Nagios as closed, or no
 updates in more that 100 seconds. I'm leaning more towards a broken
 Nagvis at the moment. I am the only person touching the Nagios box and
 nothing has changed. I did try to add Bacula to this box, but have since
 removed all relative packages that I installed. Has anyone
 seen/experienced a similar issue with NDO? It's really frustrating, as
 we have an IT auditor here today, and this is a big part of our audit
 this year!!!

 Stephen

 -
 This SF.net email is sponsored by: Microsoft
 Defy all challenges. Microsoft(R) Visual Studio 2008.
 http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
 ___
 Nagios-users mailing list
 Nagios-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/nagios-users
 ::: Please include Nagios version, plugin version (-v) and OS when
 reporting any issue.
 ::: Messages without supporting info will risk being sent to /dev/null

 Hi Stephen,

have you checked your database ? I mean, I installed NDO-utils with all
default values and my database grew to 3+ Gigabytes in a few days, because
of all servicechecks and external commands that were stored. The database
grew and grew, until the system couldn't cope anymore.
So I tweaked ndo a bit, not to store all external commands for example
(distributed environment).

Frederik
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] How to Scan network

2007-11-05 Thread Frederik Vanhee
On 11/5/07, gurdeep johal [EMAIL PROTECTED] wrote:

 I Have configured serveral cgi file in /etc/nagios/
 hosts.cfg
 contactgroup.cfg
 timeperiod.cfg
 hostgroup.cfg

 now when I uncomment these files from nagios.cfg. nagios server service
 not starting. after comment these files its works fine. how many files I
 have to make and uncomment for just scanning network



 Gurdeep Singh

 __
 Do You Yahoo!?
 Tired of spam? Yahoo! Mail has the best spam protection around
 http://mail.yahoo.com

 -
 This SF.net email is sponsored by: Splunk Inc.
 Still grepping through log files to find problems?  Stop.
 Now Search log events and configuration files using AJAX and a browser.
 Download your FREE copy of Splunk now  http://get.splunk.com/
 ___
 Nagios-users mailing list
 Nagios-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/nagios-users
 ::: Please include Nagios version, plugin version (-v) and OS when
 reporting any issue.
 ::: Messages without supporting info will risk being sent to /dev/null


Hello,

you should really try and search some more yourself !
-As mentioned before, try execute nagios with the -v option to see where the
errors are
-You can try the default config filesthe developer has prepared for you
-You should read the documentation about
hosts,services,checkcommands,timeperiods,contacts, contactgroups... before
building some config files

Good luck, it will take some time, but believe me (and many others); it is
worth the effort

Frederik
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] Service Check Interval 1 minute ?

2006-07-06 Thread Frederik Vanhee
Hari Sekhon wrote:

Is it possible to define a service check interval of less than a minute?

I want some services to be checked every 30 seconds for example...
so I really need to be able to specify service_check_interval in seconds...


-h

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
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

  

RTFM. :  nagios.cfg (timing interval length),

...from the docs...
*Timing Interval Length
*Format:*interval_length=seconds*
Example:*interval_length=60

*This is the number of seconds per unit interval used for timing in 
the scheduling queue, re-notifications, etc. Units intervals are used 
in the object configuration file to determine how often to run a service 
check, how often of re-notify a contact, etc.

*Important:* The default value for this is set to 60, which means that a 
unit value of 1 in the object configuration file will mean 60 seconds 
(1 minute). I have not really tested other values for this variable, so 
proceed at your own risk if you decide to do so!



Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
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] Re: Nagios 2.3.1, problems with perl plugins

2006-05-18 Thread Frederik Vanhee

[EMAIL PROTECTED] wrote:


Dear Folks,

I am writing to thank you for your letters and say,

 


-Original Message-
   



 


Message: 17
From: Michael =?iso-8859-1?q?H=FCttig?= 
  [EMAIL PROTECTED]

Organization: MSP
To: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] RE: Nagios 2.3.1, problems with 
perl plugins

Date: Wed, 17 May 2006 15:40:22 +0200
Cc: [EMAIL PROTECTED]

Hi Stanley,
i=B4ve posted on monday the following message. I think there 
was a problem =  with=20 embedded perl. Which perl-plugins do you use?


I just upgraded my Nagios-2.0 to nagios-2.3. Both Versions 
were compiled wi= th=20 epn-support with 
--enable-embedded-perl --with-perlcache


Runnning nagios-2.0 all checks using perl-plugins 
(check_smart,=20 check_cisco_env, check_ifoperstatus and 
others) were doing fine.


Using nagios-2.3 i got the following errors:
check_ciscoenv.pl
;Cisco environmental health;UNKNOWN;HARD;3;UNKNOWN: Unable to 
resolve=20 destination address '-c'


check_load.pl
;Load;UNKNOWN;SOFT;2;**ePN 
/usr/local/nagios/libexec/check_load.pl: Argume= nt=20  
isn't numeric in numeric lt () at (eval 12) line 61,.


check_ifoperstatus.pl
;UNKNOWN;notify-by-email;**ePN 
/usr/local/nagios/libexec/check_ifoperstatus=

:=20
Option d requires an argument.

check_smart.pl
;S.M.A.R.T-Status;UNKNOWN;SOFT;1;**ePN 
/usr/local/nagios/libexec/check_smar=

t.pl:=20
Can't exec sudo: No such file or directory at (eval 15) line 119,.

check_traffic.pl
;Traffic ISDN-Interface;CRITICAL;notify-by-email;CRITICAL: 
Could not match=  ISDN Basic Rate Interface (S0)


   



Firstly thanks to Frederick and Michael for the notification about this
serious problem.

Unfortunately the situation as I see it is,

1 I am running 2.3 not 2.3.1 and so my limited Perl plugins (home-brew)
may not be picking up the problem. Also I lack a Nagios work bench at
the
moment so its going to be slow if heavy lifting is involved as it seems.

2 A quick glance at the CVS does not seem to show any relevant changes

2.1 there appear to be no changes in checks.c near the embedded Perl
code
2.2 the change to p1.pl was only to allow plugins to return more than
one
line of output (the nagios-snmp plugins do this I think).

3 If Michael or Frederick would enable the LOGGING options in the copy
of p1.pl they use for new_mini_epn (perldoc p1.pl should help).

IIRC you want to change this p1.pl to have

use constant  DEBUG_LEVEL = LEAVE_MSG ;

and make sure the plugin log path looks Ok.

This will leave messages like

Mon Mar  6 15:43:39 2006 run_package:
/usr/lib/nagios/plugins/check_rootport -H 10.0.254.167 -N BRUSW200
returning (0, Ok. No topology change: root port of
10.0.254.167/BRUSW200 has not changed from that expected: 513. See a
href=http://nms/cgi-bin/display_spanning_tree;Current spanning tree
graph/a.
).
Mon Mar  6 15:43:39 2006 eval_file:
/usr/lib/nagios/plugins/check_rootport already successfully compiled and
file has not changed; skipping compilation.
Mon Mar  6 15:43:39 2006 run_package:
/usr/lib/nagios/plugins/check_rootport -H 10.0.254.170 -N MTASW200
returning (0, Ok. No topology change: root port of
10.0.254.170/MTASW200 has not changed from that expected: 0. See a
href=http://nms/cgi-bin/display_spanning_tree;Current spanning tree
graph/a.
).
Mon Mar  6 15:43:39 2006 run_package:
/usr/lib/nagios/plugins/check_rootport -H 10.0.254.168 -N MTASW207
returning (0, Ok. No topology change: root port of
10.0.254.168/MTASW207 has not changed from that expected: 1. See a
href=http://nms/cgi-bin/display_spanning_tree;Current spanning tree
graph/a.
).

in the log file (also named in p1.pl).

This should provide some clues.

The only quick workaround that may be worth a _try_ is to replace pl.pl
for an older one from CVS (say 1.7).
However, I am not confident.

Perhaps my installation is a bit atypical: every one of the 2.0 series
(inc betas) has 
been in prod use with either heavy or light embedded Perl without a

hitch.

The last random thought is, could you have changed Perl or
Text::ParseWords around about the
time the problem started ? This module is responsible for argument
processing and this
appears to be breaking. OTOH, if it was the culprit, all versions would
be b0rked.

Good luck,

Yours sincerely.


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=kkid0709bid3057dat1642
___
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 for the hints Stanley,

as soon as I can, 

[Nagios-users] Nagios 2.3.1, problems with perl plugins

2006-05-16 Thread Frederik Vanhee

Hello,

I just installed nagios-2.3.1, with perlcache and embedded-perl-interpreter.
Before I had Nagios-2.0rc2 with perlcache and embedded-perl-interpreter.
I'm using nagios-plugins 1.4.3
The system is running on Debian Sarge

Ever since the upgrade , I experience problems with plugins written in 
perl. p.ex


check_ntp -H xx.xx.xx.xx -w 5 -c 10

returns :

Argument (not parsed) isn't numeric in abs at ./check_ntp line 408
NTP OK: Offset 0.000927 sec, jitter (not parsed) msec, peer is stratum 2 
| offset=0.000927, jitter=0,peer_stratum=2


Any hints,

Frederik


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
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] Winpopup

2006-03-29 Thread Frederik Vanhee

Hello,

presumed smbclient is on your Nagios server, you can send messages to a 
windows-pc
Check the smbclient options, it needs -M and -I, one is the hostname of 
the pc, the other is the ip-address. I defined those values together 
with the contact definition, using the macros $CONTACTADDRESS1$ and 
$CONTACTADDRESS2$


# 'notify-by-smbclient' command definition
define command{
   command_namenotify-by-smbclient
   command_line/usr/bin/printf %b * NAGIOS  * 
automatically generated POP-UP \n\n Notification Type: 
$NOTIFICATIONTYPE$\n\nHost: $HOSTNAME$ ($HOSTALIAS$) \nAddress: 
$HOSTADDRESS$\nService: $SERVICEDESC$\nState: 
$SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional 
Info:\n\n$SERVICEOUTPUT$ | /usr/bin/smbclient -M $CONTACTADDRESS1$ -I 
$CONTACTADDRESS2$

   }

Good luck,

Frederik



Hugo Rebello wrote:


Hello Guys.

Anybody knows how can I use the winpopup ?
I´d like to receive popups from Nagios server when some problem 
happen, but I don´t know what the option I must set up in contacts.cfg 
file.

I am using the email option.

Thank you.

Cheers,
Hugo






---
This SF.Net email is sponsored by xPML, a groundbreaking scripting 
language
that extends applications into web and mobile media. Attend the live 
webcast
and join the prime developer group breaking into this new coding 
territory!

http://sel.as-us.falkag.net/sel?cmd=kkid0944bid$1720dat1642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when 
reporting any issue. ::: Messages without supporting info will risk 
being sent to /dev/null






---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid0944bid$1720dat1642
___
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] popup

2006-02-01 Thread Frederik Vanhee

Toto Capuccino wrote:


Hi all,

Does anybody got popup notifications working ?



Works like a charm ! use this as your notify-command, or tune to your 
needs
However I switched to jabber-notification (instant messaging) because of 
the rather 'aggressive' popups.


# 'notify-by-smbclient' command definition
define command{
   command_namenotify-by-smbclient
   command_line/usr/bin/printf %b * NAGIOS  * 
automatically generated POP-UP \n\n Notification Type: 
$NOTIFICATIONTYPE$\n\nHost: $HOSTNAME$ ($HOSTALIAS$) \nAddress: 
$HOSTADDRESS$\nService: $SERVICEDESC$\nState: 
$SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional 
Info:\n\n$SERVICEOUTPUT$ | /usr/bin/smbclient -M $CONTACTADDRESS1$ -I 
$CONTACTADDRESS2$

   }

where CONTACTADDRESS1 = the pc name
and CONTACTADDRESS2 = the pc's ip-address

Good luck !

Frederik


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
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] popup

2006-02-01 Thread Frederik Vanhee

Hello Toto,

jabber is really easy to set up. I followed these instructions : 
http://linuxgazette.net/112/tomar.html

The jabber server was running within an hour.
I use the notification script of David Cox, that I found on Nagiosexchange.

On the PC-side, I use GAIM to read the messages.
My end-users are very happy with that solution.

Frederik


Toto Capuccino wrote:

i wanted to avoid the winpopup too, not very user-friendly. Is Jabber 
solution easy to implement ?


2006/2/1, Frederik Vanhee [EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]:


Toto Capuccino wrote:

 Hi all,

 Does anybody got popup notifications working ?


Works like a charm ! use this as your notify-command, or tune to your
needs
However I switched to jabber-notification (instant messaging)
because of
the rather 'aggressive' popups.

# 'notify-by-smbclient' command definition
define command{
command_namenotify-by-smbclient
command_line/usr/bin/printf %b * NAGIOS  *
automatically generated POP-UP \n\n Notification Type:
$NOTIFICATIONTYPE$\n\nHost: $HOSTNAME$ ($HOSTALIAS$) \nAddress:
$HOSTADDRESS$\nService: $SERVICEDESC$\nState:
$SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional
Info:\n\n$SERVICEOUTPUT$ | /usr/bin/smbclient -M $CONTACTADDRESS1$ -I
$CONTACTADDRESS2$
}

where CONTACTADDRESS1 = the pc name
and CONTACTADDRESS2 = the pc's ip-address

Good luck !

Frederik






---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
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 + raidutil ?

2006-01-30 Thread Frederik Vanhee

Hello,

late respone, I know, but what about

chmod u+s raidutil

Then your nrpe-user can execute the command with root-priviledges.

Frederik

[EMAIL PROTECTED] wrote:

 I'm trying to monitor RAID array status using NRPE.  But I'm running 
 into minor security issues.
 
 * Adaptec 2100S RAID controller

 * CentOS 4.2
 * raidutil RPM from http://i2o.shadowconnect.com
 
 When logged directly into the system to monitor, the raidutil command 
 only works if I am root.


chmod 755 `which raidutil`

as root?

 But NRPE refuses to start if I tell it to use root as user and group. 
 (Running under xinetd, in this case)
 
 Can anyone tell me the best (most secure) way to get this working 
 properly?  This web page seems to talk about it, but in Czech...
 
 http://homel.vsb.cz/~jas02/raid/
 
 I am using an apparently custom Nagios plugin called check_dpt_raid 
 and again, it seems to run manually just fine as long as I am root. 
 (Can't remember where I got the plugin -- maybe from someone's mention 
 of it on the mailing list.  Nothing comes up when I search for the name!)


ftp://noc.hep.wisc.edu/pub/src/nagios/

?

...but I really can't help you because we don't use NRPE.
(We run check_dpt_raid via Net-SNMP's snmpd.)

steve 
- - - 
systems  network manager

high energy physics
university of wisconsin



---
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42 plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null


 





---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null


[Nagios-users] Nagios plugins voor Stratus VOS

2006-01-21 Thread Frederik Vanhee

Hello,

I wonder if anyone out there uses Stratus Continuum VOS computers ?
Would there be any interest in having plugins for monitoring them ?
I'm working on nrpe and plugins for the VOS-platform on Stratus.
If you're interested, please let me know.

Vanhee Frederik


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] nsca / distributed monitoring result problem

2006-01-18 Thread Frederik Vanhee


Hello,

is there a firewall between the central server and the distributed server ?

Frederik

basile au siris wrote:


hi
maybe i have the same problem
i have distributed monitoring and the central server sometimes freeze 
and i just

have to reboot it ( electric )
i suspect nsca ( or hardware problem ) because sometimes i note there 
are many ( 50 )

nsca process and if i restart it all become normal again
hope we solve our problem
basile


Chris Goosen wrote:


Hello all..

I am running my nagios central server on an HP 2.4ghz with 512mb ram.

At present, I am monitoring 65 hosts with approx. 400 services.

After a reboot, everything works perfectly, but the longer my server 
runs, the more sluggish it gets and eventually the nsca processes 
consume all the memory and the server stops responding. What also 
happens it that I start getting hosts that are reported as down even 
though they have the correct ping response.. the error says “PLUGIN 
TIMED OUT after 10 seconds”


Here is an example of what I mean:

Host State Information

Host Status:




DOWN

Status Information:




CRITICAL - Plugin timed out after 10 seconds

Last Status Check:




01-16-2006 12:06:28

Status Data Age:




0d 0h 2m 57s

Last State Change:




01-16-2006 10:20:44

Current State Duration:




0d 1h 48m 41s

Last Host Notification:




01-16-2006 10:20:44

Current Notification Number:




2

Is This Host Flapping?




N/A



OK 01-16-2006 12:05:47 63d 19h 30m 59s 1/3 PING OK - Packet loss = 
0%, RTA = 0.42 ms


I assume that these are related and that the lack of memory caused 
this problem, would an upgrade to from nagios 1.2 to nagios 1.3 fix 
this? If so, what is the best way to perform that upgrade?


my /etc/xinetd.d/nsca file :
# default: on
# description: NSCA
service nsca
{
flags = REUSE
socket_type = stream
wait = no
user = nagios
group = nagios
server = /usr/sbin/nsca
server_args = -c /home/e-smith/nagios/nsca.cfg --inetd
cps = 9000 30
instances = UNLIMITED
log_on_failure += USERID
disable = no
only_from = ip1, ip2, ip3, etc..
}

command_check_interval= -1

System info:

SME server 6.01 (2.4.20-18.7, i686)

Perl v5.6.1

Apache/1.3.27

Nagios 1.2

Any advice would be great… thanks.

Chris





---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log 
files

for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37alloc_id865op=click
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when 
reporting any issue. ::: Messages without supporting info will risk 
being sent to /dev/null






---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid3432bid#0486dat1642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue.
::: Messages without supporting info will risk being sent to /dev/null


[Nagios-users] Problem reading configuration 2.0rc1-2 versus 2.0b3

2006-01-12 Thread Frederik Vanhee

Hello,

I'm running a Nagios install for quite some time, first Nagios 1.2 then 
migrated to Nagios 2.

Everytime there's a new version, I try to follow.

Latest beta version I installed was 2.0b3 and everything ran fine.

Now I upgraded to Nagios 2.0rc1 and 2.0rc2 and both have a problem with 
some of my template-based host-definitions.
Is this a known issue (I saw something about host-definitions in the 
2.0rc2 changelog, but it was not very clear to me what it was about) ?


Thanks for any suggestions.

Frederik


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
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