Reply

Export config files from NetMRI to a linux server

CLopez
Techie
Posts: 2
2960     0

Hi,

I would like to know if it's possible to retrieve configuration files from NetMRI specific group to a linux server. These configs need to feed a daily script so I need a scheduled job that do this every day.

Thanks!

Re: Export config files from

Adviser
Posts: 426
2961     0

Via REST API:

http://netmrip-ipaddress/api/2.7/devices/running_config_text?id=14

Via PERL API

my $text =  $client->broker->device->saved_config_text( DeviceID=>14)->{saved_config_text};

Let me know if you need additional information.

Thanks,

Sif

 

Follow me on LinkedIn: https://www.linkedin.com/in/sifbaksh
Twitter: https://twitter.com/sifbaksh

Re: Export config files from

CLopez
Techie
Posts: 2
2961     0

Thx Sif! It worked perfectly!

Re: Export config files from

Adviser
Posts: 426
2961     0

Happy to hear it worked.

Also check out our blog - http://www.infoblox.com/community/blogs/bloxhub-community-blog

Looking at posting more API calls

Sif

Follow me on LinkedIn: https://www.linkedin.com/in/sifbaksh
Twitter: https://twitter.com/sifbaksh

Download Netmri API to linux server

kpatel
Techie
Posts: 1
2961     0
How do i add NETMRI API to linux server ? when i try to run a script it says it can not locate netmri API.

Navigate to https://your

Adviser
Posts: 357
2961     0

Navigate to https://your-netmri/api/docs

 

Then click the "Perl Distribution" link. It comes as a CPAN-style package.

Showing results for 
Search instead for 
Do you mean 

Recommended for You