1
all application on unix knowledges by golfreeze / Re: Install nrpe and nagios-plugin in remote host and nrpe on monitoring server
« Last post by golfreeze on เมษายน 18, 2026, 08:22:08 pm »ถ้ารัน command "check_disk" บนเครื่อง nrpe client แล้ว
/usr/lib64/nagios/plugins/check_disk -w 20% -c 10% -p /
แล้วเจอว่า NRPE: Unable to read output แสดงว่ายังไม่ได้ติดตั้ง nagios-plugin-check-disk
#yum install nagios-plugins-disk.x86_64
แล้วเทสอีกครั้ง ก็จะใช้งานได้
DISK OK - free space: / 1690 MiB (3.27% inode=97%);| /=49881MiB;50540;51056;0;5157

/usr/lib64/nagios/plugins/check_disk -w 20% -c 10% -p /
แล้วเจอว่า NRPE: Unable to read output แสดงว่ายังไม่ได้ติดตั้ง nagios-plugin-check-disk
#yum install nagios-plugins-disk.x86_64
แล้วเทสอีกครั้ง ก็จะใช้งานได้
DISK OK - free space: / 1690 MiB (3.27% inode=97%);| /=49881MiB;50540;51056;0;5157

Recent Posts
