Re: [Nagios-users] Notifications by SMS

2007-02-22 Thread Andy Shellam (Mailing Lists)
There are plenty of email-to-SMS providers out there.

www.textanywhere.net
www.aql.com

To name 2 that spring to mind (UK-based.)

They all use pretty much the same approach - send an e-mail to 
@.tld, and it'll relay the 
first 160 characters (or whatever the network allows) of the e-mail to 
the mobile device number.

I've used both AQL and TextAnywhere, TA has a slightly quicker response 
time than AQL on sent messages, and they invoice us on a monthly basis 
rather than having to pre-pay (like AQL, where we often ran into the 
problem of running out of credit, then messages don't get relayed.)

I'm sure there are some free providers that may do this too, but the 
paid ones often implement better solutions (like TA has a HTTP and SOAP 
protocol so you can POST a HTTP request in the correct format to 
generate a text message rather than using e-mail.)

HTH,

Andy.

Chaim Keren Tzion wrote:
> What are the recommended ways to have Nagios send SMS notifications via the 
> net? (Non modem solutions please.) Free and non-free.
>
> TIA
>
> -
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> ___
> 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
>
> !DSPAM:37,45de396b925171512379562!
>
>
>   

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


[Nagios-users] Notifications by SMS

2007-02-22 Thread Chaim Keren Tzion
What are the recommended ways to have Nagios send SMS notifications via the 
net? (Non modem solutions please.) Free and non-free.

TIA

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
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] NSClient/NC_Net for Win32 (2k3 X64)?

2007-02-22 Thread Anthony Montibello

NC_NEt should work on any Windows system that has Dot Net 2.0 installed.

Contact me via [EMAIL PROTECTED] if there is a issue.
or post to the NC_NEt forum on sourceforge
http://sourceforge.net/projects/nc-net

Good luck,
tony


On 2/16/07, ffwqe efwa <[EMAIL PROTECTED]> wrote:


All,

I hope this is the right place to ask this.  What server do you use for
check_nt on your win32/x64 clients?  Apparentely the usual suspects
(nc_net/nsclient) only work on 32 bit versions (or at least I can only get
them to).

Thanks!

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
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

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
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 services for OS X servers

2007-02-22 Thread Andy Moran


macports (formerly darwinports) provides nagios and nrpe for OS X.

http://www.macports.org/

You don't have to install macports on your servers.. you can install  
it on a local mac, then do a
"port install nrpe".   This will install it into /opt/local .  You  
can then tar up that and distribute it as you wish, or make a pkg out  
of it as well.


Good luck.

--Andy

On Feb 22, 2007, at 1:49 PM, Nick Twaddell wrote:


Hello,

Is there an NRPE client available for OS X servers?  I would like to
monitor disk space and CPU usage on a few OS X servers.

Thanks

Nick

-- 
---

Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to  
share your

opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php? 
page=join.php&p=sourceforge&CID=DEVDEV

___
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




smime.p7s
Description: S/MIME cryptographic signature
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
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 services for OS X servers

2007-02-22 Thread Max H.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Nick Twaddell wrote:
> Hello,
> 
> Is there an NRPE client available for OS X servers?  I would like to
> monitor disk space and CPU usage on a few OS X servers.
> 

Did you think about checking disk and CPU across SNMP?

You'd just need Perl installed to run the scripts from here. I'm not a
Mac OS X person, but I don't see why they wouldn't run.



I run several of these under Linux, but the author says they work on
Linux/Unix.

Just a suggestion.

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

iD8DBQFF3hUuHoeeepPau2ERAhrWAJ96VNwCK61GGO6nPWTYExwKhGCRyACdGTP7
ZP9SYXZXulNxHjhD0ZolHUQ=
=kSwl
-END PGP SIGNATURE-

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
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 services for OS X servers

2007-02-22 Thread Nick Twaddell
Hello,

Is there an NRPE client available for OS X servers?  I would like to
monitor disk space and CPU usage on a few OS X servers.

Thanks

Nick

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
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] notification_interval in serviceescalation ignored

2007-02-22 Thread Rejo Zenger
++ 22/02/07 17:35 +0100 - Sjaak Nabuurs:
>Looks like an performance issue, long timeouts on plugins.
>Can you track the check_execution_time and the check_latency when you 
>have an escalation.

Generally, these seem to be allright. At any given time the service
check latency is about 3 to 10 seconds on average, the service check
execution time is on average less then 1 second. I don't believe these
are too high (375+ hosts, 1775+ services).

However after posting the previous post, I re-read the documentation for
the n'th time and I came across this particular line:

 | In any case where there are multiple valid escalation definitions 
 | for a particular notification, Nagios will choose the smallest 
 | notification interval.

And I believe this is exactly my problem. So, I rewrote the config and I
am now awaiting a live example (and if that takes too long, I will
create a long-lasting critical :)).

-- 
Rejo Zenger <[EMAIL PROTECTED]> https://rejo.zenger.nl


signature.asc
Description: Digital signature
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
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] Contact definitions and multiple email addresses?

2007-02-22 Thread Andy Moran


Thanks for your help.  You rock.  :)

--Andy

On Feb 22, 2007, at 11:40 AM, Marc Powell wrote:





-Original Message-
From: [EMAIL PROTECTED] [mailto:nagios- 
users-

[EMAIL PROTECTED] On Behalf Of Andy Moran
Sent: Wednesday, February 21, 2007 7:05 PM
To: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] Contact definitions and multiple email
addresses?





how about this one:

Is it possible to have a contact receive critical messages for all
services but warning messages ONLY for a particular service?


It would require a new contact. The base assumption is that if a  
contact

is set to receive warnings, they receive warnings for all hosts and
services they are contacts for. There is no exception capability like
what you're looking for related to contact notifications.


For example:

All services are set to notify on warning, critical, unknown, and
recovery..Admins want to be only notified when any service goes
critical.. but they are also interested when a certain volume
check_disk goes into warning.

The only way I can figure out how to do that is to create a separate
contact definition for each admin (like jdoe2), put them in a group,
and say that group also wants warnings, and put that group in the
check_disk service definition instead of the normal admin group.

I'm hoping I'm missing something obvious.


Nope. That's the usual solution. The other option is to build that  
logic

into your notification script.

--
Marc

-- 
---

Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to  
share your

opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php? 
page=join.php&p=sourceforge&CID=DEVDEV

___
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




smime.p7s
Description: S/MIME cryptographic signature
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
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] Contact definitions and multiple email addresses?

2007-02-22 Thread Marc Powell


> -Original Message-
> From: [EMAIL PROTECTED] [mailto:nagios-users-
> [EMAIL PROTECTED] On Behalf Of Andy Moran
> Sent: Wednesday, February 21, 2007 7:05 PM
> To: nagios-users@lists.sourceforge.net
> Subject: Re: [Nagios-users] Contact definitions and multiple email
> addresses?
> 


> how about this one:
> 
> Is it possible to have a contact receive critical messages for all
> services but warning messages ONLY for a particular service?

It would require a new contact. The base assumption is that if a contact
is set to receive warnings, they receive warnings for all hosts and
services they are contacts for. There is no exception capability like
what you're looking for related to contact notifications. 

> For example:
> 
> All services are set to notify on warning, critical, unknown, and
> recovery..Admins want to be only notified when any service goes
> critical.. but they are also interested when a certain volume
> check_disk goes into warning.
> 
> The only way I can figure out how to do that is to create a separate
> contact definition for each admin (like jdoe2), put them in a group,
> and say that group also wants warnings, and put that group in the
> check_disk service definition instead of the normal admin group.
> 
> I'm hoping I'm missing something obvious.

Nope. That's the usual solution. The other option is to build that logic
into your notification script.

--
Marc

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] Using Nagios to restart a Power Strip, Switch, Router, etc. via SNMP

2007-02-22 Thread Marc Powell


> -Original Message-
> From: [EMAIL PROTECTED] [mailto:nagios-users-
> [EMAIL PROTECTED] On Behalf Of patrickm
> Sent: Wednesday, February 21, 2007 7:28 PM
> To: nagios-users@lists.sourceforge.net
> Subject: [Nagios-users] Using Nagios to restart a Power Strip, Switch,
> Router,etc. via SNMP
> 
> Hello,
> 
> I've been scouring Google all day long and I can't seem to find
anything
> regarding Nagios being able to reboot switches, routers, or power
strips
> via SNMP.  We have some HP Procurve Switches, Some Cisco 7200 Routers,
and
> some APC Power strips, all being monitored via SNMP already and via
> Nagios, but it would be great if we could reboot these devices (or
> sections of the power strip by outlet) using SNMP write permissions.
> 
> Is this possible?

Yes, if you can do it from the command line or via script then nagios
can do it as well. Seems like it would be pretty straightforward to do
with perl and Net::SNMP. Nagios doesn't include any 'restart' capability
by default because the number of variables is too significant. Nagios
_does_ provide an Event Handler interface to allow you to build that
functionality to suit.

--
Marc

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
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] TCP/IP Port that NSClient 2.x uses

2007-02-22 Thread Marc Powell


> -Original Message-
> From: [EMAIL PROTECTED] [mailto:nagios-users-
> [EMAIL PROTECTED] On Behalf Of Kaplan, Andrew H.
> Sent: Thursday, February 22, 2007 10:03 AM
> To: nagios-users@lists.sourceforge.net
> Subject: [Nagios-users] TCP/IP Port that NSClient 2.x uses
> 
> Hi there -
> 
> 
> 
> I have a Windows server running NSClient 2.1 on it. I recently
activated a
> firewall on the server and I need to allow an exception for the
nsclient
> 
> in order for our Nagios 2.6 server to monitor the remote system. Does
> anyone know what is the port number(s) that nsclient uses? Thanks.

>From the nsclient documentation --

"Configuration

There are two parameters you can change: the port (default: 1248) and
the password (default: 'None'). These two settings are store in the
registry and can only be changed using 'regedit'. Open the following key
and change the values if needed :

HKEY_LOCAL_MACHINE\SOFTWARE\NSClient\Parms"

You could also use netstat -ab on your Windows machine to see what port
it's listening on.

--
Marc

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
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] $SERVICEOUTPUT$ problem

2007-02-22 Thread Marc Powell


> -Original Message-
> From: [EMAIL PROTECTED] [mailto:nagios-users-
> [EMAIL PROTECTED] On Behalf Of Sandeep Narasimha Murthy
> Sent: Thursday, February 22, 2007 11:41 AM
> To: nagios-users@lists.sourceforge.net
> Subject: [Nagios-users] $SERVICEOUTPUT$ problem
> 


> The problem here is with the char "(" because when my SMS script
received
> a message which contains "(" it fails.
> 
> Can I alter these messages ? or is there any other alternative ?

http://nagios.sourceforge.net/docs/2_0/configmain.html#illegal_macro_out
put_chars
 
or make your notification command something that munges the output
you're sending before calling your pager program.

--
Marc

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
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] monitoring sql counter files

2007-02-22 Thread Phil Costelloe
Rusty Hall wrote:
> Has anyone tried accessing the performance counter files for SQL
> Server 2000 Enterprise on a Windows 2003 server. I am trying to
> access SQL Server counter files, but im running into issues with the
> following counters SQLServer:SQL Statistics Batch Requests/sec, I can
> access OS related counter files on this server.  No luck with any of
> the SQL Server Ones. I have added a few command that im trying to
> work with:  
> 
> ./check_nc_net -H $HOSTADDRESS$ -v COUNTER -l "\\SQLServer:SQL
> Statistics\\Batch Requests/sec","Batch Request per sec is %.f%%"
> ./check_nc_net -H $HOSTADDRESS$ -v COUNTER -l "\\SQLServer:General
> Statistics\\User Connections","User Connections %.f%%"  
> 
> The result I get from the command is -1, which I know is wrong.  I
> have nagios 2.5 on Redhat running with NC_NET for windows servers. 

I monitor both of those (amongst many others) and get sensible results
back (SQL Server 2000 Standard on Windows Server 2003). The counter
definitions look the same, but I use check_nt/NSCLient which may or may
not matter. Can you query those counters on the server itself? I have
seen SQL Servers where the SQL performance counters would dip in and out
of existence in a worrying way.

#SQLServer: SQL Statistics: Batch Requests/Sec - all activity including
transactions
define command{
command_namecheck_nt_mssql_batchreqs
command_line$USER1$/check_nt -H $HOSTADDRESS$ -p $ARG1$ -v COUNTER
-l "\\SQLServer:SQL Statistics\\Batch Requests/sec","Batch requests per
second %.2f" -w $ARG2$ -c $ARG3$ -s $ARG4$
}

#Active connections - users connected
define command{
command_namecheck_nt_mssql_userconns
command_line$USER1$/check_nt -H $HOSTADDRESS$ -p $ARG1$ -v COUNTER
-l "\\SQLServer:General Statistics\\User Connections","User connections
%.0f" -w $ARG2$ -c $ARG3$ -s $ARG4$
}

-- 
Phil Costelloe
Foundation IT, Hermitage Berkshire RG18 9SE 

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
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] $SERVICEOUTPUT$ problem

2007-02-22 Thread Sandeep Narasimha Murthy
Hi,

 

I a facing an issue with the $SERVICEOUTPUT$ variable. The problem only
occurs when I try to send a SMS Notification and when the
$SERVICEOUTPUT$ variable has data such as "(No output ...) or (Service
check timeout)". 

 

The problem here is with the char "(" because when my SMS script
received a message which contains "(" it fails.  

 

Can I alter these messages ? or is there any other alternative ?

 

thanks,

sg

 



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] How to check disk space, processes, etc. on remote host?

2007-02-22 Thread Aaron M. Segura
nagiosexchange.org is also just filthy with SNMP-based system checks.

On Thu, 2007-02-22 at 11:19 -0600, Josh Yost wrote:
> patrickm wrote:
> > Hello,
> > 
> > I saw on the Nagios Exchange that there is a NRPE plugin, but requires the 
> > nrpe to be installed on each remote host.  Is there a way to check this 
> > stuff via SNMP?  I'm still a little new to SNMP, but I'm learning as I read 
> > more.  Can I configure the SNMP daemon on each server (we have linux and 
> > AIX machines) to display these results so SNMP can pick it up?
> > 
> > What do you folks suggest?
> > 
> > 
> 
> Hi,
>   You could ask the omniscient google =)
> (http://www.google.com/search?q=nagios+SNMP+plugin)
> 
> The following link has several very useful, SNMP-based Nagios plugins -
> it also comes up first on the above Google search:
> 
> http://www.manubulon.com/nagios/
> 
> good luck,
> - Josh
> 
> -
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> ___
> 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

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] How to check disk space, processes, etc. on remote host?

2007-02-22 Thread Josh Yost
patrickm wrote:
> Hello,
> 
> I saw on the Nagios Exchange that there is a NRPE plugin, but requires the 
> nrpe to be installed on each remote host.  Is there a way to check this stuff 
> via SNMP?  I'm still a little new to SNMP, but I'm learning as I read more.  
> Can I configure the SNMP daemon on each server (we have linux and AIX 
> machines) to display these results so SNMP can pick it up?
> 
> What do you folks suggest?
> 
> 

Hi,
You could ask the omniscient google =)
(http://www.google.com/search?q=nagios+SNMP+plugin)

The following link has several very useful, SNMP-based Nagios plugins -
it also comes up first on the above Google search:

http://www.manubulon.com/nagios/

good luck,
- Josh

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
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] How to check disk space, processes, etc. on remote host?

2007-02-22 Thread patrickm
Hello,

I saw on the Nagios Exchange that there is a NRPE plugin, but requires the nrpe 
to be installed on each remote host.  Is there a way to check this stuff via 
SNMP?  I'm still a little new to SNMP, but I'm learning as I read more.  Can I 
configure the SNMP daemon on each server (we have linux and AIX machines) to 
display these results so SNMP can pick it up?

What do you folks suggest?




-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
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] notification_interval in serviceescalation ignored

2007-02-22 Thread Sjaak Nabuurs
Hello Rejo

Looks like an performance issue, long timeouts on plugins.
Can you track the check_execution_time and the check_latency when you 
have an escalation.
Any sugestion on performance : parralizing check's.
Monitor how much nagios processes on good and bad times are running.


Sjaak




Rejo Zenger wrote:

>Hi there,
>
>I am still strugling with the following problem. I do not expect this to
>be a bug, but until now I have not been able to get it working the way I
>want it. Anybody with a good suggestion?
>
>
>  
>
>>The problem in short: the escalations are working like a charm, but the
>>notification interval of the escalation seems to be ignored. In more 
>>detail, the configuration is as follows:
>>
>>| define serviceescalation {
>>| first_notification 1
>>| last_notification 0
>>| notification_interval 900
>>| contact_groups cg-all-sane
>>| service_description $service
>>| host_name $host
>>| escalation_options r,w,u,c
>>| }
>> 
>>| define serviceescalation {
>>| first_notification 12
>>| last_notification 0
>>| notification_interval 3600
>>| escalation_period twentyfourseven
>>| contact_groups cg-storingsdienst-escalatie
>>| service_description $service
>>| host_name $host
>>| escalation_options r,c
>>| }
>>
>>| define serviceescalation {
>>| first_notification 4
>>| last_notification 0
>>| notification_interval 1800
>>| escalation_period twentyfourseven
>>| contact_groups cg-storingsdienst
>>| service_description $service
>>| host_name $host
>>| escalation_options r,w,u,c
>>| }
>>
>>| interval_length=1
>>
>>| define service {
>>| name s
>>| register 0
>>| max_check_attempts 6
>>| normal_check_interval 120
>>| retry_check_interval 20
>>| check_period twentyfourseven
>>| notification_interval 300
>>| notification_period twentyfourseven
>>| notifications_enabled 1
>>| register 0
>>| notification_options w,u,c,r,f
>>| contact_groups cg-all-insane
>>
>>I believe this would, in case of a long lasting problem, result in:
>>- a notification to all contacts in cg-all-sane every 15 minutes, starting
>>  immediatelly when there is a problem
>>- a notification to all contacts in cg-storingsdienst every 30 minutes if
>>  problem has not been resovled or acknowledged within 20 minutes
>>- a notification to all contacts in cg-storingsdienst-escalatie every 60
>>  minutes if problem has not been resovled or acknowledged within 1 hour
>>
>>There are no overlaps in contacts between the various contactgroups (I have
>>created separate e-mailaddresses to be notified, to avoid problems). 
>>
>>Testing this setup resulted in the following notifications:
>>
>> 07:50:44  cg-all-sane
>> 08:07:32  cg-all-sane
>> 08:24:32  cg-all-sane
>> 08:41:24  cg-all-sane, cg-storingsdienst
>> 08:58:19  cg-all-sane, cg-storingsdienst
>> 09:15:10  cg-all-sane, cg-storingsdienst
>> 09:32:16  cg-all-sane, cg-storingsdienst
>> 09:49:25  cg-all-sane, cg-storingsdienst
>> 10:06:31  cg-all-sane, cg-storingsdienst
>> 10:23:38  cg-all-sane, cg-storingsdienst
>> 10:40:38  cg-all-sane, cg-storingsdienst
>> 10:57:40  cg-all-sane, cg-storingsdienst, cg-storingsdienst-escalatie
>> 11:14:46  cg-all-sane, cg-storingsdienst, cg-storingsdienst-escalatie
>> 11:29:49  cg-all-sane, cg-storingsdienst, cg-storingsdienst-escalatie
>> 11:46:58  cg-all-sane, cg-storingsdienst, cg-storingsdienst-escalatie
>>
>>After this the problem was resolved. I am happy with the escalation, but the
>>thing that does not work is the notification interval. It seems the setting 
>>is being ignored. What is it I am doing wrong here?
>>
>>
>
>Any help is appreciated.
>
>  
>
>
>
>-
>Take Surveys. Earn Cash. Influence the Future of IT
>Join SourceForge.net's Techsay panel and you'll get the chance to share your
>opinions on IT & business topics through brief surveys-and earn cash
>http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>
>
>
>___
>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
>
>
>
>No virus found in this incoming message.
>Checked by AVG Free Edition.
>Version: 7.5.441 / Virus Database: 268.18.3/696 - Release Date: 21-2-2007 15:19
>  
>

--

[Nagios-users] monitoring sql counter files

2007-02-22 Thread Rusty Hall
Has anyone tried accessing the performance counter files for SQL Server 
2000 Enterprise on a Windows 2003 server. I am trying to access SQL Server 
counter files, but im running into issues with the following counters 
SQLServer:SQL Statistics Batch Requests/sec, I can access OS related counter 
files on this server.  No luck with any of the SQL Server Ones. I have added a 
few command that im trying to work with:
 
./check_nc_net -H $HOSTADDRESS$ -v COUNTER -l "\\SQLServer:SQL 
Statistics\\Batch Requests/sec","Batch Request per sec is %.f%%"
./check_nc_net -H $HOSTADDRESS$ -v COUNTER -l "\\SQLServer:General 
Statistics\\User Connections","User Connections %.f%%"
 
The result I get from the command is -1, which I know is wrong.  I have nagios 
2.5 on Redhat running with NC_NET for windows servers.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
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] TCP/IP Port that NSClient 2.x uses

2007-02-22 Thread Kaplan, Andrew H.
Hi there -

 

I have a Windows server running NSClient 2.1 on it. I recently activated a
firewall on the server and I need to allow an exception for the nsclient

in order for our Nagios 2.6 server to monitor the remote system. Does anyone
know what is the port number(s) that nsclient uses? Thanks. 






The information transmitted in this electronic communication is intended only 
for the person or entity to whom it is addressed and may contain confidential 
and/or privileged material. Any review, retransmission, dissemination or other 
use of or taking of any action in reliance upon this information by persons or 
entities other than the intended recipient is prohibited. If you received this 
information in error, please contact the Compliance HelpLine at 800-856-1983 
and properly dispose of this information.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
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] SQL Counter File

2007-02-22 Thread Rusty Hall
Has anyone tried accessing the performance counter files for SQL
Server 2000 Enterprise on a Windows 2003 server. I am trying to access
SQL Server counter files, but im running into issues with the following
counters SQLServer:SQL Statistics Batch Requests/sec, I can access OS
related counter files on this server.  No luck with any of the SQL
Server Ones. I have added a few command that im trying to work with:
 
./check_nc_net -H $HOSTADDRESS$ -v COUNTER -l "\\SQLServer:SQL
  Statistics\\Batch Requests/sec","Batch Request
per sec is %.f%%"
./check_nc_net -H $HOSTADDRESS$ -v COUNTER -l "\\SQLServer:General
  Statistics\\User Connections","User
Connections %.f%%"
 
The result I get from the command is -1, which I know is wrong.  I have
nagios 2.5 on Redhat running with NC_NET for windows servers.
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
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 unable to read output

2007-02-22 Thread Hari Sekhon

no the server is RHEL4 (unfortunately, )

There is no jailing going on. All my nagios plugins, both normal and 
using sudo work via the nrpe on the remote server.


My only thought is that the plugin itself does not have a tty and that 
perhaps this is causing this specific plugin to fail




Hari Sekhon



Andy Shellam (Mailing Lists) wrote:
Another stab in the dark... the NRPE agent isn't inside a BSD jail is 
it?  My Nagios host refuses to read NRPE's output in a machine that's 
jailed :(


Andy.


Hari Sekhon wrote:
Thanks for the reply, I just tried that but unfortunately it still 
gave the same result.


I have another sudo /etc/nagios/plugin and that works. Also, su-ing 
to nagios and then running the command by hand works.


so I'm still stuck

Hari Sekhon
  


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
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] notification_interval in serviceescalation ignored

2007-02-22 Thread Rejo Zenger
Hi there,

I am still strugling with the following problem. I do not expect this to
be a bug, but until now I have not been able to get it working the way I
want it. Anybody with a good suggestion?


>The problem in short: the escalations are working like a charm, but the
>notification interval of the escalation seems to be ignored. In more 
>detail, the configuration is as follows:
>
> | define serviceescalation {
> | first_notification 1
> | last_notification 0
> | notification_interval 900
> | contact_groups cg-all-sane
> | service_description $service
> | host_name $host
> | escalation_options r,w,u,c
> | }
>  
> | define serviceescalation {
> | first_notification 12
> | last_notification 0
> | notification_interval 3600
> | escalation_period twentyfourseven
> | contact_groups cg-storingsdienst-escalatie
> | service_description $service
> | host_name $host
> | escalation_options r,c
> | }
> 
> | define serviceescalation {
> | first_notification 4
> | last_notification 0
> | notification_interval 1800
> | escalation_period twentyfourseven
> | contact_groups cg-storingsdienst
> | service_description $service
> | host_name $host
> | escalation_options r,w,u,c
> | }
>
> | interval_length=1
>
> | define service {
> | name s
> | register 0
> | max_check_attempts 6
> | normal_check_interval 120
> | retry_check_interval 20
> | check_period twentyfourseven
> | notification_interval 300
> | notification_period twentyfourseven
> | notifications_enabled 1
> | register 0
> | notification_options w,u,c,r,f
> | contact_groups cg-all-insane
>
>I believe this would, in case of a long lasting problem, result in:
> - a notification to all contacts in cg-all-sane every 15 minutes, starting
>   immediatelly when there is a problem
> - a notification to all contacts in cg-storingsdienst every 30 minutes if
>   problem has not been resovled or acknowledged within 20 minutes
> - a notification to all contacts in cg-storingsdienst-escalatie every 60
>   minutes if problem has not been resovled or acknowledged within 1 hour
>
>There are no overlaps in contacts between the various contactgroups (I have
>created separate e-mailaddresses to be notified, to avoid problems). 
>
>Testing this setup resulted in the following notifications:
>
>  07:50:44  cg-all-sane
>  08:07:32  cg-all-sane
>  08:24:32  cg-all-sane
>  08:41:24  cg-all-sane, cg-storingsdienst
>  08:58:19  cg-all-sane, cg-storingsdienst
>  09:15:10  cg-all-sane, cg-storingsdienst
>  09:32:16  cg-all-sane, cg-storingsdienst
>  09:49:25  cg-all-sane, cg-storingsdienst
>  10:06:31  cg-all-sane, cg-storingsdienst
>  10:23:38  cg-all-sane, cg-storingsdienst
>  10:40:38  cg-all-sane, cg-storingsdienst
>  10:57:40  cg-all-sane, cg-storingsdienst, cg-storingsdienst-escalatie
>  11:14:46  cg-all-sane, cg-storingsdienst, cg-storingsdienst-escalatie
>  11:29:49  cg-all-sane, cg-storingsdienst, cg-storingsdienst-escalatie
>  11:46:58  cg-all-sane, cg-storingsdienst, cg-storingsdienst-escalatie
>
>After this the problem was resolved. I am happy with the escalation, but the
>thing that does not work is the notification interval. It seems the setting 
>is being ignored. What is it I am doing wrong here?

Any help is appreciated.

-- 
Rejo Zenger <[EMAIL PROTECTED]> https://rejo.zenger.nl


signature.asc
Description: Digital signature
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
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_nt & Microsoft Exchange 6.5

2007-02-22 Thread Phil Costelloe
Mark Duffy wrote:
> Firstly, thanks for the reply:
> 
>> Based on that document, I've set up the following commands. I'm not
>> really sure how well they're working (they always return 0 on the
>> quiet Exchange box I'm using them on so far) so I'd be interested to
>> hear how you get on.
> 
> It seems no matter what queue you enter to check you always get a
> value of 0 returned, check a queue that doesn't exist and you still
> get a 0, you can also pause the queues in system manager and still
> get values of 0 returned for the queues   

The queues you see in Exchange System Manager don't seem to be exactly
represented in the Windows performance counters so you can't directly
monitor the queues as seen in the Exchange Queue Viewer, which is a
shame since every internal Exchange metric seems to be exposed except
the ones that Exchange itself displays to you.

But I've just done some testing and found the opposite to your
experience. If I freeze an SMTP Connector queue in System Manager, the
Nagios check "Exchange SMTP remote queues"
(\\SMTP Server(_Total)\\Remote Queue Length) goes up in sync with the
number of messages held in the queue. If I freeze the Local Delivery
queue in System Manager, the Nagios check "Exchange SMTP local queues"
(\\SMTP Server(_Total)\\Local Queue Length) goes up in sync with the
number of messages held in the queue.

Phil
 


Phil Costelloe
Technical Consultant

   
[EMAIL PROTECTED]
http://www.foundation-it.com
Foundation IT
Foundation Court
Old Street
Oare
Hermitage Berkshire RG18 9SE
Switch: +44 (0) 1635 203700
Helpdesk: +44 (0) 800 0121099
DDI: +44 (0) 1635 203719
Fax: +44 (0) 8700 543537
Mobile: +44 (0) 7884 236299

 


 

   Visit us on stand: 734
http://www.businesscontinuityexpo.co.uk/foundation_it 

 



 This message contains confidential information and is intended only for [EMAIL 
PROTECTED] If you are not nagios-users@lists.sourceforge.net you should not 
disseminate, distribute or copy this e-mail. Please notify Foundation IT 
immediately by e-mail if you have received this e-mail by mistake and delete 
this e-mail from your system. E-mail transmission cannot be guaranteed to be 
secure or error-free as information could be intercepted, corrupted, lost, 
destroyed, arrive late or incomplete, or contain viruses. Foundation IT 
therefore does not accept liability for any errors or omissions in the contents 
of this message, which arise as a result of e-mail transmission. If 
verification is required please request a hard-copy version.


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
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