Read text file

Greetings, I’m trying to monitor a router via ssh running a script that collects the amount of pppoe per vlan in huawei, I managed via Shell Script to put this in a text file, I can somehow monitor the value (numeric) of that file by librenms of some way? or execute a ssh command directly?