Re: [Nagios-users] SNMP/Windows disk usage

2008-03-25 Thread Melanie Pfefer
Sorry to keep this thread on.

I reproduced the problem: copy a large file to E:

nagios did send a warning message but on D: instead of
E: in the "additional info"
It sent another message when I deleted the file but it
indicated D: not E: again


Any idea where this "additional info" is defined?

thanks bunches


--- Melanie Pfefer <[EMAIL PROTECTED]> wrote:

> Hi again,
> 
> Do you have an idea why check_snmp_windows_disk
> displays:
> 
> Additional Info:
> 
> D:
> 
> in its warning message even if the partition that is
> full is E: for example?
> 
> thanks
> 
> --- Marc Powell <[EMAIL PROTECTED]> wrote:
> 
> > 
> > 
> > > -Original Message-
> > > From: Melanie Pfefer
> > [mailto:[EMAIL PROTECTED]
> > > Sent: Thursday, February 28, 2008 11:08 AM
> > > To: Marc Powell;
> > nagios-users@lists.sourceforge.net
> > > Subject: Re: [Nagios-users] SNMP/Windows disk
> > usage
> > > 
> > > Hello and thanks bunches
> > > 
> > > When some machines are overloaded, the snmp
> alert
> > is
> > > sent. How to increase the alert period so that I
> > do
> > > not receive this alert frequently.
> > 
> > Clarify your question please.
> > 
> > "The service isn't down long enough before I
> receive
> > a notification" -
> > Increase max_check_attempts.
> > 
> > "The service is hard down and I've received a
> > notification. I want to
> > increase the time before a re-notification will be
> > sent" - Increase
> > notification_interval or look at escalations.
> > 
> > "Other..." - ?
> > 
> > --
> > Marc
> > 
> >
>
-
> > This SF.net email is sponsored by: Microsoft
> > Defy all challenges. Microsoft(R) Visual Studio
> > 2008.
> >
>
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
> > ___
> > Nagios-users mailing list
> > Nagios-users@lists.sourceforge.net
> >
>
https://lists.sourceforge.net/lists/listinfo/nagios-users
> > ::: Please include Nagios version, plugin version
> > (-v) and OS when reporting any issue. 
> > ::: Messages without supporting info will risk
> being
> > sent to /dev/null
> > 
> 
> 
> 
>  
>
__
> Sent from Yahoo! Mail.
> More Ways to Keep in Touch.
> http://uk.docs.yahoo.com/nowyoucan.html
> 
>
-
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio
> 2008.
>
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
> ___
> Nagios-users mailing list
> Nagios-users@lists.sourceforge.net
>
https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version
> (-v) and OS when reporting any issue. 
> ::: Messages without supporting info will risk being
> sent to /dev/null
> 



  __
Sent from Yahoo! Mail.
More Ways to Keep in Touch. http://uk.docs.yahoo.com/nowyoucan.html

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
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] SNMP/Windows disk usage

2008-03-25 Thread Melanie Pfefer
Hi again,

Do you have an idea why check_snmp_windows_disk
displays:

Additional Info:

D:

in its warning message even if the partition that is
full is E: for example?

thanks

--- Marc Powell <[EMAIL PROTECTED]> wrote:

> 
> 
> > -Original Message-
> > From: Melanie Pfefer
> [mailto:[EMAIL PROTECTED]
> > Sent: Thursday, February 28, 2008 11:08 AM
> > To: Marc Powell;
> nagios-users@lists.sourceforge.net
> > Subject: Re: [Nagios-users] SNMP/Windows disk
> usage
> > 
> > Hello and thanks bunches
> > 
> > When some machines are overloaded, the snmp alert
> is
> > sent. How to increase the alert period so that I
> do
> > not receive this alert frequently.
> 
> Clarify your question please.
> 
> "The service isn't down long enough before I receive
> a notification" -
> Increase max_check_attempts.
> 
> "The service is hard down and I've received a
> notification. I want to
> increase the time before a re-notification will be
> sent" - Increase
> notification_interval or look at escalations.
> 
> "Other..." - ?
> 
> --
> Marc
> 
>
-
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio
> 2008.
>
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
> ___
> Nagios-users mailing list
> Nagios-users@lists.sourceforge.net
>
https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version
> (-v) and OS when reporting any issue. 
> ::: Messages without supporting info will risk being
> sent to /dev/null
> 



  __
Sent from Yahoo! Mail.
More Ways to Keep in Touch. http://uk.docs.yahoo.com/nowyoucan.html

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


Re: [Nagios-users] SNMP/Windows disk usage

2008-02-28 Thread Marc Powell


> -Original Message-
> From: Melanie Pfefer [mailto:[EMAIL PROTECTED]
> Sent: Thursday, February 28, 2008 11:08 AM
> To: Marc Powell; nagios-users@lists.sourceforge.net
> Subject: Re: [Nagios-users] SNMP/Windows disk usage
> 
> Hello and thanks bunches
> 
> When some machines are overloaded, the snmp alert is
> sent. How to increase the alert period so that I do
> not receive this alert frequently.

Clarify your question please.

"The service isn't down long enough before I receive a notification" -
Increase max_check_attempts.

"The service is hard down and I've received a notification. I want to
increase the time before a re-notification will be sent" - Increase
notification_interval or look at escalations.

"Other..." - ?

--
Marc

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


Re: [Nagios-users] SNMP/Windows disk usage

2008-02-28 Thread Melanie Pfefer
Hello and thanks bunches

When some machines are overloaded, the snmp alert is
sent. How to increase the alert period so that I do
not receive this alert frequently.

thanks.
--- Marc Powell <[EMAIL PROTECTED]> wrote:

> 
> 
> > -Original Message-
> > From: [EMAIL PROTECTED]
> [mailto:nagios-users-
> > [EMAIL PROTECTED] On Behalf Of Yost,
> Karl
> > Sent: Monday, February 25, 2008 8:11 AM
> > To: nagios-users@lists.sourceforge.net
> > Subject: Re: [Nagios-users] SNMP/Windows disk
> usage
> 
> 
> > 2. You need to manually create an external command
> file in the
> location
> > specified in the error. The easiest way is to
> return to the dir where
> > your compiled nagios and run 'make
> install-commandmode'
> 
> For clarification and the archives, you must not
> create the file itself.
> It's not a regular file and Nagios will take care of
> creating it. You
> must create the directory that it lives in though,
> with read/write
> permissions for the Nagios user. The above-mentioned
> 'make
> install-commandmode' is easiest way.
> 
> --
> Marc
> 
>
-
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio
> 2008.
>
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
> ___
> Nagios-users mailing list
> Nagios-users@lists.sourceforge.net
>
https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version
> (-v) and OS when reporting any issue. 
> ::: Messages without supporting info will risk being
> sent to /dev/null
> 



  __
Sent from Yahoo! Mail.
A Smarter Inbox. http://uk.docs.yahoo.com/nowyoucan.html

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


Re: [Nagios-users] SNMP/Windows disk usage

2008-02-25 Thread Marc Powell


> -Original Message-
> From: [EMAIL PROTECTED] [mailto:nagios-users-
> [EMAIL PROTECTED] On Behalf Of Yost, Karl
> Sent: Monday, February 25, 2008 8:11 AM
> To: nagios-users@lists.sourceforge.net
> Subject: Re: [Nagios-users] SNMP/Windows disk usage


> 2. You need to manually create an external command file in the
location
> specified in the error. The easiest way is to return to the dir where
> your compiled nagios and run 'make install-commandmode'

For clarification and the archives, you must not create the file itself.
It's not a regular file and Nagios will take care of creating it. You
must create the directory that it lives in though, with read/write
permissions for the Nagios user. The above-mentioned 'make
install-commandmode' is easiest way.

--
Marc

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


Re: [Nagios-users] SNMP/Windows disk usage

2008-02-25 Thread Yost, Karl
1. You do not need net-snmp for the win2k servers, just install it like
you did snmp for 2k3.

2. You need to manually create an external command file in the location
specified in the error. The easiest way is to return to the dir where
your compiled nagios and run 'make install-commandmode'

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Melanie
Pfefer
Sent: Monday, February 25, 2008 3:50 AM
To: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] SNMP/Windows disk usage

Hello

Thanks indeed.
I have one windows 2000 server among the windows
servers. should I simply install snmp on this machine
(just as windows 2003?) or do I need net-snmp?

Meanwhile, this host is part of a hostgroup. I wanted
to disable the disk check for this host only but I got
this:

Sorry, but Nagios is currently not checking for
external commands, so your command will not be
committed!
Read the documentation for information on how to
enable external commands...
 
I tried to change this from nagios.cfg:
check_external_commands=1 (was 0)

but nagios failed to start.

Any idea how to disable this check for this host only?

This is what I had in the logs:

[1203927618] Error: Could not create external command
file '/usr/local/nagios2/var/rw/nagios.cmd' as named
pipe: (2) -> No such file or directory.  If this file
already exists and you are sure that another copy of
Nagios is not running, you should delete this file.
[1203927618] Bailing out due to errors encountered
while trying to initialize the external command
file... (PID=11896)


thanks

--- [EMAIL PROTECTED] wrote:

> Melanie Pfefer <[EMAIL PROTECTED]> wrote on
> 02/22/2008 09:16:51 
> AM:
> 
> > Hello Mark, all,
> > Yes true but what to put instead of the
> hostname(TROY)
> > in?
> > check_snmp_windows_disk!TROY!95!98!^[CDE]:!
> > in case I want to put the hostgroup_name 
> > 
> > thanks
> You would use hostgroup_name in the service
> definition and this line:
> 
> check_snmp_windows_disk!$HOSTADDRESS$!95!98!^[CDE]:
> 
> You can use $HOSTNAME$ but I wouldn't as DNS issues
> will then cause your 
> checks to fail.



  __
Sent from Yahoo! Mail.
A Smarter Inbox. http://uk.docs.yahoo.com/nowyoucan.html


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

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


Re: [Nagios-users] SNMP/Windows disk usage

2008-02-25 Thread Melanie Pfefer
Hello

Thanks indeed.
I have one windows 2000 server among the windows
servers. should I simply install snmp on this machine
(just as windows 2003?) or do I need net-snmp?

Meanwhile, this host is part of a hostgroup. I wanted
to disable the disk check for this host only but I got
this:

Sorry, but Nagios is currently not checking for
external commands, so your command will not be
committed!
Read the documentation for information on how to
enable external commands...
 
I tried to change this from nagios.cfg:
check_external_commands=1 (was 0)

but nagios failed to start.

Any idea how to disable this check for this host only?

This is what I had in the logs:

[1203927618] Error: Could not create external command
file '/usr/local/nagios2/var/rw/nagios.cmd' as named
pipe: (2) -> No such file or directory.  If this file
already exists and you are sure that another copy of
Nagios is not running, you should delete this file.
[1203927618] Bailing out due to errors encountered
while trying to initialize the external command
file... (PID=11896)


thanks

--- [EMAIL PROTECTED] wrote:

> Melanie Pfefer <[EMAIL PROTECTED]> wrote on
> 02/22/2008 09:16:51 
> AM:
> 
> > Hello Mark, all,
> > Yes true but what to put instead of the
> hostname(TROY)
> > in?
> > check_snmp_windows_disk!TROY!95!98!^[CDE]:!
> > in case I want to put the hostgroup_name 
> > 
> > thanks
> You would use hostgroup_name in the service
> definition and this line:
> 
> check_snmp_windows_disk!$HOSTADDRESS$!95!98!^[CDE]:
> 
> You can use $HOSTNAME$ but I wouldn't as DNS issues
> will then cause your 
> checks to fail.



  __
Sent from Yahoo! Mail.
A Smarter Inbox. http://uk.docs.yahoo.com/nowyoucan.html

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


Re: [Nagios-users] SNMP/Windows disk usage

2008-02-22 Thread mark . potter
Melanie Pfefer <[EMAIL PROTECTED]> wrote on 02/22/2008 09:16:51 
AM:

> Hello Mark, all,
> Yes true but what to put instead of the hostname(TROY)
> in?
> check_snmp_windows_disk!TROY!95!98!^[CDE]:!
> in case I want to put the hostgroup_name 
> 
> thanks
You would use hostgroup_name in the service definition and this line:

check_snmp_windows_disk!$HOSTADDRESS$!95!98!^[CDE]:

You can use $HOSTNAME$ but I wouldn't as DNS issues will then cause your 
checks to fail.-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] SNMP/Windows disk usage

2008-02-22 Thread Russell Adams
Mark,

I have used NACE in the past to configure one service per disk
according to criteria like include hard drives, exclude CDROM, etc,
with varying host groups (C: & D: were OS, others were applications)
and more.

Also, if you're in the Houston area you ought to stop by HLUG. I'm
often at the Wednesday working session.

Enjoy!

On Tue, Feb 19, 2008 at 08:51:21AM -0600, [EMAIL PROTECTED] wrote:
> Melanie,
> 
> I have setup the plugin available here: 
> http://nagios.manubulon.com/snmp_storage.html and it works perfectly for 
> our needs. It uses SNMP so you would have to have SNMP setup on all of 
> your Windows boxes but with that caveat it is the best solution I have 
> found for monitoring windows partitions. If you are looking for something 
> slightly less complicated or with fewer options there are many plugins on 
> nagiosexchange.com that will do the job. I would recommend 
> check_snmp_storage though due to the options and the robustness of the 
> plugin.
> 
> Best Regards,
> 
> Mark L. Potter
> Systems Engineer
> Academy Sports & Outdoors
> 1800 N. Mason Rd
> Katy, Texas 77449


--
Russell Adams[EMAIL PROTECTED]

PGP Key ID: 0x1160DCB3   http://www.adamsinfoserv.com/

Fingerprint:1723 D8CA 4280 1EC9 557F  66E8 1154 E018 1160 DCB3

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


Re: [Nagios-users] SNMP/Windows disk usage

2008-02-22 Thread mark . potter
Melanie Pfefer <[EMAIL PROTECTED]> wrote on 02/22/2008 05:53:03 
AM:

> also another question please. I had no problem on my
> test machine. On my prod machine I got this error:
> 
> (No output!) 
> 
> according to
> http://nagios.manubulon.com/faq.html#FAQ8, I should
> apply a patch. In that case, how to apply this patch?
> 
> according to
> http://www.nagios.org/faqs/viewfaq.php?faq_id=336, I
> need to add use lib "path-to-utils.pm" to the perl
> script. how to specify that path?
> 
> thanks
> PS: I m using Linux fedora
> 
(No Output) could be a variety of things. First run the command from the 
command line with the -v switch to see the verbose output, as the nagios 
user of course, and from there begin troubleshooting. I doubt it is option 
#2 since I have not had to modify the script on any server. If you have to 
apply a patch I would start with contacting the developer of the script.-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] SNMP/Windows disk usage

2008-02-22 Thread Melanie Pfefer
it is ok
had to change
use lib "/usr/local/nagios/libexec";
to 
use lib "/usr/local/nagios2/libexec";

thanks
--- [EMAIL PROTECTED] wrote:

> Melanie Pfefer <[EMAIL PROTECTED]> wrote on
> 02/22/2008 05:53:03 
> AM:
> 
> > also another question please. I had no problem on
> my
> > test machine. On my prod machine I got this error:
> > 
> > (No output!) 
> > 
> > according to
> > http://nagios.manubulon.com/faq.html#FAQ8, I
> should
> > apply a patch. In that case, how to apply this
> patch?
> > 
> > according to
> > http://www.nagios.org/faqs/viewfaq.php?faq_id=336,
> I
> > need to add use lib "path-to-utils.pm" to the perl
> > script. how to specify that path?
> > 
> > thanks
> > PS: I m using Linux fedora
> > 
> (No Output) could be a variety of things. First run
> the command from the 
> command line with the -v switch to see the verbose
> output, as the nagios 
> user of course, and from there begin
> troubleshooting. I doubt it is option 
> #2 since I have not had to modify the script on any
> server. If you have to 
> apply a patch I would start with contacting the
> developer of the script.



  ___ 
Rise to the challenge for Sport Relief with Yahoo! For Good  

http://uk.promotions.yahoo.com/forgood/

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


Re: [Nagios-users] SNMP/Windows disk usage

2008-02-22 Thread Melanie Pfefer
Hello Mark, all,
Yes true but what to put instead of the hostname(TROY)
in?
check_snmp_windows_disk!TROY!95!98!^[CDE]:!
in case I want to put the hostgroup_name 

thanks
--- [EMAIL PROTECTED] wrote:

> Melanie Pfefer <[EMAIL PROTECTED]> wrote on
> 02/22/2008 05:34:39 
> AM:
> 
> > thanks indeed
> > 
> > Now if I want to use hostgroup_name instead of
> > host_name,
> > 
> > ow to write the check_command line in
> services.cfg?
> > 
> > check_command 
> > check_snmp_windows_disk!TROY!95!98!^[CDE]:!
> > 
> > is working for TROY only What should I do to apply
> it
> > on all hosts of a group?
> > 
> > thx
> 
> Just use hostgroup_name instead of host_name. That's
> in the Nagios docs.>
-
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio
> 2008.
>
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/>
___
> Nagios-users mailing list
> Nagios-users@lists.sourceforge.net
>
https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version
> (-v) and OS when reporting any issue. 
> ::: Messages without supporting info will risk being
> sent to /dev/null



  ___ 
Rise to the challenge for Sport Relief with Yahoo! For Good  

http://uk.promotions.yahoo.com/forgood/

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


Re: [Nagios-users] SNMP/Windows disk usage

2008-02-22 Thread mark . potter
Melanie Pfefer <[EMAIL PROTECTED]> wrote on 02/22/2008 05:34:39 
AM:

> thanks indeed
> 
> Now if I want to use hostgroup_name instead of
> host_name,
> 
> ow to write the check_command line in services.cfg?
> 
> check_command 
> check_snmp_windows_disk!TROY!95!98!^[CDE]:!
> 
> is working for TROY only What should I do to apply it
> on all hosts of a group?
> 
> thx

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

Re: [Nagios-users] SNMP/Windows disk usage

2008-02-22 Thread Melanie Pfefer
also another question please. I had no problem on my
test machine. On my prod machine I got this error:

(No output!) 

according to
http://nagios.manubulon.com/faq.html#FAQ8, I should
apply a patch. In that case, how to apply this patch?

according to
http://www.nagios.org/faqs/viewfaq.php?faq_id=336, I
need to add use lib "path-to-utils.pm" to the perl
script. how to specify that path?

thanks
PS: I m using Linux fedora

--- Melanie Pfefer <[EMAIL PROTECTED]> wrote:

> thanks indeed
> 
> Now if I want to use hostgroup_name instead of
> host_name,
> 
> ow to write the check_command line in services.cfg?
> 
> check_command
> check_snmp_windows_disk!TROY!95!98!^[CDE]:!
> 
> is working for TROY only What should I do to apply
> it
> on all hosts of a group?
> 
> thx
> 
> --- [EMAIL PROTECTED] wrote:
> 
> > "Valdinger, Stephen (DOV, MSX)"
> > <[EMAIL PROTECTED]> wrote on 
> > 02/20/2008 07:09:34 AM:
> > 
> > > -Original Message-
> > > From: Melanie Pfefer
> > [mailto:[EMAIL PROTECTED] 
> > > Sent: Wednesday, February 20, 2008 8:01 AM
> > > To: [EMAIL PROTECTED]
> > > Cc: nagios-users@lists.sourceforge.net
> > > Subject: Re: [Nagios-users] SNMP/Windows disk
> > usage
> > > 
> > > Hello again
> > > 
> > > I downloaded the perl script and indeed I can
> use
> > it
> > > manually:
> > > ./check_snmp_storage.pl -H TROY -C public -m
> > ^[CDE]:
> > > -w 80% -c 90%
> > > 
> > > D:\ Label:  Serial Number 225e3590:
> > > 3%used(2587MB/89495MB) C:\ Label:  Serial Number
> > > 8cfa6a13: 27%used(6644MB/25000MB) (<80%) : OK
> > > 
> > > 
> > > 
> > > In nagios, I should define a service and a
> command
> > to
> > > start using check_snmp_storage.pl. Could you
> > please
> > > help in what I should add?
> > > 
> > > Many thanks
> > > 
> > > <>
> > > 
> > > Melanie, 
> > > 
> > >Here is a sample command and service
> definition
> > that I use with
> > > this plugin:
> > > 
> > > In commands.cfg:
> > > 
> > > define command{
> > > command_namecheck_c:\
> > > command_line   
> > $USER1$/check_snmp_storage.pl -H $HOSTADDRESS$
> > > -C $USER3$ -m ^C: -w 85 -c 95
> > > }
> > > 
> > > In services.cfg (or wherever you place your
> > service definitions)
> > > 
> > > define service{
> > >use   generic-service
> > >host_name   
> > >service_description   Check C:\ Usage Data
> > >check_command   check_c:\
> > >}
> > > 
> > > This is how we use it on our network, your needs
> > may be different. 
> > > Remember when testing to plugin to test as root
> > and to chown
> > > nagiosuser.nagiosgroup when you put it into
> > libexec for it to work
> > > correctly. 
> > > 
> > 
> > Some systems may have issues with the "\" in a
> > command name. I have seen 
> > it blow things up so there is a point on which
> care
> > needs to be taken. I 
> > would also recommend against hard coding -w and -c
> > values where at all 
> > possible. It makes using the same command for
> > multiple services with 
> > different needs much more difficult. Also you
> should
> > always test as the 
> > nagios user and not as root. Testing as root
> really
> > does nothing other 
> > than show permissions and rights issues if the
> > command fails to work as 
> > the nagios user. The script should be in libexec,
> > owned by the nagios user 
> > and group, and tested as the nagios user. If that
> > doesn't work then test 
> > it as root for the same dir with the same
> ownership
> > to see if it works at 
> > all.
> > >
>
-
> > This SF.net email is sponsored by: Microsoft
> > Defy all challenges. Microsoft(R) Visual Studio
> > 2008.
> >
>
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/>
> ___
> > Nagios-users mailing list
> > Nagios-users@lists.sourceforge.net
> >
>
https://lists.sourceforge.net/lists/listinfo/nagios-users
> > ::: Please include Nagios version, plugin version
> > (-v) and OS when reporting any issue. 
> > ::: Messages without su

Re: [Nagios-users] SNMP/Windows disk usage

2008-02-22 Thread Melanie Pfefer
thanks indeed

Now if I want to use hostgroup_name instead of
host_name,

ow to write the check_command line in services.cfg?

check_command
check_snmp_windows_disk!TROY!95!98!^[CDE]:!

is working for TROY only What should I do to apply it
on all hosts of a group?

thx

--- [EMAIL PROTECTED] wrote:

> "Valdinger, Stephen (DOV, MSX)"
> <[EMAIL PROTECTED]> wrote on 
> 02/20/2008 07:09:34 AM:
> 
> > -Original Message-
> > From: Melanie Pfefer
> [mailto:[EMAIL PROTECTED] 
> > Sent: Wednesday, February 20, 2008 8:01 AM
> > To: [EMAIL PROTECTED]
> > Cc: nagios-users@lists.sourceforge.net
> > Subject: Re: [Nagios-users] SNMP/Windows disk
> usage
> > 
> > Hello again
> > 
> > I downloaded the perl script and indeed I can use
> it
> > manually:
> > ./check_snmp_storage.pl -H TROY -C public -m
> ^[CDE]:
> > -w 80% -c 90%
> > 
> > D:\ Label:  Serial Number 225e3590:
> > 3%used(2587MB/89495MB) C:\ Label:  Serial Number
> > 8cfa6a13: 27%used(6644MB/25000MB) (<80%) : OK
> > 
> > 
> > 
> > In nagios, I should define a service and a command
> to
> > start using check_snmp_storage.pl. Could you
> please
> > help in what I should add?
> > 
> > Many thanks
> > 
> > <>
> > 
> > Melanie, 
> > 
> >Here is a sample command and service definition
> that I use with
> > this plugin:
> > 
> > In commands.cfg:
> > 
> > define command{
> > command_namecheck_c:\
> > command_line   
> $USER1$/check_snmp_storage.pl -H $HOSTADDRESS$
> > -C $USER3$ -m ^C: -w 85 -c 95
> > }
> > 
> > In services.cfg (or wherever you place your
> service definitions)
> > 
> > define service{
> >use   generic-service
> >host_name   
> >service_description   Check C:\ Usage Data
> >check_command   check_c:\
> >}
> > 
> > This is how we use it on our network, your needs
> may be different. 
> > Remember when testing to plugin to test as root
> and to chown
> > nagiosuser.nagiosgroup when you put it into
> libexec for it to work
> > correctly. 
> > 
> 
> Some systems may have issues with the "\" in a
> command name. I have seen 
> it blow things up so there is a point on which care
> needs to be taken. I 
> would also recommend against hard coding -w and -c
> values where at all 
> possible. It makes using the same command for
> multiple services with 
> different needs much more difficult. Also you should
> always test as the 
> nagios user and not as root. Testing as root really
> does nothing other 
> than show permissions and rights issues if the
> command fails to work as 
> the nagios user. The script should be in libexec,
> owned by the nagios user 
> and group, and tested as the nagios user. If that
> doesn't work then test 
> it as root for the same dir with the same ownership
> to see if it works at 
> all.
> >
-
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio
> 2008.
>
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/>
___
> Nagios-users mailing list
> Nagios-users@lists.sourceforge.net
>
https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version
> (-v) and OS when reporting any issue. 
> ::: Messages without supporting info will risk being
> sent to /dev/null



  __
Sent from Yahoo! Mail.
A Smarter Inbox. http://uk.docs.yahoo.com/nowyoucan.html

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


Re: [Nagios-users] SNMP/Windows disk usage

2008-02-20 Thread mark . potter
"Valdinger, Stephen (DOV, MSX)" <[EMAIL PROTECTED]> wrote on 
02/20/2008 07:09:34 AM:

> -Original Message-
> From: Melanie Pfefer [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, February 20, 2008 8:01 AM
> To: [EMAIL PROTECTED]
> Cc: nagios-users@lists.sourceforge.net
> Subject: Re: [Nagios-users] SNMP/Windows disk usage
> 
> Hello again
> 
> I downloaded the perl script and indeed I can use it
> manually:
> ./check_snmp_storage.pl -H TROY -C public -m ^[CDE]:
> -w 80% -c 90%
> 
> D:\ Label:  Serial Number 225e3590:
> 3%used(2587MB/89495MB) C:\ Label:  Serial Number
> 8cfa6a13: 27%used(6644MB/25000MB) (<80%) : OK
> 
> 
> 
> In nagios, I should define a service and a command to
> start using check_snmp_storage.pl. Could you please
> help in what I should add?
> 
> Many thanks
> 
> <>
> 
> Melanie, 
> 
>Here is a sample command and service definition that I use with
> this plugin:
> 
> In commands.cfg:
> 
> define command{
> command_namecheck_c:\
> command_line$USER1$/check_snmp_storage.pl -H $HOSTADDRESS$
> -C $USER3$ -m ^C: -w 85 -c 95
> }
> 
> In services.cfg (or wherever you place your service definitions)
> 
> define service{
>use   generic-service
>host_name   
>service_description   Check C:\ Usage Data
>check_command   check_c:\
>}
> 
> This is how we use it on our network, your needs may be different. 
> Remember when testing to plugin to test as root and to chown
> nagiosuser.nagiosgroup when you put it into libexec for it to work
> correctly. 
> 

Some systems may have issues with the "\" in a command name. I have seen 
it blow things up so there is a point on which care needs to be taken. I 
would also recommend against hard coding -w and -c values where at all 
possible. It makes using the same command for multiple services with 
different needs much more difficult. Also you should always test as the 
nagios user and not as root. Testing as root really does nothing other 
than show permissions and rights issues if the command fails to work as 
the nagios user. The script should be in libexec, owned by the nagios user 
and group, and tested as the nagios user. If that doesn't work then test 
it as root for the same dir with the same ownership to see if it works at 
all.
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] SNMP/Windows disk usage

2008-02-20 Thread mark . potter
Melanie.

1. When you test the script are you testing it as the nagios user?
2. Does the script reside in the libexec folder under the nagios user's 
home directory?

If the answer to the above questions is yes then:

define  command {
command_namecheck_snmp_windows_disk
command_line$USER1$/check_snmp_storage -H $HOSTADDRESS$ -C 
$ARG1$ -q FixedDisk -w $ARG2$ -c $ARG3$ -m $ARG4$ $ARG5$
}
That is my command definition. $ARG5$ is an optional switch for exclusion.

One of the check commands (with security info snipped)

define  service {
host_name  
service_description SNMP - Windows - Disk - Production
is_volatile   0
check_command check_snmp_windows_disk!!95!98!^C:!-e
max_check_attempts  3
normal_check_interval120
retry_check_interval30
active_checks_enabled1
passive_checks_enabled 1
check_period24x7
parallelize_check   1
obsess_over_service 1
check_freshness 0
event_handler_enabled   1
flap_detection_enabled  1
process_perf_data   1
retain_status_information   1
retain_nonstatus_information1
contact_groups  sysalertstest
notification_interval   120
notification_period 24x7
notification_optionsw,u,c,r
notifications_enabled   1
register1
}

That is the check for our production windows servers excluding the C drive 
(the -e is the exclude switch).

I hope this information is helpful.

Melanie Pfefer <[EMAIL PROTECTED]> wrote on 02/20/2008 07:00:30 
AM:

> Hello again
> 
> I downloaded the perl script and indeed I can use it
> manually:
> ./check_snmp_storage.pl -H TROY -C public -m ^[CDE]:
> -w 80% -c 90%
> 
> D:\ Label:  Serial Number 225e3590:
> 3%used(2587MB/89495MB) C:\ Label:  Serial Number
> 8cfa6a13: 27%used(6644MB/25000MB) (<80%) : OK
> 
> 
> 
> In nagios, I should define a service and a command to
> start using check_snmp_storage.pl. Could you please
> help in what I should add?
> 
> Many thanks
> 
> 
> --- [EMAIL PROTECTED] wrote:
> 
> > You will need to actually download the plugin from 
> > http://nagios.manubulon.com/snmp_storage.html as it
> > is not part of the 
> > Nagios plugins package but rather a third party
> > plugin.
> > 
> > Melanie Pfefer <[EMAIL PROTECTED]> wrote on
> > 02/19/2008 03:37:04 
> > PM:
> > 
> > > Hello
> > > 
> > > I added this:
> > > 
> > > define command{
> > > command_namecheck_win_storage
> > > command_line 
> > $USER3$/check_snmp_storage.pl
> > > -H $HOSTADDRESS$ -C $ARG1$ -m $ARG2$ -w $ARG3$ -c
> > > $ARG4$
> > > }
> > > 
> > > 
> > > define service {
> > > use common-service
> > > hostgroup_name  nt-servers
> > > service_description Check Windows
> > drives
> > > check_command 
> > > check_win_storage!public!^[CDE]:!80!90!
> > > }
> > > 
> > > the result was: Return code of 127 is out of
> > bounds -
> > > plugin may be missing
> > > 
> > > 
> > > Any idea?
> > > thanks
> > > --- [EMAIL PROTECTED] wrote:
> > > 
> > > > Melanie,
> > > > 
> > > > I have setup the plugin available here: 
> > > > http://nagios.manubulon.com/snmp_storage.html
> > and it
> > > > works perfectly for 
> > > > our needs. It uses SNMP so you would have to
> > have
> > > > SNMP setup on all of 
> > > > your Windows boxes but with that caveat it is
> > the
> > > > best solution I have 
> > > > found for monitoring windows partitions. If you
> > are
> > > > looking for something 
> > > > slightly less complicated or with fewer options
> > > > there are many plugins on 
> > > > nagiosexchange.com that will do the job. I would
> > > > recommend 
> > > > check_snmp_storage though due to the options and
> > the
> > > > robustness of the 
> > > > plugin.
> > > > 
> > > > Best Regards,
> > > > 
> > > > Mark L. Potter
> > > > Systems Engineer
> > > > Academy Sports & Outdoors
> > > > 1800 N. Mason Rd
> > > > Katy, Texas 77449
> > > > 
> > > > 
> > > > 
> > > > Melanie Pfefer <[EMAIL PROTECTED]>
> > wrote on
> > > > 02/19/2008 03:04:23 
> > > > AM:
> > > > 
> > > > > Hello Mark,
> > > > > I am interested in monitoring the disks even
> > with
> > > > no
> > > > > exclusions.
> > > > > I installed nagios2.9 and the nagios plugin on
> > a
> > > > linux
> > > > > box.
> > > > > 
> > > > > Would it be possible that you give me what
> > you?ve
> > > > done
> > > > > to monitor the partitions on windows?
> > > > > 
> > > > > I appreciate your help.
> > > > > 
> > > > > --- [EMAIL PROTECTED] wrote:
> > > > > 
> > > > > > [EMAIL PROTECTED]
> > wrote
> > > > on
> > > > > > 02/18/2008 11:22:05 
> > > > > > AM:
> > > > > > 
> > > > 

Re: [Nagios-users] SNMP/Windows disk usage

2008-02-20 Thread Melanie Pfefer
Hello again

I downloaded the perl script and indeed I can use it
manually:
./check_snmp_storage.pl -H TROY -C public -m ^[CDE]:
-w 80% -c 90%

D:\ Label:  Serial Number 225e3590:
3%used(2587MB/89495MB) C:\ Label:  Serial Number
8cfa6a13: 27%used(6644MB/25000MB) (<80%) : OK



In nagios, I should define a service and a command to
start using check_snmp_storage.pl. Could you please
help in what I should add?

Many thanks


--- [EMAIL PROTECTED] wrote:

> You will need to actually download the plugin from 
> http://nagios.manubulon.com/snmp_storage.html as it
> is not part of the 
> Nagios plugins package but rather a third party
> plugin.
> 
> Melanie Pfefer <[EMAIL PROTECTED]> wrote on
> 02/19/2008 03:37:04 
> PM:
> 
> > Hello
> > 
> > I added this:
> > 
> > define command{
> > command_namecheck_win_storage
> > command_line
> $USER3$/check_snmp_storage.pl
> > -H $HOSTADDRESS$ -C $ARG1$ -m $ARG2$ -w $ARG3$ -c
> > $ARG4$
> > }
> > 
> > 
> > define service {
> > use common-service
> > hostgroup_name  nt-servers
> > service_description Check Windows
> drives
> > check_command 
> > check_win_storage!public!^[CDE]:!80!90!
> > }
> > 
> > the result was: Return code of 127 is out of
> bounds -
> > plugin may be missing
> > 
> > 
> > Any idea?
> > thanks
> > --- [EMAIL PROTECTED] wrote:
> > 
> > > Melanie,
> > > 
> > > I have setup the plugin available here: 
> > > http://nagios.manubulon.com/snmp_storage.html
> and it
> > > works perfectly for 
> > > our needs. It uses SNMP so you would have to
> have
> > > SNMP setup on all of 
> > > your Windows boxes but with that caveat it is
> the
> > > best solution I have 
> > > found for monitoring windows partitions. If you
> are
> > > looking for something 
> > > slightly less complicated or with fewer options
> > > there are many plugins on 
> > > nagiosexchange.com that will do the job. I would
> > > recommend 
> > > check_snmp_storage though due to the options and
> the
> > > robustness of the 
> > > plugin.
> > > 
> > > Best Regards,
> > > 
> > > Mark L. Potter
> > > Systems Engineer
> > > Academy Sports & Outdoors
> > > 1800 N. Mason Rd
> > > Katy, Texas 77449
> > > 
> > > 
> > > 
> > > Melanie Pfefer <[EMAIL PROTECTED]>
> wrote on
> > > 02/19/2008 03:04:23 
> > > AM:
> > > 
> > > > Hello Mark,
> > > > I am interested in monitoring the disks even
> with
> > > no
> > > > exclusions.
> > > > I installed nagios2.9 and the nagios plugin on
> a
> > > linux
> > > > box.
> > > > 
> > > > Would it be possible that you give me what
> you?ve
> > > done
> > > > to monitor the partitions on windows?
> > > > 
> > > > I appreciate your help.
> > > > 
> > > > --- [EMAIL PROTECTED] wrote:
> > > > 
> > > > > [EMAIL PROTECTED]
> wrote
> > > on
> > > > > 02/18/2008 11:22:05 
> > > > > AM:
> > > > > 
> > > > > > [EMAIL PROTECTED] schrieb:
> > > > > > > We are using snmp to monitor our windows
> > > servers
> > > > > and I have had a 
> > > > > request 
> > > > > > > from the windows admins. They want to
> alert
> > > at
> > > > > 80% and 90% usage on 
> > > > > C:\ 
> > > > > > > but 95% and 98% on all other partitions.
> (I
> > > > > didn't ask about the logic 
> > > > > 
> > > > > > > because it wouldn't matter). I have
> tried
> > > > > multiple snmp plugins and 
> > > > > all of 
> > > > > > > them seem to act the same. I can monitor
> all
> > > the
> > > > > disks on a single 
> > > > > check, 
> > > > > > > a single disk on a single check but I
> cannot
> > > > > monitor all the disks 
> > > > > except 
> > > > > > > C: on a single check. There doesn't seem
> to
> > > be
> > > > > any plugins out there 
> > > > > that 
> > > > > > > allow exclusion and use snmp. Before I
> go
> > > > > writing a wrapper for an 
> > > > > > > existing plugin does anyone know if
> there is
> > > a
> > > > > plugin that will allow 
> > > > > me 
> > > > > > > to do this? I am looking to exclude a
> single
> > > > > drive letter but check 
> > > > > all 
> > > > > > > the rest of the drives via snmp on
> windows
> > > > > servers. Thanks in advance 
> > > > > for 
> > > > > > > any advice.
> > > > > > > 
> > > > > > 
> > > > > >
> http://nagios.manubulon.com/snmp_storage.html
> > > > > > 
> > > > > > 
> > > > > > check_snmp_storage will do the Job
> > > > > > 
> > > > > > Joerg
> > > > > That does exactly what we need. Is it listed
> on
> > > > > Nagios Exchange? Thank you 
> > > > > for your response; I have managed to escape
> > > writing
> > > > > a wrapper thanks to 
> > > > > you!
> > > > > >
> > > > 
> > >
> > 
>
-
> > > > > This SF.net email is sponsored by: Microsoft
> > > > > Defy all challenges. Microsoft(R) Visual
> Studio
> > > > > 2008.
> > > > >
> > > >
> > >
> >
>
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/>
> > > >
> ___
> > > > > Nagios-users mailing list
> > > > > Nagios

Re: [Nagios-users] SNMP/Windows disk usage

2008-02-19 Thread mark . potter
You will need to actually download the plugin from 
http://nagios.manubulon.com/snmp_storage.html as it is not part of the 
Nagios plugins package but rather a third party plugin.

Melanie Pfefer <[EMAIL PROTECTED]> wrote on 02/19/2008 03:37:04 
PM:

> Hello
> 
> I added this:
> 
> define command{
> command_namecheck_win_storage
> command_line $USER3$/check_snmp_storage.pl
> -H $HOSTADDRESS$ -C $ARG1$ -m $ARG2$ -w $ARG3$ -c
> $ARG4$
> }
> 
> 
> define service {
> use common-service
> hostgroup_name  nt-servers
> service_description Check Windows drives
> check_command 
> check_win_storage!public!^[CDE]:!80!90!
> }
> 
> the result was: Return code of 127 is out of bounds -
> plugin may be missing
> 
> 
> Any idea?
> thanks
> --- [EMAIL PROTECTED] wrote:
> 
> > Melanie,
> > 
> > I have setup the plugin available here: 
> > http://nagios.manubulon.com/snmp_storage.html and it
> > works perfectly for 
> > our needs. It uses SNMP so you would have to have
> > SNMP setup on all of 
> > your Windows boxes but with that caveat it is the
> > best solution I have 
> > found for monitoring windows partitions. If you are
> > looking for something 
> > slightly less complicated or with fewer options
> > there are many plugins on 
> > nagiosexchange.com that will do the job. I would
> > recommend 
> > check_snmp_storage though due to the options and the
> > robustness of the 
> > plugin.
> > 
> > Best Regards,
> > 
> > Mark L. Potter
> > Systems Engineer
> > Academy Sports & Outdoors
> > 1800 N. Mason Rd
> > Katy, Texas 77449
> > 
> > 
> > 
> > Melanie Pfefer <[EMAIL PROTECTED]> wrote on
> > 02/19/2008 03:04:23 
> > AM:
> > 
> > > Hello Mark,
> > > I am interested in monitoring the disks even with
> > no
> > > exclusions.
> > > I installed nagios2.9 and the nagios plugin on a
> > linux
> > > box.
> > > 
> > > Would it be possible that you give me what you?ve
> > done
> > > to monitor the partitions on windows?
> > > 
> > > I appreciate your help.
> > > 
> > > --- [EMAIL PROTECTED] wrote:
> > > 
> > > > [EMAIL PROTECTED] wrote
> > on
> > > > 02/18/2008 11:22:05 
> > > > AM:
> > > > 
> > > > > [EMAIL PROTECTED] schrieb:
> > > > > > We are using snmp to monitor our windows
> > servers
> > > > and I have had a 
> > > > request 
> > > > > > from the windows admins. They want to alert
> > at
> > > > 80% and 90% usage on 
> > > > C:\ 
> > > > > > but 95% and 98% on all other partitions. (I
> > > > didn't ask about the logic 
> > > > 
> > > > > > because it wouldn't matter). I have tried
> > > > multiple snmp plugins and 
> > > > all of 
> > > > > > them seem to act the same. I can monitor all
> > the
> > > > disks on a single 
> > > > check, 
> > > > > > a single disk on a single check but I cannot
> > > > monitor all the disks 
> > > > except 
> > > > > > C: on a single check. There doesn't seem to
> > be
> > > > any plugins out there 
> > > > that 
> > > > > > allow exclusion and use snmp. Before I go
> > > > writing a wrapper for an 
> > > > > > existing plugin does anyone know if there is
> > a
> > > > plugin that will allow 
> > > > me 
> > > > > > to do this? I am looking to exclude a single
> > > > drive letter but check 
> > > > all 
> > > > > > the rest of the drives via snmp on windows
> > > > servers. Thanks in advance 
> > > > for 
> > > > > > any advice.
> > > > > > 
> > > > > 
> > > > > http://nagios.manubulon.com/snmp_storage.html
> > > > > 
> > > > > 
> > > > > check_snmp_storage will do the Job
> > > > > 
> > > > > Joerg
> > > > That does exactly what we need. Is it listed on
> > > > Nagios Exchange? Thank you 
> > > > for your response; I have managed to escape
> > writing
> > > > a wrapper thanks to 
> > > > you!
> > > > >
> > > 
> >
> 
-
> > > > This SF.net email is sponsored by: Microsoft
> > > > Defy all challenges. Microsoft(R) Visual Studio
> > > > 2008.
> > > >
> > >
> >
> http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/>
> > > ___
> > > > Nagios-users mailing list
> > > > Nagios-users@lists.sourceforge.net
> > > >
> > >
> >
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> > > > ::: Please include Nagios version, plugin
> > version
> > > > (-v) and OS when reporting any issue. 
> > > > ::: Messages without supporting info will risk
> > being
> > > > sent to /dev/null
> > > 
> > > 
> > > 
> > > 
> >
> ___
> > > Yahoo! Answers - Got a question? Someone out there
> > knows the answer. Try 
> > it
> > > now.
> > > http://uk.answers.yahoo.com/ 
> > 
> 
> 
> 
>   ___
> Support the World Aids Awareness campaign this month with Yahoo! For 
Good 
> http://uk.promotions.yahoo.com/forgood/
-
This SF.net email

Re: [Nagios-users] SNMP/Windows disk usage

2008-02-19 Thread Melanie Pfefer
Hello

I added this:

define command{
command_namecheck_win_storage
command_line $USER3$/check_snmp_storage.pl
-H $HOSTADDRESS$ -C $ARG1$ -m $ARG2$ -w $ARG3$ -c
$ARG4$
}


define service {
use common-service
hostgroup_name  nt-servers
service_description Check Windows drives
check_command  
check_win_storage!public!^[CDE]:!80!90!
}

the result was: Return code of 127 is out of bounds -
plugin may be missing


Any idea?
thanks
--- [EMAIL PROTECTED] wrote:

> Melanie,
> 
> I have setup the plugin available here: 
> http://nagios.manubulon.com/snmp_storage.html and it
> works perfectly for 
> our needs. It uses SNMP so you would have to have
> SNMP setup on all of 
> your Windows boxes but with that caveat it is the
> best solution I have 
> found for monitoring windows partitions. If you are
> looking for something 
> slightly less complicated or with fewer options
> there are many plugins on 
> nagiosexchange.com that will do the job. I would
> recommend 
> check_snmp_storage though due to the options and the
> robustness of the 
> plugin.
> 
> Best Regards,
> 
> Mark L. Potter
> Systems Engineer
> Academy Sports & Outdoors
> 1800 N. Mason Rd
> Katy, Texas 77449
> 
> 
> 
> Melanie Pfefer <[EMAIL PROTECTED]> wrote on
> 02/19/2008 03:04:23 
> AM:
> 
> > Hello Mark,
> > I am interested in monitoring the disks even with
> no
> > exclusions.
> > I installed nagios2.9 and the nagios plugin on a
> linux
> > box.
> > 
> > Would it be possible that you give me what you?ve
> done
> > to monitor the partitions on windows?
> > 
> > I appreciate your help.
> > 
> > --- [EMAIL PROTECTED] wrote:
> > 
> > > [EMAIL PROTECTED] wrote
> on
> > > 02/18/2008 11:22:05 
> > > AM:
> > > 
> > > > [EMAIL PROTECTED] schrieb:
> > > > > We are using snmp to monitor our windows
> servers
> > > and I have had a 
> > > request 
> > > > > from the windows admins. They want to alert
> at
> > > 80% and 90% usage on 
> > > C:\ 
> > > > > but 95% and 98% on all other partitions. (I
> > > didn't ask about the logic 
> > > 
> > > > > because it wouldn't matter). I have tried
> > > multiple snmp plugins and 
> > > all of 
> > > > > them seem to act the same. I can monitor all
> the
> > > disks on a single 
> > > check, 
> > > > > a single disk on a single check but I cannot
> > > monitor all the disks 
> > > except 
> > > > > C: on a single check. There doesn't seem to
> be
> > > any plugins out there 
> > > that 
> > > > > allow exclusion and use snmp. Before I go
> > > writing a wrapper for an 
> > > > > existing plugin does anyone know if there is
> a
> > > plugin that will allow 
> > > me 
> > > > > to do this? I am looking to exclude a single
> > > drive letter but check 
> > > all 
> > > > > the rest of the drives via snmp on windows
> > > servers. Thanks in advance 
> > > for 
> > > > > any advice.
> > > > > 
> > > > 
> > > > http://nagios.manubulon.com/snmp_storage.html
> > > > 
> > > > 
> > > > check_snmp_storage will do the Job
> > > > 
> > > > Joerg
> > > That does exactly what we need. Is it listed on
> > > Nagios Exchange? Thank you 
> > > for your response; I have managed to escape
> writing
> > > a wrapper thanks to 
> > > you!
> > > >
> > 
>
-
> > > This SF.net email is sponsored by: Microsoft
> > > Defy all challenges. Microsoft(R) Visual Studio
> > > 2008.
> > >
> >
>
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/>
> > ___
> > > Nagios-users mailing list
> > > Nagios-users@lists.sourceforge.net
> > >
> >
>
https://lists.sourceforge.net/lists/listinfo/nagios-users
> > > ::: Please include Nagios version, plugin
> version
> > > (-v) and OS when reporting any issue. 
> > > ::: Messages without supporting info will risk
> being
> > > sent to /dev/null
> > 
> > 
> > 
> >  
>
___
> > Yahoo! Answers - Got a question? Someone out there
> knows the answer. Try 
> it
> > now.
> > http://uk.answers.yahoo.com/ 
> 



  ___
Support the World Aids Awareness campaign this month with Yahoo! For Good 
http://uk.promotions.yahoo.com/forgood/

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


Re: [Nagios-users] SNMP/Windows disk usage

2008-02-19 Thread mark . potter
Melanie,

I have setup the plugin available here: 
http://nagios.manubulon.com/snmp_storage.html and it works perfectly for 
our needs. It uses SNMP so you would have to have SNMP setup on all of 
your Windows boxes but with that caveat it is the best solution I have 
found for monitoring windows partitions. If you are looking for something 
slightly less complicated or with fewer options there are many plugins on 
nagiosexchange.com that will do the job. I would recommend 
check_snmp_storage though due to the options and the robustness of the 
plugin.

Best Regards,

Mark L. Potter
Systems Engineer
Academy Sports & Outdoors
1800 N. Mason Rd
Katy, Texas 77449



Melanie Pfefer <[EMAIL PROTECTED]> wrote on 02/19/2008 03:04:23 
AM:

> Hello Mark,
> I am interested in monitoring the disks even with no
> exclusions.
> I installed nagios2.9 and the nagios plugin on a linux
> box.
> 
> Would it be possible that you give me what you?ve done
> to monitor the partitions on windows?
> 
> I appreciate your help.
> 
> --- [EMAIL PROTECTED] wrote:
> 
> > [EMAIL PROTECTED] wrote on
> > 02/18/2008 11:22:05 
> > AM:
> > 
> > > [EMAIL PROTECTED] schrieb:
> > > > We are using snmp to monitor our windows servers
> > and I have had a 
> > request 
> > > > from the windows admins. They want to alert at
> > 80% and 90% usage on 
> > C:\ 
> > > > but 95% and 98% on all other partitions. (I
> > didn't ask about the logic 
> > 
> > > > because it wouldn't matter). I have tried
> > multiple snmp plugins and 
> > all of 
> > > > them seem to act the same. I can monitor all the
> > disks on a single 
> > check, 
> > > > a single disk on a single check but I cannot
> > monitor all the disks 
> > except 
> > > > C: on a single check. There doesn't seem to be
> > any plugins out there 
> > that 
> > > > allow exclusion and use snmp. Before I go
> > writing a wrapper for an 
> > > > existing plugin does anyone know if there is a
> > plugin that will allow 
> > me 
> > > > to do this? I am looking to exclude a single
> > drive letter but check 
> > all 
> > > > the rest of the drives via snmp on windows
> > servers. Thanks in advance 
> > for 
> > > > any advice.
> > > > 
> > > 
> > > http://nagios.manubulon.com/snmp_storage.html
> > > 
> > > 
> > > check_snmp_storage will do the Job
> > > 
> > > Joerg
> > That does exactly what we need. Is it listed on
> > Nagios Exchange? Thank you 
> > for your response; I have managed to escape writing
> > a wrapper thanks to 
> > you!
> > >
> 
-
> > This SF.net email is sponsored by: Microsoft
> > Defy all challenges. Microsoft(R) Visual Studio
> > 2008.
> >
> http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/>
> ___
> > Nagios-users mailing list
> > Nagios-users@lists.sourceforge.net
> >
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> > ::: Please include Nagios version, plugin version
> > (-v) and OS when reporting any issue. 
> > ::: Messages without supporting info will risk being
> > sent to /dev/null
> 
> 
> 
>   ___
> Yahoo! Answers - Got a question? Someone out there knows the answer. Try 
it
> now.
> http://uk.answers.yahoo.com/ 
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] SNMP/Windows disk usage

2008-02-18 Thread mark . potter
[EMAIL PROTECTED] wrote on 02/18/2008 11:22:05 
AM:

> [EMAIL PROTECTED] schrieb:
> > We are using snmp to monitor our windows servers and I have had a 
request 
> > from the windows admins. They want to alert at 80% and 90% usage on 
C:\ 
> > but 95% and 98% on all other partitions. (I didn't ask about the logic 

> > because it wouldn't matter). I have tried multiple snmp plugins and 
all of 
> > them seem to act the same. I can monitor all the disks on a single 
check, 
> > a single disk on a single check but I cannot monitor all the disks 
except 
> > C: on a single check. There doesn't seem to be any plugins out there 
that 
> > allow exclusion and use snmp. Before I go writing a wrapper for an 
> > existing plugin does anyone know if there is a plugin that will allow 
me 
> > to do this? I am looking to exclude a single drive letter but check 
all 
> > the rest of the drives via snmp on windows servers. Thanks in advance 
for 
> > any advice.
> > 
> 
> http://nagios.manubulon.com/snmp_storage.html
> 
> 
> check_snmp_storage will do the Job
> 
> Joerg
That does exactly what we need. Is it listed on Nagios Exchange? Thank you 
for your response; I have managed to escape writing a wrapper thanks to 
you!
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] SNMP/Windows disk usage

2008-02-18 Thread Joerg Linge
[EMAIL PROTECTED] schrieb:
> We are using snmp to monitor our windows servers and I have had a request 
> from the windows admins. They want to alert at 80% and 90% usage on C:\ 
> but 95% and 98% on all other partitions. (I didn't ask about the logic 
> because it wouldn't matter). I have tried multiple snmp plugins and all of 
> them seem to act the same. I can monitor all the disks on a single check, 
> a single disk on a single check but I cannot monitor all the disks except 
> C: on a single check. There doesn't seem to be any plugins out there that 
> allow exclusion and use snmp. Before I go writing a wrapper for an 
> existing plugin does anyone know if there is a plugin that will allow me 
> to do this? I am looking to exclude a single drive letter but check all 
> the rest of the drives via snmp on windows servers. Thanks in advance for 
> any advice.
> 

http://nagios.manubulon.com/snmp_storage.html


check_snmp_storage will do the Job

Joerg

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