Wednesday 15 August 2012

check status of ZFS pool on Linux host with Icinga monitoring system -


I have a server which is used for backup storage. It is running ZFS on Linux, which is configured with RAID Z2 data pool and is shared by Samba. I need to monitor ZFS file system so that at least it can be able to see how much space is available.

I thought a simple check_disk plugin would do this.

I am able to execute commands from the ICInger server clear:

  sudo -u negius / usr / leib / neges / plugins / check_nrp-h & lt; Hostname & gt; -c check_disk-A 10% 20% / data / backups of DIC OK - Space: / data / backup 45 9 6722 MB (30% INDEX = 99%); | / Data / backup = 10355313MB; 13456832; 11961628; 0; 14952036  

But the GUI shows the following error:

  DISCA CRITICAL - / Data / Backup is not accessible: No such file or directory.  

This works under check_me monitoring system, but we are currently migrating from check_make. There is no problem checking the other file system (root, boot) on this machine in Icinga.

I appreciate any advice.

Thanks

/etc/icinga/objects/linux.cfg on line server In:

  check_command  

is on the line client in /etc/nagios/nrpe.cfg

  command [ Check_backup] = / usr / lib64 / nagios / check_nrpe_1arg! Check_back  plugins / check_disk -w $ ARG1 $ -k $ ARG2 $ -p $ ARG3 $  

No comments:

Post a Comment