I need nagios to monitor the swap files for my computer but the problem is that i’m unsure whats the code for it. I think its the check_swap code, but i haven’t got it to work. Below is what i’ve written:
check_command check_swap -w 20% -c 10%
however i get the error that its “not defined anywhere”.
How would i go about monitoring the paging/swap files for my system?