check disk_write?
Oliver Klein
o.klein at comdivision.com
Wed Feb 27 15:20:56 CET 2008
Hi
perfect this is exactly what i´m looking for but I load the script on the remote server and define command I the nrpe.cfg on the remote host.
On the nagios server I define the disk_checkrw in commands.cfg and also in the host.cfg .
# 'check_diskrw' commands.cfg definition
define command{
command_name check_diskrw
command_line $USER1$/check_diskrw
}
# command definition in nrpe.cfg
command[check_diskrw]=/usr/local/nagios/libexec/check_diskrw
I use the the command on console it wrote "OK" in the nagios webinterface I got "write error on"
What I had missing? maybe I have to touch a file? sorry but i´m a little bit confused today.
Best regards
Oliver Klein
-----Original Message-----
From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Marc Powell
Sent: Wednesday, February 27, 2008 2:10 PM
To: Nagios Users Mailinglist
Subject: Re: [Nagios-users] check disk_write?
On Feb 27, 2008, at 6:51 AM, Oliver Klein wrote:
> Hi
>
> I have a problem with monitoring a mountpoint / disk on one of our
> servers, this server collect the traffic in our network. For a few
> days the server crashed and after reboot the filesystem was mounted
> read only and so no traffic data could be written on the disk. That
> ´s very bad and know i´m looking for a solution to monitor the disk
> to prevent data lost. But I have no idea how to realize that??
> Anyone can help me?
>
http://www.nagiosexchange.org/Linux.55.0.html?
&tx_netnagext_pi1[p_view]=1014 looks like it'll suit your needs.
--
Marc
-------------------------------------------------------------------------
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