Re: [Nagios-users] Help with active web testing

2009-05-14 Thread Johannes Dagemark
one way to go is to take a look at selenium and write a wrapper plugin 
for it.

Cheers
Johannes

Todd Nine wrote:
 Hi all,
   I've been using nagios for a while, and we're needing to perform 
 more active testing on our site than simply HTTP GET and POST 
 operations.  I'm looking for a plugin to Nagios that can execute steps 
 and report that assertions passed or failed.  I took at look at web 
 inject, but we can only use it on a handful of our pages as Javascript 
 isn't supported.  A lot of our pages update using Prototype and 
 dynamic lists, so this won't allow us to create all the transactions 
 we want.  Does anyone know of anything that can use xulrunner to load 
 the firefox engine and report back to nagios?

 Thanks,


 todd
 SENIOR SOFTWARE ENGINEER

 todd nine | spidertracks ltd |  117a the square
 po box 5203 | palmerston north 4441 | new zealand
 P: +64 6 353 3395 | M: +64 21 
 E: t...@spidertracks.co.nz 
 mailto:t...@spidertracks.co.nz W: www.spidertracks.com 
 http://www.spidertracks.com

 

 --
 The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
 production scanning environment may not be a perfect world - but thanks to
 Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
 Series Scanner you'll get full speed at 300 dpi even with all image 
 processing features enabled. http://p.sf.net/sfu/kodak-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


-- 
Johannes Dagemark
CTO / VP Engineering


op5 AB
Första Långgatan 19
SE-413 27 Gothenburg
cell: +46 733-70 90 24
fax:  +46 31-774 04 32
Email: j...@op5.com
http://www.op5.com/


--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-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] Help with active web testing

2009-05-14 Thread Jim Avery
2009/5/14 Todd Nine t...@spidertracks.co.nz:
 Hi all,
   I've been using nagios for a while, and we're needing to perform more
 active testing on our site than simply HTTP GET and POST operations.  I'm
 looking for a plugin to Nagios that can execute steps and report that
 assertions passed or failed.  I took at look at web inject, but we can only
 use it on a handful of our pages as Javascript isn't supported.  A lot of
 our pages update using Prototype and dynamic lists, so this won't allow us
 to create all the transactions we want.  Does anyone know of anything that
 can use xulrunner to load the firefox engine and report back to nagios?
 Thanks,

I believe WebInject is often used for this, but haven't tried it myself (yet).

Cheers,

Jim

--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-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] Upgrade from 1.3 version to 3+

2009-05-14 Thread Jim Avery
2009/5/14 James Pratt jpr...@norwich.edu:
 First, I'd rebuild a new linux server to run it on and get the latest
 version running, even if it's only checking localhost and emailing me.

 Examine very closely *all* old config files, figure out your old
 installation and what checks will replace (if necessary) the older ones
 from nagios-plugins standard programs, or if you  may need custom
 plugins from nagiosexchange.org

 Slowly rebuild the old configuration into the new, testing (and
 improving/learning) as you go.

 (that's just me though). ;)


Me too :-)  I took that approach moving from 2.7 to 3.0.  It took a
while with 1700 or so hosts, but I feel the effort was worth it as
I've been able to take advantage of most of the new features in Nagios
3 and tidy up my config in the process.  I also took the opportunity
to move to Ubuntu LTS so hopefully I won't need to do a Linux upgrade
for a while.

I recommend maybe getting hold of one of the recent published books on
Nagios 3.  Nagios 3 Enterprise Network Monitoring published by
Syngress has a comprehensive section on what's new in Nagios 3 which I
found invaluable.  Otherwise I always highly recommend Nagios by
Wolfgang Barth 2nd Ed. published by NoStarch Press.

Cheers,

Jim

--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-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


[Nagios-users] Plugin for AIX

2009-05-14 Thread Ales Rikovsky
Please.
Do exist any plugins for AIX performance (CPU, memory, disk usage...)
measuring?

 Thank you.

  Ales

--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-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 escalations registering, but not enforcing

2009-05-14 Thread Marc Powell

On May 13, 2009, at 5:43 PM, Bruce Thayre wrote:

 So i've also tested this problem with host escalations, and i have  
 seen
 the same behavior.  Despite whatever settings i put into my host
 escalations, or my host definitions, i'm still receiving notifications
 every 30 minutes, any ideas?

Did you change interval_length in nagios.cfg to be 0.5?
Do you see the expected value for notification_interval in  
objects.cache?
Do you have multiple nagios daemons running at the same time?

--
Marc

--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-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


[Nagios-users] retained_service_attribute_mask and other alike config options : do they really work ??

2009-05-14 Thread SCHAER Frederic
Hi,

 

I'm facing a strange problem.

 

I have in my definitions services for which notifications are disabled :
I'm still running those services on all nodes because it gives me
indication something went wrong on all nodes.

I recently had to suppress notifications for all services of a
hostgroups because of a general failure on those hosts, and problem is
that when I used the nagios CGIs to re-enable the service notifications,
notifications for those services I really don't want any notification
got enabled too... and I had to disable all those notifications in that
hostgroup again using the CGIs (I hope you follow).

 

So now I'm wondering how could I fix the situation, and restore things
to normal (i.e : according to services config file) without loosing all
services current state.

I just tried to use the following in my nagios 3.1 config file.

 

retained_service_attribute_mask=1

retained_process_service_attribute_mask=1

 

Tried that, because it looks like the correct value to use according to
include/common.h is :

#define MODATTR_NOTIFICATIONS_ENABLED   1

 

(by the way : what's the real difference between those 2 variables ? I
can't understand the real difference reading the documentation)

Anyway : this didn't work. Services are still disabled on restart or
reload.

 

I then tried this :

retained_service_attribute_mask=MODATTR_NOTIFICATIONS_ENABLED

retained_process_service_attribute_mask=MODATTR_NOTIFICATIONS_ENABLED

 

I know values are wrong, but nothing prevented nagios from restarting.
And off course it still didn't work, services notifications are still
disabled.

So what ?

Are these configuration option really implemented ?

I'm trying to look into the code, and I don't see anywhere the values
defined in the code being used :

 

nagios-3.1.0]$ grep -r retained_service_attribute_mask *

base/nagios.c:unsigned long   retained_service_attribute_mask=0L;

base/utils.c:extern unsigned long retained_service_attribute_mask;

base/utils.c:   retained_service_attribute_mask=0L;

base/config.c:extern unsigned long retained_service_attribute_mask;

base/config.c:  else
if(!strcmp(variable,retained_service_attribute_mask))

base/config.c:
retained_service_attribute_mask=strtoul(value,NULL,0);

 

(and then, only html files)

 

...

 

So the C variable wouldn't be used at all ?

Am I missing something ?

Thanks  regards

--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-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] Upgrade from 1.3 version to 3+

2009-05-14 Thread Marc Powell

On May 13, 2009, at 3:33 PM, venu_vustipa...@readersdigest.com wrote:


 Anyone please let me know what is the best way to proceed for a  
 beginner to upgrade Nagios 1.3 version on Linux to the 3+

There's no easy-to-follow document for this migration that I know of.  
You're likely to find much discussion of the 1.x - 2.x migration and  
2.x - 3.x  in the archives but you'll need to go pretty far back (4-5  
years for migration to 2.x).

My suggestion would be install the base nagios-3 software, configure  
nagios.cfg, resource.cfg and cgi.cfg by reading through them and  
setting appropriate values; most should be the same as your current  
install. Then to move your actual host and service definitions, read  
the What's New and Changelog for nagios-2 and make the changes noted  
there (mostly to object definitions and macros), then the same for  
nagios-3.

--
Marc


--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-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


[Nagios-users] NRPE-Plugins for Linux / AIX with performance data

2009-05-14 Thread postfix
Hello,

 

I’m searching for NRPE-Plugins for Linux / AIX including Performance Data.
Are there any plugins out there? I have found some modified for Windows but
not for Linux.

 

 

Thank you

 

Best Regards

Markus W.

 

--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-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] Trac/Nagios integration

2009-05-14 Thread Hari Sekhon
John Andrunas wrote:
 The company I work for uses Trac quite heavily, and I was recently
 tasked with getting Nagios up and running to replace our current
 monitoring system, I was wondering if anyone had done any kind of
 trac/nagios integration that would allow creation of a trac ticket
 from a nagios alert?  I did some searching but didn't come up with
 anything.
   
A bit of creative scripting could make this work, if you deem it worth 
the time. You'd need to look at either your notification commands or 
some kind of event handlers. I tend to write event handlers for 
reactionary stuff like this, as I think it's the better choice.

Don't know of anything that is ready made to do it off the top of my 
head. I use Trac, but again it's not that important compared to 
everything else I do, so I haven't bothered with this as I find the 
ticket bureaucracy slows me down.

-h

-- 
Hari Sekhon
Always open to interesting opportunities
http://www.linkedin.com/in/harisekhon


--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-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] NRPE-Plugins for Linux / AIX with performance data

2009-05-14 Thread Jim Avery
2009/5/14  post...@weingaertner-ukro.de:
 I’m searching for NRPE-Plugins for Linux / AIX including Performance Data.
 Are there any plugins out there? I have found some modified for Windows but
 not for Linux.


You'll find most of what you need on Monitoring Exchange.  In
particular for AIX 5.3, look at
http://www.monitoringexchange.org/cgi-bin/page.cgi?g=Detailed%2F1438.html;d=1

The plugins for nrpe are the same as the ones you would use for Nagios
itself - you just need to make sure they're compiled to run on
whatever the target architecture is (which IME is easier said than
done on AIX!).

Cheers,

Jim

--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-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] Plugin for AIX

2009-05-14 Thread Jim Avery
2009/5/14 Ales Rikovsky ales.rikov...@upol.cz:
 Please.
 Do exist any plugins for AIX performance (CPU, memory, disk usage...)
 measuring?

  Thank you.

          Ales


Yes, you'll find various plugins for AIX on Monitoring Exchange.  In
particular you'll find nrpe and various compiled plugins for AIX 5.3
at:
 http://www.monitoringexchange.org/cgi-bin/page.cgi?g=Detailed%2F1438.html;d=1

hth,

Jim

--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-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


[Nagios-users] Different configurations for backup times

2009-05-14 Thread Mark Krenz

  Hi, I recently reconfigured my nagios setup to monitor a lot more
things on my servers and its mostly working ok, but I'm running into
issues where I'm getting tons of notifictions during times that backups
are running.  Which is overnight of course.  The notifications happen
because the load on each machine will go up and sometimes a TCP
connection will fail for a few minutes.  I realize that this is really a
problem I need to deal with on my servers and I'm working on that too,
but I was wondering how I could tell nagios to be less agreesive
overnight. 

 From reading docs and looking at configuration files, I can only see
that I'd need to duplicate all my host and service entries so that they
notify a different contact group that has a different contact schedule.
Is this right or is there another better way?


-- 
Mark S. Krenz
IT Director
Suso Technology Services, Inc.
http://suso.org/

--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-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


[Nagios-users] Nagios 3 - Migration to mysql

2009-05-14 Thread Harald Böhmecke
Hi,

I have a productive Nagios instance with 200 clients and 1200 Services.

PNP4Nagios is also installed and working.

Actually everything is working just fine, except the machine has a 75-100% CPU 
Load, although I have already tweaked around the settings.

I want Nagios to have a mysql backend on another server so that the CPU Load 
decreases as other (also critical) services are currently running on this 
machine, which are starting to show errors.

Question is:

- How do I migrate the existing performance data to the mysql database (I have 
very little knowledge of databases)

- What is the command to send the performance data to the mysql database

- PNP4Nagios: How do I tell PNP4Nagios to pull its performance data from the 
mysql database


I have found very little information about this, so any help is greatly 
appreciated.


Regards,

Harald
--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-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

[Nagios-users] Antwort: Nagios 3 - Migration to mysql

2009-05-14 Thread Sascha . Runschke
 Actually everything is working just fine, except the machine has a 
 75-100% CPU Load, although I have already tweaked around the settings.
 
 I want Nagios to have a mysql backend on another server so that the 
 CPU Load decreases as other (also critical) services are currently 
 running on this machine, which are starting to show errors.
 
 Question is:
 
 - How do I migrate the existing performance data to the mysql 
 database (I have very little knowledge of databases)

You can't unless you are already logging performance data into mysql.
Nagios itself does not log performance data at all.

 - What is the command to send the performance data to the mysql database

Use the NDO Utils. Google is your friend.
Otherwise you need to dump the RRD databases of PNP and import
that into mysql with a script - but that script you need to write
yourself I guess.

 - PNP4Nagios: How do I tell PNP4Nagios to pull its performance data 
 from the mysql database

You can't. PNP4Nagios stores its data in RRD databases. There is no
way to push it into a mysql DB and on the other hand, it wouldn't make
sense either for PNP.

 I have found very little information about this, so any help is 
 greatly appreciated.

I guess that's mainly since you misunderstood something. Nagios
naturally doesn't have the need a mysql backend. Nagios does have the
NDO Utils, which store realtime and historical data in a mysql DB, but
that's only for third-party applications that need that data. Mainly
there is nagiosgrapher and nagvis, maybe NagiosBP.

On a sidenote: it's a bad, bad idea to have critical services
running on your monitoring server. Service monitoring is always
stressing the machine when your installation is not exactly small
and you check often.

Conclusions:

- get a bigger server
- get faster storage
- move the other services from your nagios server

Regards
Sascha



GFKL Financial Services AG
Vorstand: Dr. Peter Jänsch (Vors.), Jürgen Baltes, Dr. Tom Haverkamp
Vorsitzender des Aufsichtsrats: Dr. Georg F. Thoma
Sitz: Limbecker Platz 1, 45127 Essen, Amtsgericht Essen, HRB 13522

--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-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] Poller errors

2009-05-14 Thread Marc Powell

On May 14, 2009, at 8:06 AM, Andrew Davis wrote:

 I'm seeing items very similar to the one below in our log files  
 quite frequently:

 nagios: Warning: Service performance data file processing command '/ 
 bin/mv /var/nagios/service-perfdata /var/nagios/perfspool/service- 
 perfdata-1241945165' timed out after 5 seconds

 Anyone know what the cause is and perhaps the solution?

For some reason, it's taking longer than 5 seconds for /bin/mv to  
finish. Is the box heavily loaded (top, etc)? Are the disks  
extraordinarily busy (iostat, sar, etc)?

 It appears there's a 5 second timeout defined somewhere, but I can't  
 seem to find it anywhere...

[~nagios/etc] $ grep timeout nagios.cfg
service_check_timeout=60
host_check_timeout=30
event_handler_timeout=30
notification_timeout=30
ocsp_timeout=5
perfdata_timeout=5 

--
Marc



--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-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] Poller errors

2009-05-14 Thread Andrew Davis
The box does indeed have some load on it... hence my other performance 
tuning request to the list. At present, its running Nagios, mySQL, and 
Cacti with Cacti polling approx 1500 devices every 5 minutes. Its a 
fairly good server, but the disk I/O has been problematic on occasion. I 
think I'll up the timeout to 30 seconds and watch the load.


 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



Marc Powell wrote:

On May 14, 2009, at 8:06 AM, Andrew Davis wrote:

  
I'm seeing items very similar to the one below in our log files  
quite frequently:


nagios: Warning: Service performance data file processing command '/ 
bin/mv /var/nagios/service-perfdata /var/nagios/perfspool/service- 
perfdata-1241945165' timed out after 5 seconds


Anyone know what the cause is and perhaps the solution?



For some reason, it's taking longer than 5 seconds for /bin/mv to  
finish. Is the box heavily loaded (top, etc)? Are the disks  
extraordinarily busy (iostat, sar, etc)?


  
It appears there's a 5 second timeout defined somewhere, but I can't  
seem to find it anywhere...



[~nagios/etc] $ grep timeout nagios.cfg
service_check_timeout=60
host_check_timeout=30
event_handler_timeout=30
notification_timeout=30
ocsp_timeout=5
perfdata_timeout=5 

--
Marc



--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-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
  
--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-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

[Nagios-users] Concise list of best overall performance tweaks

2009-05-14 Thread Andrew Davis
If running the latest version(s) of Nagios and the plugins, using mysql, 
and gathering trending info, is there a list available of the best 
performance tweaks one can make? I seem to read a lot that mySQL is a 
resource whore when also on the Nagios server. Some have commented on 
seeing significant increases when moving it elsewhere. Others have 
mentioned adding lines like innodb_flush_log_at_trx_commit = 2 into 
the mysql config file, while others have also mentioned database 
indexes, etc. Of course, for non-DBA's, knowing which databases to 
create indexes on (or how to do it without mucking it up) are up for 
debate. Log file rotation is always a good one, but this seems to be 
built into Nagios 3.x, though I've read of people running Cacti on their 
Nagios server as well and Cacti has no default log rotation. So... 
perhaps everyone could include the steps they took to resolve various 
performance issues... perhaps also including the actual steps taken (ie: 
if making indexes, which ones and why) and we can cull them into the 
Nagios wiki on NagiosExchange?


--


 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

--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-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 3 - Migration to mysql

2009-05-14 Thread Marc Powell

On May 14, 2009, at 8:10 AM, Harald Böhmecke wrote:

 Hi,

 I have a productive Nagios instance with 200 clients and 1200  
 Services.

 PNP4Nagios is also installed and working.

 Actually everything is working just fine, except the machine has a  
 75-100% CPU Load, although I have already tweaked around the settings.

75-100% cpu load isn't necessarily bad. What's the load average and  
specs for the box? What do you see in top using the CPU the most/most  
often? With 1200 services and assuming checks every 5 minutes, any  
machine in the last decade should be able to handle that. Are you sure  
it's nagios that's the problem?

 I want Nagios to have a mysql backend on another server so that the  
 CPU Load decreases as other (also critical) services are currently  
 running on this machine, which are starting to show errors.

This won't help since nagios doesn't use a mysql backend. If you add  
NDOUtils to do this, it's only adding processing, not replacing any  
processing.

 - How do I migrate the existing performance data to the mysql  
 database (I have very little knowledge of databases)

You'd have to dump all the RRD databases (man rrddump), munge that  
data and insert it into the DB. It won't help though because of (3)  
below...

 - What is the command to send the performance data to the mysql  
 database

This is complex and beyond the scope of this list. It's also pretty  
much unrelated to nagios. It won't help though because...

 - PNP4Nagios: How do I tell PNP4Nagios to pull its performance data  
 from the mysql database

PNP4Nagios doesn't appear to support storing or reading performance  
data from a database.

--
Marc


--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-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] Different configurations for backup times

2009-05-14 Thread Eric Pearce
I had a similar problem with my backups, as they looked like a disk problem 
to the nagios plugin.  I turn off notifications before the backup:

/usr/bin/su - nagios -c /usr/local/bin/wget --quiet -O - --post-data 
'cmd_typ=23cmd_mod=2host=yourhostservice=yourservicebtnSubmit=Commit' 
http://nagioserver/nagios/cgi-bin/cmd.cgi

and then turn them back on when it is done:

+ /usr/bin/su - nagios -c /usr/local/bin/wget --quiet -O - --post-data 
'cmd_typ=22cmd_mod=2host=yourhostservice=yourservicebtnSubmit=Commit' 
http://nagiosserver/nagios/cgi-bin/cmd.cgi

password is stored in .wgetrc

The other advantage of this is that the backup time can vary, and you don't 
have to change anything on the Nagios server.  The client knows best when it 
is running a backup.

-e

- Original Message - 
From: Mark Krenz m...@suso.org
To: nagios-users@lists.sourceforge.net
Sent: Thursday, May 14, 2009 6:07 AM
Subject: [Nagios-users] Different configurations for backup times



  Hi, I recently reconfigured my nagios setup to monitor a lot more
 things on my servers and its mostly working ok, but I'm running into
 issues where I'm getting tons of notifictions during times that backups
 are running.  Which is overnight of course.  The notifications happen
 because the load on each machine will go up and sometimes a TCP
 connection will fail for a few minutes.  I realize that this is really a
 problem I need to deal with on my servers and I'm working on that too,
 but I was wondering how I could tell nagios to be less agreesive
 overnight.

 From reading docs and looking at configuration files, I can only see
 that I'd need to duplicate all my host and service entries so that they
 notify a different contact group that has a different contact schedule.
 Is this right or is there another better way?


 -- 
 Mark S. Krenz
 IT Director
 Suso Technology Services, Inc.
 http://suso.org/

 --
 The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
 production scanning environment may not be a perfect world - but thanks to
 Kodak, there's a perfect scanner to get the job done! With the NEW KODAK 
 i700
 Series Scanner you'll get full speed at 300 dpi even with all image
 processing features enabled. http://p.sf.net/sfu/kodak-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
 


--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-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 3 - Migration to mysql

2009-05-14 Thread Andrew Davis
Plus, for what its worth, on most systems these days you can move an HD 
to another system with more CPU/RAM which would negate the muck up all 
the Nagios stuff.


Virtualization is an alternative as well. We run Nagios and Cacti on one 
server and four instances of Splunk on four other servers. Last month, 
we used VMWare's P2V tool to make all five physical servers virtual, 
then moved them to a a Sun X4100 running ESXi. The only cost was the 
server. The overall load of each individual virtual server is under 50% 
and the ESXi box itself is sitting at only 30% load.


If disk space is an issue, another alternative is to clone the HD(s), 
then perhaps move to another server (in the case of going to IDE or SATA 
to SAS or SCSI, this is likely a must).


 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



Marc Powell wrote:

On May 14, 2009, at 8:10 AM, Harald Böhmecke wrote:

  

Hi,

I have a productive Nagios instance with 200 clients and 1200  
Services.


PNP4Nagios is also installed and working.

Actually everything is working just fine, except the machine has a  
75-100% CPU Load, although I have already tweaked around the settings.



75-100% cpu load isn't necessarily bad. What's the load average and  
specs for the box? What do you see in top using the CPU the most/most  
often? With 1200 services and assuming checks every 5 minutes, any  
machine in the last decade should be able to handle that. Are you sure  
it's nagios that's the problem?


  
I want Nagios to have a mysql backend on another server so that the  
CPU Load decreases as other (also critical) services are currently  
running on this machine, which are starting to show errors.



This won't help since nagios doesn't use a mysql backend. If you add  
NDOUtils to do this, it's only adding processing, not replacing any  
processing.


  
- How do I migrate the existing performance data to the mysql  
database (I have very little knowledge of databases)



You'd have to dump all the RRD databases (man rrddump), munge that  
data and insert it into the DB. It won't help though because of (3)  
below...


  
- What is the command to send the performance data to the mysql  
database



This is complex and beyond the scope of this list. It's also pretty  
much unrelated to nagios. It won't help though because...


  
- PNP4Nagios: How do I tell PNP4Nagios to pull its performance data  
from the mysql database



PNP4Nagios doesn't appear to support storing or reading performance  
data from a database.


--
Marc


--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-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
  
--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-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

[Nagios-users] Distributed and Redondant Nagios

2009-05-14 Thread Jean Meunier
Good Afternoon,

I search documentations, best practice or write book in order to set-up a
monitoring system with Nagios in 4 Datacenter.

Actually I think i will deploy 2 Nagios Daemon as Master (they will received
event states with ncsa, all the services will be declared in passive mode)
in two datacenter and 4 Nagios as collector. They will execute commands and
send events to Master Nagios.

Actually I would like to know :

- How the two master daemon can be redondant ? (active / active) (active /
passive) How to share state in real time between the two ?

- When the link between a master and collector Nagios is lost or a collector
Nagios is Lost. I would like the master nagios exectute checks. but the
parents hosts are not the sames becauses these two nagios are not in the
same Network / DC. I don't know how can I solve this.

In a other way I would like to have all my configuration in a database in
order to have the possibility of regeneration configuration, and simplify
management After many search I'havent find tools or software wich allow this
kind of architecture, with multiple master or collector. Provide all
parameters of definitions services and hosts and provide differents view on
collectors and Master

Thnks for your answers,

Regards
--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-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 3 - Migration to mysql

2009-05-14 Thread Harald Böhmecke
Thank you Marc and Sasha for the feedback. It is now clear to me that no
mysql backend is needed to decrease CPU Load.

Thanks for the tips on PNP4Nagios. 

To answer some of your questions:

- System Load is 3.5 on the 15 min counter.
- System specs:
Its a VM running on a DL585 with 32GB of RAM. 4 Opteron Processors. The
VM is currently 32-bit and is assigned 2 processors and 3,6GB RAM.
We have other low-demainding VMs running on the same machine.
- Top is always Nagios:
 4641 nagios25   5 21684  10m 2440 S   15  0.3   2688:24 nagios3
15%CPU - 0.3 RAM
- Checks are every 5 mins
- I am certain Nagios is not the main problem, but I am currently
looking into lowering System Load/CPU usage.

The other Services we have currently running on the same machine have
very much to do with monitoring and the idea was to place them all in
one. Bosses love the word centralized.

Anyway, I got the answers I needed.

Kindest regards to all,

Harald



-Original Message-
From: Marc Powell m...@ena.com
To: Nagios Users nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] Nagios 3 - Migration to mysql
Date: Thu, 14 May 2009 09:55:57 -0500


On May 14, 2009, at 8:10 AM, Harald Böhmecke wrote:

 Hi,

 I have a productive Nagios instance with 200 clients and 1200  
 Services.

 PNP4Nagios is also installed and working.

 Actually everything is working just fine, except the machine has a  
 75-100% CPU Load, although I have already tweaked around the settings.

75-100% cpu load isn't necessarily bad. What's the load average and  
specs for the box? What do you see in top using the CPU the most/most  
often? With 1200 services and assuming checks every 5 minutes, any  
machine in the last decade should be able to handle that. Are you sure  
it's nagios that's the problem?

 I want Nagios to have a mysql backend on another server so that the  
 CPU Load decreases as other (also critical) services are currently  
 running on this machine, which are starting to show errors.

This won't help since nagios doesn't use a mysql backend. If you add  
NDOUtils to do this, it's only adding processing, not replacing any  
processing.

 - How do I migrate the existing performance data to the mysql  
 database (I have very little knowledge of databases)

You'd have to dump all the RRD databases (man rrddump), munge that  
data and insert it into the DB. It won't help though because of (3)  
below...

 - What is the command to send the performance data to the mysql  
 database

This is complex and beyond the scope of this list. It's also pretty  
much unrelated to nagios. It won't help though because...

 - PNP4Nagios: How do I tell PNP4Nagios to pull its performance data  
 from the mysql database

PNP4Nagios doesn't appear to support storing or reading performance  
data from a database.

--
Marc


--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-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
--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-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

[Nagios-users] Benifits from version 3 compared to 1.3

2009-05-14 Thread venu_vustipalli
Can anyone tell me the benifits/features in the Nagios version 3 when we 
compared to version 1.3. 
I know the latest version is always better but, Just trying to see if it's 
worth the effort.

Thanks,
Venu--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-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

[Nagios-users] Checking SAP not running SAP CCMS

2009-05-14 Thread Ales Rikovsky
Hello,

I'm trying to monitor SAP and it's enough for my purposes to log in
using username and password to declare system to be running. I don;t
want to run CCMS on SAP machine.

I've reached first step
I have command definition in commands.cfg:

command_line$USER1$/check_sap_cons $ARG1$ $ARG2$


and service definition in localhost.cfg:

check_command   check_sap_cons!BCE BCE

Well, when I run the adequate command from command line, I'm getting
message:

No information gathered! system up?

The same status is in HTML outup screen:

SAP1CRITICAL05-14-2009 21:11:04 0d 0h 58m 42s   4/4 No 
information
gathered! System up?


The result is, that system is announced as not running.

Is there any possibility to get OK status so the system looks like
OK runnig... or so?

Without CCMS?

THANK YOU

Ales

-- 
Ales Rikovsky, CVT UP
+420 585631826
ales.rikov...@upol.cz
Biskupske nam. 1
771 11 Olomouc

--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-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] Benifits from version 3 compared to 1.3

2009-05-14 Thread Marc Powell

On May 14, 2009, at 1:21 PM, venu_vustipa...@readersdigest.com wrote:


 Can anyone tell me the benifits/features in the Nagios version 3  
 when we compared to version 1.3.
 I know the latest version is always better but, Just trying to see  
 if it's worth the effort.

If you're asking this question, you should upgrade. It's telling that  
you do not know how to find this out yourself ;) . For no other  
reason, the longer you wait --
- the more capable you must be to support yourself. There are likely  
to be few people here that used 1.3, let alone remember specific  
details about it to help support you. The longer you wait, the fewer  
there are.
- the more difficult it will become to convert your existing system  
to the new version. There are required configuration changes for each  
version. The greater the difference between versions, the more complex  
it becomes.

If your comfortable with those, then in brief--
- Bug fixes too numerous to count
- Significant performance improvements, especially for larger sites.
- Active host checks are no longer detrimental (but still aren't  
required)
- Multi-line plugin output is supported
- much improved timeperiod definitions/flexibility
- Native DB support dropped
- Event Broker API added
- Regex support within config files.

For a more complete list, see the 'What's New' documentation for each  
version at http://www.nagios.org/docs/ (click the HTML link for each  
version).

--
Marc


--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-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


[Nagios-users] socket timeout after 20 sec

2009-05-14 Thread Anirudh Srinivasan
 Hey Folks,

I know  socket timeout after 20 sec has been discussed so many time in all
the forums and post, but still this is not so clear to me.

Nagios server : RHEL 5

NC_NET used on Windows server.

In startup.cfg the port is 12489 and the ip_passive is ip address of the
nagios server.

Even through the Linux cli i get the same error

./check_nt -H ip_windows_server -v FREEDISKSPACE -l C -w 80 -c 90 -p 1248
-t 50
CRITICAL - socket timeout after 50 sec

I really have been breaking my head on this. Please suggest some idea or
your experience


-- 
Anirudh
--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-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] socket timeout after 20 sec

2009-05-14 Thread Andreas Ericsson
Anirudh Srinivasan wrote:
  Hey Folks,
 
 I know  socket timeout after 20 sec has been discussed so many time in all
 the forums and post, but still this is not so clear to me.
 
 Nagios server : RHEL 5
 
 NC_NET used on Windows server.
 
 In startup.cfg the port is 12489 and the ip_passive is ip address of the
 nagios server.
 
 Even through the Linux cli i get the same error
 
 ./check_nt -H ip_windows_server -v FREEDISKSPACE -l C -w 80 -c 90 -p 1248
 -t 50
 CRITICAL - socket timeout after 50 sec
 
 I really have been breaking my head on this. Please suggest some idea or
 your experience
 

There is a firewall blocking the traffic somewhere along the way, or you
have managed to build a cyclic token-ring network (if you don't know what
those are, consider yourself lucky and look over your firewalls).

-- 
Andreas Ericsson   andreas.erics...@op5.se
OP5 AB www.op5.se
Tel: +46 8-230225  Fax: +46 8-230231

Register now for Nordic Meet on Nagios, June 3-4 in Stockholm
 http://nordicmeetonnagios.op5.org/

Considering the successes of the wars on alcohol, poverty, drugs and
terror, I think we should give some serious thought to declaring war
on peace.

--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-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] Upgrade from 1.3 version to 3+

2009-05-14 Thread Jim Avery
2009/5/14  venu_vustipa...@readersdigest.com:

 Can anyone tell me the benifits/features in the Nagios version 3 when we
 compared to version 1.3.

I'm too young to remember version 1.3!

 I know the latest version is always better but, Just trying to see if it's
 worth the effort.

Where can I start??

Here's my personal favourite features of 3 over 2 :

Templates, inheritance and suchlike are a whole lot better in 3, so
you can create a much leaner set of config files.  Especially you no
longer need to specify seperate hostextinfo and serviceextinfo
definitions.  This for me has halved the time it takes to add new
hosts  services in many cases.

A huge difference is that host checks can now be run in parallel.
This for me means Nagios can cope okay during a major outage (although
I'm pleased to report we haven't had any of those since I upgraded to
3 except planned ones).

There are lots of other diferences, but those are the ones which have
made the biggest difference to me.

Another thing well worth noting is that there are lots of really great
add-ons for Nagios and you won't be able to try most of them unless
you upgrade.  IMO, PNP is an absolutely must-have and is just
oh-so-easy to install.  It gets even better when combined with DRRAW.
NagVis is absolutely brilliant for doing dashboards (if that's what
you want).  NexSM is a great replacement for the network map -
especially if you have more than a couple of dozen hosts.

And lastly, now that you know how brilliant Nagios 3 (with addons) is,
if you don't upgrade then everyone here will question your sanity!
:-)

hth,

Jim

--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-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] socket timeout after 20 sec

2009-05-14 Thread Jayson Broughton
Try opening a telnet session to that port (to test the firewall theory)
telnet ip_windows_server 1248

you should get:
Trying ip address
Connected to ip address.
Escape Character is '^\]'.


Then Ctl-C to exit out of it (if your in linux that's what it looks like)

50 Seconds is pretty long.  I have a server that is monitored by nagios,
2000+ miles away and 14 traceroute hops.  It was taking longer than 20
seconds, so I set it to 60 seconds, and it takes ~30seconds..so I just
doubled in case of network latency.

~Jayson


-Original Message-
From: Andreas Ericsson [mailto:a...@op5.se] 
Sent: Thursday, May 14, 2009 1:33 PM
To: Anirudh Srinivasan
Cc: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] socket timeout after 20 sec

Anirudh Srinivasan wrote:
  Hey Folks,
 
 I know  socket timeout after 20 sec has been discussed so many time in
all
 the forums and post, but still this is not so clear to me.
 
 Nagios server : RHEL 5
 
 NC_NET used on Windows server.
 
 In startup.cfg the port is 12489 and the ip_passive is ip address of the
 nagios server.
 
 Even through the Linux cli i get the same error
 
 ./check_nt -H ip_windows_server -v FREEDISKSPACE -l C -w 80 -c 90 -p
1248
 -t 50
 CRITICAL - socket timeout after 50 sec
 
 I really have been breaking my head on this. Please suggest some idea or
 your experience
 

There is a firewall blocking the traffic somewhere along the way, or you
have managed to build a cyclic token-ring network (if you don't know what
those are, consider yourself lucky and look over your firewalls).

-- 
Andreas Ericsson   andreas.erics...@op5.se
OP5 AB www.op5.se
Tel: +46 8-230225  Fax: +46 8-230231

Register now for Nordic Meet on Nagios, June 3-4 in Stockholm
 http://nordicmeetonnagios.op5.org/

Considering the successes of the wars on alcohol, poverty, drugs and
terror, I think we should give some serious thought to declaring war
on peace.


--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK
i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-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
The information in this electronic mail message and any attached files is 
confidential and may be legally privileged.  If you are not the intended 
recipient, delete this message and contact the sender immediately.  Access to 
this message by anyone other than its intended recipient is unauthorized.  You 
must not use or disseminate this information as it is proprietary property of 
the True companies.  Communications on or through the True companies' computer 
systems may be monitored or recorded to secure effective system operation and 
for other lawful purposes.  Thank you.


--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-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 3 - Migration to mysql

2009-05-14 Thread Jim Avery
I can't help wondering if you're running all your checks at 1-minute intervals?

If you're not doing so already, you might like to consider running
your less time-critical checks at 5-minute intervals or more.

hth,

Jim

--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-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