Hi guys , im trying to improve my bgp monitoring plugin.
Currently I connects to my router using api interface , exce the bgp peers print command and parse its output to check if any of my peers is not in "stablished" status.
I would like to avoid api connection.
Router should run an schedulled script and post command output to my server endpoint.
Is it that possible ?
Steeps should be:
Exec command ,
Save command out into variable.
Exec fetch command and use variable content as post body.
Any advice would be wellcome.
Leandro.