Re: [Nagios-users] Custom Cfg files?

2008-06-26 Thread Hugo van der Kooij
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Shoaibi wrote:
| What if i create my config files and want to use them instead of the
| default files?
|
| Like suppose:
| Default files are:
| contact.cfg
| template.cfg
| commands.cfg
| localhost.cfg
|
| and i want to create files like:
| test_contact.cfg
| test_template.cfg
| test_commands.cfg
| test_localhost.cfg
|
| and want to use these, even if those files exist?
| Or should i change data in those files?

Nagios allows you great flexibility. I define config directories for my
hosts, services, . Then adding  host is adding another file in the
hosts subdirectory.

You can do this in dozens of ways with 1 big config file, or dozens of
small ones, or just a hand full.

Hugo.

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

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

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

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

iD8DBQFIY1kQBvzDRVjxmYERAn+yAJ4tcNQJkjCD3ihZE9vAC/GWd9DjVACggiQO
nl3egLPM5iWO+VyI3BRgXn0=
=TBfV
-END PGP SIGNATURE-

-
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] Check_mrtgtraf

2008-06-26 Thread Steffen Knauf

> 
> * What I don´t understand is that when I use:*
> 
> ./check_mrtgtraf -F /var/www/mrtg/memswap.log -a MAX
> 
> * I get this answer:*
> 
> Traffic CRITICAL - Max. In = 217.0 B/s, Max. Out = 0.0 
> B/s|in=217.00B/s;;;0.00
> in=0.00B/s;;;0.00
> 
> * So, How do I translate this to the correct syntax in check_mrtgtraf! ...*
> 

I think there is a small bug in the plugin. The second "in" is wrong.
It's out:
in=217.00B/s;;;0.00 out=0.00B/s;;;0.00

A user in a german forum make the revised sourcecode available:

http://www.nagios-portal.org/wbb/index.php?page=Thread&postID=75921&highlight=check_mrtgtraf#post75921


command_line$USER1$/check_mrtgtraf -F $ARG1$ -a $ARG2$ -w $ARG3$ -c 
$ARG4$ -e $ARG5$

is the same as:

/usr/local/nagios/libexec/check_mrtgtraf -F 10.1.1.1_4.log -a MAX  -w 
5000,5000 -c 1000,1000 -e 5

But this output is only meaningful if you use grapher ,ngraph per 
example. With the correct regex in the ngraph definition you have a 
wonderful graph ;)

greets

Steffen

-
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] Populate switches and routers

2008-06-26 Thread Tom DE BLENDE (EECC) (DHL)
Hi list,
 
Has anyone any experience with using cdp or another discovery method to
automate the process of setting up your network layout in Nagios? I have
to roll out Nagios in a network with hundreds of (Cisco) switches and
routers, and was wondering what would be the most efficient way to do
it. 
 
To make things worse, most servers have bounded nics and are attached to
different switches... Does Nagios have the intelligence to deal with
that in terms of parent/child relationships?
 
Thanks,
Tom
-
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] AIX install

2008-06-26 Thread Oliver Devoogdt
Hi,


I can't find a way to complete the compilation for the latest version of Nagios 
on my AIX 5.3 machine.
Is there an rpm out there somewhere to ease up the installation ?
Just need a client (it needs to interact with our SCOM server.


Thanks,


Oliver Devoogdt

-
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] using $ in service definition

2008-06-26 Thread Lars Jørgensen
It does.


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Anthony 
Montibello
Sent: Wednesday, June 25, 2008 1:59 AM
To: Seth Simmons
Cc: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] using $ in service definition

I thought $$ also worked in service definitions.

Tony (Author of NC_NEt)

On Mon, Jun 23, 2008 at 10:15 PM, Seth Simmons <[EMAIL PROTECTED]> wrote:
ahh that did it
I knew with $ used for macros there had to be some special character to
get around it and that was it. Thanks


-Original Message-
From: Tim Wilson [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 23, 2008 10:03 PM
To: Seth Simmons; 
nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] using $ in service definition

>>> On Mon, Jun 23, 2008 at  8:17 PM, in message
<[EMAIL PROTECTED]>, "Seth
Simmons"
<[EMAIL PROTECTED]> wrote:
> There is a sql express 2005 service I want to monitor, however the
> service is created as MSSQL$SQLEXPRESS and Nagios shows a warning
saying
> MSSQL is unknow.

Seth,

Try MSSQL$"$"SQLEXPRESS

-Tim


--
Tim Wilson, Director of Technology
Buffalo-Hanover-Montrose Schools
214 1st Ave NE   Buffalo, MN  55313
ph: 763.682.8740  fax: 763.682.8743  
http://www.buffalo.k12.mn.us






-
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

-
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] not all contacst notified...

2008-06-26 Thread Sebastian Ries
Hi there

I found the problem that sometimes (ok, it occurred once) that not all
contacts get notified on a state change...

When a service goes down there are 6 email-contacts and one additional
sms-contact (technically it is an email as well) that should get
notified.
But one time only the 6 contacts got notified by mail, but noch
sms-notification was sent out... (in the web-interface I can see that
nagios even did not try to send the notification to that particular
contact :-(

Did anyone have this problem before?

Or does anyone have some hints where to take a look at?

Btw: We are still running nagios 1.3 installed as a Debian sarge package
 (never touch a running system...)

Regards
Sebastian Ries

-- 

DT Netsolution GmbH -  Talaeckerstr. 30 -  D-70437 Stuttgart
Tel: +49-711-849910-36   Fax: +49-711-849910-936
WEB: http://www.dtnet.de/ email: [EMAIL PROTECTED]

-
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] NRPE Plug-in to count files

2008-06-26 Thread Hart, Harry M. CTR USJFCOM SUPPORT.SUPPORT JTC-I
Hello all

Does anyone know of a plug-in that I can get that will count files in a
directory? (Linux and Win)

Thanks
Harry

Harry M. Hart Systems integrator
SAIC
USJFCOM JIOC DCGS-A
(757) 203-7422
DSN 668-7422
[EMAIL PROTECTED]
[EMAIL PROTECTED]



-
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] Kannel and Nagios

2008-06-26 Thread Shoaibi
Can anyone guide me a little on how can i use Kannel as SMS gateway for:
Nagios + notify_with_sms


Kannel is at: http://www.kannel.org/

-
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] AIX install

2008-06-26 Thread Brian A. Seklecki
On Thu, 2008-06-26 at 11:39 +0200, Oliver Devoogdt wrote:
> Hi,
> 
> 
> I can't find a way to complete the compilation for the latest version
> of Nagios on my AIX 5.3 machine.

Oh man...AIX.

Best bet is to install the linux compat packages and try to get
Pkgsrc[.org] to build.

~BAS


-
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] Populate switches and routers

2008-06-26 Thread Brian A. Seklecki
On Thu, 2008-06-26 at 11:36 +0200, Tom DE BLENDE (EECC) (DHL) wrote:
> Hi list,
>  
> Has anyone any experience with using cdp or another discovery method
> to automate the process of setting up your network layout in Nagios? I
> have to roll out Nagios in a network with hundreds of (Cisco) switches

You could use perl/php to do this in about 20 lines by parsing "sh bgp
neighbors" or "show cdp *"

It depends on how many interfaces on every router that you'd like to
monitor, and whether they have proper reverse/forward DNS for every
interface.

~BAS



-
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] NRPE Plug-in to count files

2008-06-26 Thread Bo Philip Larsen
Hi,

Look here http://nagiosexchange.altinity.org/nagiosexchange/Check_Filecount/

/Bo

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Hart, Harry M. 
CTR USJFCOM SUPPORT.SUPPORT JTC-I
Sent: 26. juni 2008 13:28
To: nagios Mailinglist
Subject: [Nagios-users] NRPE Plug-in to count files

Hello all

Does anyone know of a plug-in that I can get that will count files in a
directory? (Linux and Win)

Thanks
Harry

Harry M. Hart Systems integrator
SAIC
USJFCOM JIOC DCGS-A
(757) 203-7422
DSN 668-7422
[EMAIL PROTECTED]
[EMAIL PROTECTED]



-
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


-
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] disable event handlers during scheduled downtime

2008-06-26 Thread Marc Powell

On Jun 25, 2008, at 10:28 PM, [EMAIL PROTECTED] wrote:

> Hi,
>
> I set up Nagios with event handlers to restart an application in  
> case it fails, when I have to do a maintenance of it, I schedule  
> downtime, but when I start working on the maintenance, Nagios  
> restarts it and does not let me work, so, what I'm doing now, is  
> stopping Nagios, but I know that it is not the best solution.
>
>
> I can disable the event handler every time that I have maintenace  
> window, but I have around 100 services on it and to disable one by  
> one takes forever.
>
> Someone knows if there is any other possibility to do disable event  
> handlers during schedule downtime?

Looks like you can pass this variable to your event handler and exit  
if it's > 0.

http://nagios.sourceforge.net/docs/3_0/macrolist.html

$SERVICEDOWNTIME$   A number indicating the current "downtime depth"  
for the service. If this service is currently in a period of scheduled  
downtime, the value will be greater than zero. If the service is not  
currently in a period of downtime, this value will be zero.

--
Marc

-
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] not all contacst notified...

2008-06-26 Thread Sebastian Ries
Hi

> I found the problem that sometimes (ok, it occurred once) that not all
> contacts get notified on a state change...
> 
> When a service goes down there are 6 email-contacts and one additional
> sms-contact (technically it is an email as well) that should get
> notified.
> But one time only the 6 contacts got notified by mail, but noch
> sms-notification was sent out... (in the web-interface I can see that
> nagios even did not try to send the notification to that particular
> contact :-(
> 
> Did anyone have this problem before?


I found the "problem"... 
"Not a Bug, it's a feature..." ;-)

nagios counts notification NOT depending on if it ist Warning or
Critical...
So the first message was sent out as Warning and the following messages
were sent out as Critical.
As the sms is only configured tot be sent at the first notification no
Critical notification was sent out via sms :-/

Is it possible to configure nagios to start with notification no. 1 as a
service changes from Warning to Critical?

Regards
Sebastian Ries 

-- 

DT Netsolution GmbH -  Talaeckerstr. 30 -  D-70437 Stuttgart
Tel: +49-711-849910-36   Fax: +49-711-849910-936
WEB: http://www.dtnet.de/ email: [EMAIL PROTECTED]

-
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] Populate switches and routers

2008-06-26 Thread Marc Powell

On Jun 26, 2008, at 4:36 AM, Tom DE BLENDE (EECC) (DHL) wrote:
>

> To make things worse, most servers have bounded nics and are  
> attached to different switches... Does Nagios have the intelligence  
> to deal with that in terms of parent/child relationships?

You can specify multiple parents for a host. As long as you don't have  
circular dependencies, nagios should do the right thing.

--
Marc


-
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 2.12 author format

2008-06-26 Thread Kent Saunders
I have just upgraded from Nagios 2.10 to 2.12 on Red Hat Enterprise 
Linux 4, update 6.

I am now seeing a formatting issue with pre-populated user names in 
comments and downtime.  Examples, "John Doe" displays as "John+Doe", and 
"[EMAIL PROTECTED]" shows as "jdoe%40here.com".

These are the names that are pre-populated in the "Author (Your Name)" 
fields.  If I edit the pre-populated name before committing the update, 
the correct format shows in the logs.

This particular installation has been upgraded from 2.0, hitting more 
than half the point releases.  There were no config file changes as part 
of this upgrade.  It was built by running "./configure 
--with-command-group=nagiocmd;make all;make install;make 
install-init;make install-commandmode".

Has anyone else seen this?  Is this a new bug in 2.11 or 2.12?

Thanks,
-kent

-
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] NRPE Plug-in to count files

2008-06-26 Thread Hart, Harry M. CTR USJFCOM SUPPORT.SUPPORT JTC-I
I am resending this because I neglected to say that I wanted to monitor
file numbers on remote hosts.


Hello all

Does anyone know of a plug-in that I can get that will count files in a
directory? (Linux and Win)

Thanks
Harry

Harry M. Hart Systems integrator
SAIC
USJFCOM JIOC DCGS-A
(757) 203-7422
DSN 668-7422
[EMAIL PROTECTED]
[EMAIL PROTECTED]



-
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] [Fwd: Bug Reporting / Issue Tracking System ?]

2008-06-26 Thread Andreas Ericsson
Marc Powell wrote:
> On Jun 25, 2008, at 3:14 PM, Jay R. Ashworth wrote:
> 
>>> Oh, I'm all for ticketing systems... as long as they aren't giving
>> people the impression that work is likely to be done which will not in
>> fact ever be done.  Have you looked at The Original Bugzilla  
>> lately?  ;-)
> 
> Has anyone bothered to ask Ethan why he has chosen not to use the SF  
> bugtracker?

There are tons of reasons not to use the SF bugtracker (it sucks). I
think I can answer why he's not using *any* bugtracker, drawing from
memories of an email thread way way back when someone wanted a single
bugtracker (and got quite vehemant about it towards the end).

A bugtracker is a fire-and-forget kind of sink where users are
supposed to be able to add bugs, feature-requests and patches. Since
the options boil down to
a) Random users have "add bug" access to the tracker.
b) Someone manages the bugtracker.

The problem with a) is that the data in the tracker quickly gets a
very poor signal-to-noise ratio, where people post RTFM issues, minor
annoyances and duplicate bug reports (these things happen because
most people are lazy retards). The use of the tracker quickly
deteriorates to the point where some people moan about there being
issues in the tracker that are 2+ years old and nobody cares about
them.

The problem with b) is that it requires additional effort from
the developer(s) (one extra place to check for bugs) and, if such
a one is present, the tracker manager. Otherwise it's devs again.

You'll still have to have the mailing list for pooling ideas and
random chitchat, so everything that should have gone to the tracker
has a chance of ending up on the mailing list instead, where someone
has to move it to the tracker and then get to work on it. An extra
step = bad. We're talking about people working pro bono here, so
there's no way of forcing anyone to do anything, which means noone
will do the boring parts, ie. copy-paste stuff from the mailing list
to the tracker.

As things stand today, Ethan is pretty much the only one fixing bugs
and adding features to Nagios, so he can manage his own little todo
list any old way he wants. I'm guessing he's not willing to change
his workflow without some significant benefit for himself, such as
a second developer, or a group of developers, asking for a tracker
so they can coordinate their work.

Personally, I wouldn't care very much for users wanting a bugtracker,
because they wouldn't be the ones using it (except to report bugs,
but on average people do that so poorly they might as well not
bother).

I *would* care if some proven developers stepped up and said
"hey, we've got x active bugs and y feature-requests, but we have no
idea of knowing who's doing what without constantly talking to each
other. I've set up this tracker here and added all the current issues
to it, and I'm gonna be using that, so check there if you want to
know what you can leave for me". It's the difference between saving
time and wasting it.

> 
> p.s. IMHE, there are not a lot of bugs related to nagios-stable and  
> any real, verified bugs get fixed relatively quickly. Could be my rose- 
> colored glasses though.
> 

It's not just your rose-colored glasses. Ethan's got a very good sense
of priority and he's very keen on keeping a good track-record. Besides,
if there are ever real show-stopper bugs in Nagios, I know that I would at
least be instantly assigned full-time to fixing it, and I think many
other companies have similar priorities if it ever gets close to
affecting their customers.

-- 
Andreas Ericsson   [EMAIL PROTECTED]
OP5 AB www.op5.se
Tel: +46 8-230225  Fax: +46 8-230231

-
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] NRPE Plug-in to count files

2008-06-26 Thread Andreas Ericsson
Hart, Harry M. CTR USJFCOM SUPPORT.SUPPORT JTC-I wrote:
> I am resending this because I neglected to say that I wanted to monitor
> file numbers on remote hosts.
> 

files=$(find -type f | wc -l)

There, I just wrote one for you ;-)

-- 
Andreas Ericsson   [EMAIL PROTECTED]
OP5 AB www.op5.se
Tel: +46 8-230225  Fax: +46 8-230231

-
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] NRPE Plug-in to count files

2008-06-26 Thread Aaron M. Segura
This seems like the kind of thing nagiosexchange was built for.  Have
you checked there yet?

On Thu, 2008-06-26 at 12:59 -0400, Hart, Harry M. CTR USJFCOM
SUPPORT.SUPPORT JTC-I wrote:
> I am resending this because I neglected to say that I wanted to monitor
> file numbers on remote hosts.
> 
> 
> Hello all
> 
> Does anyone know of a plug-in that I can get that will count files in a
> directory? (Linux and Win)
> 
> Thanks
> Harry
> 
> Harry M. Hart Systems integrator
> SAIC
> USJFCOM JIOC DCGS-A
> (757) 203-7422
> DSN 668-7422
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
> 
> 
> 
> -
> 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

-
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] NRPE Plug-in to count files

2008-06-26 Thread Hart, Harry M. CTR USJFCOM SUPPORT.SUPPORT JTC-I
 


Harry M. Hart Systems integrator
(757) 203-7422
DSN 668-7422
[EMAIL PROTECTED]
[EMAIL PROTECTED]

-Original Message-
From: Aaron M. Segura [mailto:[EMAIL PROTECTED] 
Sent: Thursday, June 26, 2008 1:25 PM
To: Hart, Harry M. CTR USJFCOM SUPPORT.SUPPORT JTC-I
Cc: nagios Mailinglist
Subject: Re: [Nagios-users] NRPE Plug-in to count files

>This seems like the kind of thing nagiosexchange was built for.  Have
you checked there yet?

I downloaded the check_numoffiles.sh script and modified it for use but
that only works on the local machine. I need to count on remote systems.


On Thu, 2008-06-26 at 12:59 -0400, Hart, Harry M. CTR USJFCOM
SUPPORT.SUPPORT JTC-I wrote:
> I am resending this because I neglected to say that I wanted to 
> monitor file numbers on remote hosts.
> 
> 
> Hello all
> 
> Does anyone know of a plug-in that I can get that will count files in 
> a directory? (Linux and Win)
> 
> Thanks
> Harry
> 
> Harry M. Hart Systems integrator
> SAIC
> USJFCOM JIOC DCGS-A
> (757) 203-7422
> DSN 668-7422
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
> 
> 
> 
> --
> --- 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

-
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] CHECK_NRPE: Error

2008-06-26 Thread Kaushal Shriyan
Hi,

I am getting this information in the web interface of Nagios. The below is
momentarily appearing means to say it appears for some time and then
disappears.

CHECK_NRPE: Error - Could not complete SSL handshake.

I have referred to the FAQ too
http://www.nagios.org/faqs/viewfaq.php?faq_id=191 and have full filled all
the requirements

I am actually looking for nagios-nrpe-2.8.1 version for CentOS release 5
(Final) rpm. I have looked in rpmforge. Not able to find it

Any help would be really appreciated

Thanks and Regards

Kaushal
-
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] NRPE Plug-in to count files

2008-06-26 Thread Kent Saunders
Put this in the remote systems nrpe.cfg file... (and restart nrpe)
command[check_numoffiles]=/usr/local/nagios/libexec/check_numoffiles.sh

Then from the Nagios host call that script by running...
/usr/local/nagios/libexec/check_nrpe -H hostname -c check_numoffiles

-kent

Hart, Harry M. CTR USJFCOM SUPPORT.SUPPORT JTC-I wrote:
>  
>
>
> Harry M. Hart Systems integrator
> (757) 203-7422
> DSN 668-7422
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
>
> -Original Message-
> From: Aaron M. Segura [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, June 26, 2008 1:25 PM
> To: Hart, Harry M. CTR USJFCOM SUPPORT.SUPPORT JTC-I
> Cc: nagios Mailinglist
> Subject: Re: [Nagios-users] NRPE Plug-in to count files
>
>   
>> This seems like the kind of thing nagiosexchange was built for.  Have
>> 
> you checked there yet?
>
> I downloaded the check_numoffiles.sh script and modified it for use but
> that only works on the local machine. I need to count on remote systems.
>
>
> On Thu, 2008-06-26 at 12:59 -0400, Hart, Harry M. CTR USJFCOM
> SUPPORT.SUPPORT JTC-I wrote:
>   
>> I am resending this because I neglected to say that I wanted to 
>> monitor file numbers on remote hosts.
>>
>>
>> Hello all
>>
>> Does anyone know of a plug-in that I can get that will count files in 
>> a directory? (Linux and Win)
>>
>> Thanks
>> Harry
>>
>> Harry M. Hart Systems integrator
>> SAIC
>> USJFCOM JIOC DCGS-A
>> (757) 203-7422
>> DSN 668-7422
>> [EMAIL PROTECTED]
>> [EMAIL PROTECTED]
>>
>>
>>
>> --
>> --- 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
>> 
>
> -
> 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
>   


-
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] NRPE Plug-in to count files

2008-06-26 Thread Marc Powell

On Jun 26, 2008, at 12:41 PM, Kent Saunders wrote:

> Put this in the remote systems nrpe.cfg file... (and restart nrpe)
> command[check_numoffiles]=/usr/local/nagios/libexec/ 
> check_numoffiles.sh
>
> Then from the Nagios host call that script by running...
> /usr/local/nagios/libexec/check_nrpe -H hostname -c check_numoffiles

And  --

Copy check_numoffiles.sh to /usr/local/nagios/libexec on the  
destination machine.

--
Marc


-
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] CHECK_NRPE: Error

2008-06-26 Thread Marc Powell

On Jun 26, 2008, at 12:36 PM, Kaushal Shriyan wrote:

> Hi,
>
> I am getting this information in the web interface of Nagios. The  
> below is momentarily appearing means to say it appears for some time  
> and then disappears.
>
> CHECK_NRPE: Error - Could not complete SSL handshake.
>
> I have referred to the FAQ too 
> http://www.nagios.org/faqs/viewfaq.php?faq_id=191 
>  and have full filled all the requirements

This has been discussed on this list in the last 7 days. Look to that  
discussion (or further back in the archives even) for suggestions.

--
Marc


-
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] NRPE Plug-in to count files

2008-06-26 Thread Aaron M. Segura
If you copy it to a remote system and run it using something like nrpe
(for example) it will count files on the remote system.

On Thu, 2008-06-26 at 13:35 -0400, Hart, Harry M. CTR USJFCOM
SUPPORT.SUPPORT JTC-I wrote:
> 
> 
> Harry M. Hart Systems integrator
> (757) 203-7422
> DSN 668-7422
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
> 
> -Original Message-
> From: Aaron M. Segura [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, June 26, 2008 1:25 PM
> To: Hart, Harry M. CTR USJFCOM SUPPORT.SUPPORT JTC-I
> Cc: nagios Mailinglist
> Subject: Re: [Nagios-users] NRPE Plug-in to count files
> 
> >This seems like the kind of thing nagiosexchange was built for.  Have
> you checked there yet?
> 
> I downloaded the check_numoffiles.sh script and modified it for use but
> that only works on the local machine. I need to count on remote systems.
> 
> 
> On Thu, 2008-06-26 at 12:59 -0400, Hart, Harry M. CTR USJFCOM
> SUPPORT.SUPPORT JTC-I wrote:
> > I am resending this because I neglected to say that I wanted to 
> > monitor file numbers on remote hosts.
> > 
> > 
> > Hello all
> > 
> > Does anyone know of a plug-in that I can get that will count files in 
> > a directory? (Linux and Win)
> > 
> > Thanks
> > Harry
> > 
> > Harry M. Hart Systems integrator
> > SAIC
> > USJFCOM JIOC DCGS-A
> > (757) 203-7422
> > DSN 668-7422
> > [EMAIL PROTECTED]
> > [EMAIL PROTECTED]
> > 
> > 
> > 
> > --
> > --- 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

-
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] CHECK_NRPE: Error

2008-06-26 Thread Kaushal Shriyan
On Thu, Jun 26, 2008 at 11:56 PM, Marc Powell <[EMAIL PROTECTED]> wrote:

>
> On Jun 26, 2008, at 12:36 PM, Kaushal Shriyan wrote:
>
> > Hi,
> >
> > I am getting this information in the web interface of Nagios. The
> > below is momentarily appearing means to say it appears for some time
> > and then disappears.
> >
> > CHECK_NRPE: Error - Could not complete SSL handshake.
> >
> > I have referred to the FAQ too
> http://www.nagios.org/faqs/viewfaq.php?faq_id=191
> >  and have full filled all the requirements
>
> This has been discussed on this list in the last 7 days. Look to that
> discussion (or further back in the archives even) for suggestions.
>
> --
> Marc
>
>
> -
> 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 Marc

Can you please provide me the URL or paste me the discussion

Thanks and Regards

Kaushal
-
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] Status map image scaled up in in FireFox 3

2008-06-26 Thread Tony Rice (trice)
The png image generated by statusmap.cgi is displaying oddly on FireFox
3 for me.  It's fine in IE.

When viewing just the image (right click on map, select view image), and


http://mynagiosserver/nagios/cgi-bin/statusmap.cgi?host=all&createimage&;
time=1214489939&canvas_x=0&canvas_y=0&canvas_width=715&canvas_height=405
&max_width=0&max_height=0&layout=3&layermode=exclude

The header confirms that image is 715x405 but it's upscaled a bit,
making it not fit so well on the page and reducing the quality of the
image.  When I reload, it displays correctly.  I've not seen this with
any other PNG images.

Anyone else seen this?

-
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] CHECK_NRPE: Error

2008-06-26 Thread Marc Powell

On Jun 26, 2008, at 1:59 PM, Kaushal Shriyan wrote:

> Can you please provide me the URL or paste me the discussion


http://www.nagios.org/support/mailinglists.php - "NRPE Install Error"


--
Marc


-
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] no max check attempts for host checking?

2008-06-26 Thread Frost, Mark {PBG}


>-Original Message-
>From: [EMAIL PROTECTED] 
>[mailto:[EMAIL PROTECTED] On Behalf 
>Of Thomas Guyot-Sionnest
>Sent: Wednesday, May 14, 2008 10:37 PM
>To: Mark Frost
>Cc: nagios-users@lists.sourceforge.net
>Subject: Re: [Nagios-users] no max check attempts for host checking?
>
>-BEGIN PGP SIGNED MESSAGE-
>Hash: SHA1
>
>On 09/05/08 12:46 PM, Mark Frost wrote:
>> Hello.  I have something that's not working the way I'd expect.
>> 
>> We are monitoring services on windows hosts and as is common 
>practice,
>> not explicitly checking the host state.  Wehn the host gets 
>rebooted, I
>> expect that a service might fail, then Nagios would attempt a host
>> check.  I would like the host check to not alert on a single ping
>> failure, but rather hold off for say 5 failures before it sends an
>> alert.  The intent is to not get an alert if the box is just being 
>> rebooted.
>> 
>> I've set the following for my test host:
>> 
>> max_check_attempts 10
>> check_interval 0
>> retry_interval 1
>> active_checks_enabled no
>> 
>> 
>> Our configuration is a distributed one so the distributed node has
>> obsession turned on, but the central node does not.
>> 
>> When testing, we find that no matter what I set the 
>max_check_attempts
>> to, an alert is sent on the first ping failure.
>> 
>> Is there something I'm missing?
>
>No. Nagios 2.0 always treat passive host checks as HARD.
>
>Here's the answer from Ethan about this:
>
>http://osdir.com/ml/network.nagios.devel/2006-07/msg9.html
>
>Thomas

Hmmm.  I'm actually running Nagios 3.0.2 (sorry forgot to mention that).

The central server has host checking disabled, but allows passive
checks.  The distributed node is configured for active checks (of
course) and obsessing.  The host configuration on the distributed node
lists the max_check_attempts as 10.

Mark

-
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] unusual check_swap behavior

2008-06-26 Thread Mike Krohn
To All,

When I run check_swap on one of my systems, i get the following result:

:~> /usr/lib/nagios/plugins/check_swap --warning=75% --critical=85%
CRITICAL - Swap used: -2147483648% (0 out of 0)

What is going on?

my memory use is:

 total   used   free sharedbuffers cached
Mem:505548 438184  67364  0  10196 340544
Swap:  4194296  04194296

so the result does not make sense.

OS:
SuSE Linux 9.1 (i586)
VERSION = 9.1

NRPE version:
check_swap (nagios-plugins 1.3.1) 1.9

Thanks in advance,

Mike
-
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] no max check attempts for host checking?

2008-06-26 Thread Emanuel Massano


Frost, Mark {PBG} wrote:
> 
>> -Original Message-
>> From: [EMAIL PROTECTED] 
>> [mailto:[EMAIL PROTECTED] On Behalf 
>> Of Thomas Guyot-Sionnest
>> Sent: Wednesday, May 14, 2008 10:37 PM
>> To: Mark Frost
>> Cc: nagios-users@lists.sourceforge.net
>> Subject: Re: [Nagios-users] no max check attempts for host checking?
>>
>> -BEGIN PGP SIGNED MESSAGE-
>> Hash: SHA1
>>
>> On 09/05/08 12:46 PM, Mark Frost wrote:
>>> Hello.  I have something that's not working the way I'd expect.
>>>
>>> We are monitoring services on windows hosts and as is common 
>> practice,
>>> not explicitly checking the host state.  Wehn the host gets 
>> rebooted, I
>>> expect that a service might fail, then Nagios would attempt a host
>>> check.  I would like the host check to not alert on a single ping
>>> failure, but rather hold off for say 5 failures before it sends an
>>> alert.  The intent is to not get an alert if the box is just being 
>>> rebooted.
>>>
>>> I've set the following for my test host:
>>>
>>> max_check_attempts 10
>>> check_interval 0
>>> retry_interval 1
>>> active_checks_enabled no
>>>
>>>
>>> Our configuration is a distributed one so the distributed node has
>>> obsession turned on, but the central node does not.
>>>
>>> When testing, we find that no matter what I set the 
>> max_check_attempts
>>> to, an alert is sent on the first ping failure.
>>>
>>> Is there something I'm missing?
>> No. Nagios 2.0 always treat passive host checks as HARD.
>>
>> Here's the answer from Ethan about this:
>>
>> http://osdir.com/ml/network.nagios.devel/2006-07/msg9.html
>>
>> Thomas
> 
> Hmmm.  I'm actually running Nagios 3.0.2 (sorry forgot to mention that).
> 
> The central server has host checking disabled, but allows passive
> checks.  The distributed node is configured for active checks (of
> course) and obsessing.  The host configuration on the distributed node
> lists the max_check_attempts as 10.
> 

Hi,

I had the same problem and reported the bug to nagios-devel. The problem 
is in the orphan host checks.
In the changelog for v3.0.3 it seems it has been fixed :) Thanks!!
So just try the new nagios version!

Cheers,
Emanuel Massano


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

-
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] Does NDOUtils works with Nagio 3.0.x ?

2008-06-26 Thread Jason
Hi all,

Has anyone tried using NDOUtils with Nagios 3.0.x? Does it work fine?

According to my fren who used NDOUtils 1.4b7 on Nagios 3.0.1, accessing the
mysql db to look at the stored info took a long time. Sometimes, it would hang.

Thanks.




-
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] Escaping Exclamation Points

2008-06-26 Thread Christopher Falk
Hello all,

Never posted here before, but it's been helpful to follow along with the 
various threads.

My issue is with checking NT services with exclamation points in their names. 
The following check command is sent to NSClient++:

check_nt_service!'Act! Scheduler'

and fails with a No Output! error in Nagios. I've tried \!, $!, double quotes, 
and to no avail.

Has anybody had success escaping an exclamation point when it's part of a 
service name sent to NSClient++?

Thanks in advance,

Chris

-- 
_ 
A Message From...  Christopher Falk 
 
Reliable Networks of Maine, LLC 
 
"Uptime.  All the time." 
 
477 Congress Street 
Portland, ME 04101 
Tel: (207) 772-5678 
Web: http://www.reliablenetworks.com 
 
This email was sent from Reliable Networks of Maine LLC. 
It may contain information that is privileged and confidential. 
If you suspect that you were not intended to receive it, please 
delete it and notify us as soon as possible. Thank you.

-
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] Does NDOUtils works with Nagio 3.0.x ?

2008-06-26 Thread Larry Low
I'm running it without too much problems (~3 minute start) with the 
event_broker_options of 36865 which is BROKER_RETENTION_DATA | 
BROKER_STATUS_DATA | BROKER_PROGRAM_STATE.  That's with 900 hosts and 7300 
services (1000-2000 checks are only passive, others are active/passive).

From: [EMAIL PROTECTED] [EMAIL PROTECTED] On Behalf Of Jason [EMAIL PROTECTED]
Sent: Thursday, June 26, 2008 6:13 PM
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] Does NDOUtils works with Nagio 3.0.x ?

Hi all,

Has anyone tried using NDOUtils with Nagios 3.0.x? Does it work fine?

According to my fren who used NDOUtils 1.4b7 on Nagios 3.0.1, accessing the
mysql db to look at the stored info took a long time. Sometimes, it would hang.

Thanks.




-
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

-
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] problem in nagiosgraph

2008-06-26 Thread Nelson Serafica
i have running Nagios 2.10. I decided to add nagiosgraph to have graph
result of my nagios. However, I can't make it work. Here is the things
that I do:

tar xvzf nagiosgraph-0.9.0.tgz
cd nagiosgraph-0.9.0
mkdir /usr/local/nagios/nagiosgraph
cp nagiosgraph.conf map insert.pl show.cgi  /usr/local/nagios/nagiosgraph/
vi /usr/local/nagios/nagiosgraph/nagiosgraph.conf (Edit logfile and perflog)
chown nagios:nagios /usr/local/nagios/var/nagiosgraph.log
mkdir /usr/local/nagios/nagiosgraph/rrd
chown nagios:nagios /usr/local/nagios/nagiosgraph/rrd
chown -R nagios:nagios /usr/local/nagios/nagiosgraph
touch /usr/local/nagios/var/perfdata.log
vi insert.pl and show.cgi (Change nagiosgraph.conf file)
chown nagios:nagios /usr/local/nagios/var/perfdata.log
chmod 664 /usr/local/nagios/var/nagiosgraph.log
chmod 664 /usr/local/nagios/var/perfdata.log
chmod 775 /usr/local/nagios/nagiosgraph/rrd/
chmod 666 /usr/local/nagios/var/nagiosgraph.log

THen I edit checkocmmands.to put process-service-perfdata

Here is my added config in my http.conf

ScriptAlias /nagiosgraph/ /usr/local/nagios/nagiosgraph/

Options ExecCGI 
AllowOverride AuthConfig 
Order allow,deny
Allow from all


Then I restart nagios. Then when I click the icon for nagiosgraph, it says: 

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to 
complete your request.

Could this be only a http error? I dont see any error 


  Get your preferred Email name!
Now you can @ymail.com and @rocketmail.com. 
http://mail.promotions.yahoo.com/newdomains/ph/-
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