New Question
 
 
PRTG Network Monitor

Intuitive to Use.
Easy to manage.

200.000 administrators have chosen PRTG to monitor their network. Find out how you can reduce cost, increase QoS and ease planning, as well.

Free PRTG
Download >>

 

What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general. You are invited to get involved by asking and answering questions!

Learn more

 

Top Tags


View all Tags


API: Get system information for a router

Votes:

0

Your Vote:

Up

Down

Hi I have operations to do which require to get loopback addresses from Cisco routers At the moment the only mean I have is to go to System Information in the web interface but it is very slow (many devices involved) Is it possible to do this by script using the API? If yes what is the function to use I am not asking for a ful script, just the URL and the kind of result is enough. I will manage parsing

Thank you upfront

api-queries snmp snmp-sensor system-information

Created on Sep 7, 2018 11:03:48 AM by  dgiraud (0) 1



4 Replies

Votes:

0

Your Vote:

Up

Down

Can you explain that a bit more? You want PRTG to read out the loopback addresses? What is there to monitor for PRTG?

Further, did you check if the SNMP MIBs from Cisco for your routers might be able to help you with this task?

Hopefully we can find a way to help you with some more information and a deeper understanding of what you want to accomplish.

Regards

Florian Rossmark

www.it-admins.com

Created on Sep 7, 2018 1:43:45 PM by  Florian Rossmark (4,110) 3 2



Votes:

0

Your Vote:

Up

Down

We have no means to send snmp requests to the routers but from the PRTG server which we do not manage The only mean we have is the web interface or prtg console I have to get the loopback address from Cisco routers. At the moment the only way I can do it is, from PRTG's web interface, select the router and click on "Systems information" where I have a list of all the interfaces and other infos like these Name Value IPAddress / Loopback99 ww.xx.yy.zz ObjectID 1.3.6.1.4.1.9.1.xxx System Description Cisco IOS Software, Cxxx Software This can be parsed easily if can get it It sounds like PRTG makes a periodical query to get this info (btw I don't know how to tune the refresh delay of the query) I wish I could get this info from a powershell script (or any other language) like this: invoke-webrequest https://server/api?router.systemsinfo Is it possible to make that? On the other hand I can imagine having a sensor giving the list of the interfaces, but it does not exist, does it?

Created on Sep 7, 2018 9:46:23 PM by  dgiraud (0) 1



Votes:

0

Your Vote:

Up

Down

Hello dgiraud,

"System Information" details are stored for each device in a json-style textfile in PRTG's data-path, please read here more about it.

Kind regards,

Erhard

Created on Sep 10, 2018 11:24:55 AM by  Erhard Mikulik [Paessler Support]



Votes:

0

Your Vote:

Up

Down

That's it Thank you

Created on Sep 10, 2018 11:26:35 AM by  dgiraud (0) 1



Please log in or register to enter your reply.


Disclaimer: The information in the Paessler Knowledge Base comes without warranty of any kind. Use at your own risk. Before applying any instructions please exercise proper system administrator housekeeping. You must make sure that a proper backup of all your data is available.