I have passive check in a windows 7 with nrds and nagios XI.
1- I need to know the amount of registry in a table of mysql DB and if the amount is more than "80" report me critical, pls tell me what plugin i need to use and the command to type.
PLUS: If its possible, how to do that "if the amount of registry is more than 100 clear the table".
2- i need to check a value in the table, for example: If emp_id 4 and 10 are 35000 salary report ok, but if change salary report critical. Again pls tell me what plugin i need to use and the command to type.

Thx a lot!