Rsync server test
Robin-David Hammond%KB3IEN
muaddib at databit7.com
Wed Sep 6 14:29:06 CEST 2006
I only ever use rsync in conjunction with sshd.
short of generating errors with the check_tcp you could nmap the port
(might that generate more/less noise).
or you could have a test that retreives a file from rsync, thereby
creating an access entry in the log, but no error.
A more advanced solution would be to run lsof on the monitored host, and
see if rsync is running, is not zombie, and is listening on TCP 873.
On Wed, 6 Sep 2006, Hari Sekhon wrote:
> Date: Wed, 06 Sep 2006 13:19:02 +0100
> From: Hari Sekhon <hpsekhon at googlemail.com>
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] Rsync server test
>
> I am testing an Rsync server by doing
>
> ./check_tcp -H $HOSTADDRESS$ -p 873
>
>
> but I have noticed that this causes the Rsync server to spew the
> following into the logs:
>
> rsyncd[10422]: rsync: writefd_unbuffered failed to write 74 bytes
> [receiver]: Broken pipe (32)
> rsyncd[10422]: rsync error: error in rsync protocol data stream (code
> 12) at io.c(1121) [receiver=2.6.8]
>
>
> every single time a check is performed. This is obviously because of the
> tcp connection and then abrupt disconnection. I'd really like to get rid
> of all this noise from the logs.
>
> Is there a better way of doing this? Does anybody else monitor a Rsync
> server with nagios and if so how?
>
>
> Hari Sekhon
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> 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
>
Robin-David Hammond KB3IEN
+1 347 350 34 00
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
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