Check_remote_df plugin issue


#1

Hi,
I am currently trying to setup a disk check on a server using the check_remote_df plugin for Nagios. When using the df command from the terminal I am getting the following output:

Filesystem 1K-blocks Used Available Use% Mounted on
/dev/mapper/Lemon-root
24448132 6446932 16759296 28% /

The problem here is that the output is being pushed on to a second line due to /dev/mapper/ and as a result a perl script that I am running cannot read the output. Is there a way that I can get the output to stay on one line so that I get the following result:

Filesystem 1K-blocks Used Available Use% Mounted on
/dev/mapper/Lemon-root 24448132 6446932 16759296 28% /