D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
lib
/
check_mk_agent
/
local
/
Filename :
cagefs
back
Copy
#!/bin/bash countnm=$(cat /proc/mounts | grep cagefs | wc --lines) count=$(service cagefs status) if [ "$count" = "cagefs is running." ] ; then status=0 statustxt=OK else status=2 statustxt=CRITICAL fi echo "$status CageFS V=1 $statustxt: mount of $countnm filesystems" echo "$count"