SNMP/Windows disk usage
mark.potter at academy.com
mark.potter at academy.com
Tue Feb 19 22:58:23 CET 2008
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 <melanie_pfefer at yahoo.co.uk> wrote on 02/19/2008 03:37:04
PM:
> Hello
>
> I added this:
>
> define command{
> command_name check_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
> --- mark.potter at academy.com 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 <melanie_pfefer at yahoo.co.uk> 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.
> > >
> > > --- mark.potter at academy.com wrote:
> > >
> > > > nagios-users-bounces at lists.sourceforge.net wrote
> > on
> > > > 02/18/2008 11:22:05
> > > > AM:
> > > >
> > > > > mark.potter at academy.com 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/vse0120000070mrt/direct/01/>
> > > _______________________________________________
> > > > Nagios-users mailing list
> > > > Nagios-users at 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/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20080219/abdd8f74/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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
More information about the Users
mailing list