Dude checking files number in some dir.

Hi


Is it possible to use execute command on remote server to check number of files in specific directory?

for example if its under 50 to send ok(green) and if its above 50 to send alarm(red)

Best

Im trying to execute ros_comand from dude agent to that linux server (already dude agent and linux server set up for logging without password = certificate method)

from dude agent (mikrotik) command manuelly executed and works but form dude server doesn’t, what command i should use?


execute or ros_command? function with probes? or only apperiance in map network

best

Solved!!!

Was going in wrong direction, solved with extend command in snmp.

Best