SNMP/Windows disk usage

Yost, Karl Karl.Yost at iqor.com
Mon Feb 25 15:10:59 CET 2008


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: nagios-users-bounces at lists.sourceforge.net
[mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Melanie
Pfefer
Sent: Monday, February 25, 2008 3:50 AM
To: nagios-users at 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

--- mark.potter at academy.com wrote:

> Melanie Pfefer <melanie_pfefer at yahoo.co.uk> 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/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

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





More information about the Users mailing list