I believe you need to create another UnDP to retrieve the following column results from the bgp peer state table:
This timer indicates how long (in seconds) this peer has been in the Established state or how long since this peer was last in the Established state. It is set to zero when a new peer is configured or the router is booted.
If you are using the "Tabular Universal Device Poller" resource, once setup your UnDP, edit the resource and select the new UnDP which should be in the list to be displayed on the view.
Thank you, that worked. Should I now be able to convert the output into week/days/min, just like it would show if I type sh ip b s on the router?
OBJECT NAME CURRENT STATUS LAST POLLED
7204 Edge Router A 3.045 M 8:04 AM
The Transform feature in the Universal Device Poller utility does not have any Time functions so I am not sure how you could transform this value in Week/Day/Min.
A T-SQL query could convert it but the functions are built-in and it is not possible to add your own functions.
It seems to be a feature request => Orion NPM Feature Requests