Netbrain
Home NetBrain Product One-Skill-at-a-Time Search Mark Forums Read
Go BackThe Net-BrainerNetBrain Product Webservice for integration into other tools

Reply
 
Thread Tools Search this Thread Display Modes
Old 02-09-2016, 01:31 PM
dominique.vocat dominique.vocat is offline
 
Join Date: Feb 2016
Posts: 2
Default Webservice for integration into other tools

Hi,

i would like to get data from Netbrain via a Webservice.
Stuff i would like to get is
- data like in the inventory report
- data like the netcool integration i.e. send source and dest ip and get a visualization OR tabular data

I would like to be able to integrate the rich data source into our problem analysis tools.
Reply With Quote
Old 02-14-2016, 09:35 PM
NetBrainTAC NetBrainTAC is offline
Administrator
 
Join Date: Dec 2012
Posts: 467
Default Re: Webservice for integration into other tools

Hello,

NetBrain provides the command line interface to map the path between two points or map around a single device. Ticket systems such as Netcool and NetView can integrate with NetBrain via this command line interface. While the command line is invoked from an alert, the map will be created for this alert. With one click, a NetBrain map can be exported to a Visio or PNG file.

Here's the document about NetBrain Third Party Integration Details and it include Netcool in section 4

https://c.na2.content.force.com/servlet/servlet.FileDownload?file=00P4000000ZzmsW

Case# 15175
Reply With Quote
Old 03-29-2018, 07:31 AM
dominique.vocat dominique.vocat is offline
 
Join Date: Feb 2016
Posts: 2
Default Re: Webservice for integration into other tools

So, we have now Netbrain 7 and the REST api does not seem to provide any means to list all nodes - what am i doing wrong?

I aim to get a list of all known devices.
Reply With Quote
Old 04-15-2018, 11:51 PM
NetBrainTAC NetBrainTAC is offline
Administrator
 
Join Date: Dec 2012
Posts: 467
Default Re: Webservice for integration into other tools

Hi,

Yes, the REST api doesn't provide a list of all nodes.
Please try Inventory report>Device report. https://www.netbraintech.com/ftp/IE70b/OnlineHelp/index.html?inventory-report.htm
Reply With Quote
Old 04-17-2018, 02:58 PM
lheavrin lheavrin is offline
 
Join Date: Feb 2018
Posts: 2
Default Re: Webservice for integration into other tools

Quote:
Originally Posted by NetBrainTAC View Post
Hi,

Yes, the REST api doesn't provide a list of all nodes.
Please try Inventory report>Device report. https://www.netbraintech.com/ftp/IE70b/OnlineHelp/index.html?inventory-report.htm
I created a group and set a dynamic search that would always match our devices like "device name always includes hyphen". Then I just did an API call to list the devices in that group. It's not perfect but it does the job as long as you have a variable that will always match.
Reply With Quote
Old 06-06-2018, 09:30 AM
Declanw Declanw is offline
 
Join Date: Aug 2015
Posts: 6
Question Re: Webservice for integration into other tools

Hi there,

The URL directs me to something called Salesforce. I'm not sure what that is.
Is there another link to the document?

Regards

Declan Watts
BT plc.

Quote:
Originally Posted by NetBrainTAC View Post
Hello,

Here's the document about NetBrain Third Party Integration Details and it include Netcool in section 4

https://c.na2.content.force.com/servlet/servlet.FileDownload?file=00P4000000ZzmsW

Case# 15175
Reply With Quote
Old 06-07-2018, 03:31 AM
NetBrainTAC NetBrainTAC is offline
Administrator
 
Join Date: Dec 2012
Posts: 467
Default Re: Webservice for integration into other tools

Quote:
Originally Posted by Declanw View Post
Hi there,

The URL directs me to something called Salesforce. I'm not sure what that is.
Is there another link to the document?

Regards

Declan Watts
BT plc.
Hi Declan,

Please refer to the 7.0 NetBrain_API_and_System_Integration_Guide from this link: http://ws2.netbraintech.com/download/NetBrain_API_and_System_Integration_Guide.pdf

Thanks!
Reply With Quote
Old 11-21-2018, 02:10 PM
jrsikors jrsikors is offline
 
Join Date: Nov 2018
Posts: 2
Default Re: Webservice for integration into other tools

Hello -

Brand new to NetBrain and the API. I'm not sure if I missed something obvious, but I'm just trying to test out the basics.

https://www.netbraintech.com/ftp/IE70b/OnlineHelp/index.html?getallinterface.htm

So if I do:
https://myNBIP/ServicesAPI/API/CMDB/interface/getAllInterfaces/

I get a:
{"statusCode":790005,"statusDescription":"Inval id token."}

Great -- that error is expected -- I didn't put in a parameter.

If I do a
https://myNBIP/ServicesAPI/API/CMDB/interface/getAllInterfaces/MYSWITCH

I get a:
404 - File or directory not found.
The resource you are looking for might have been removed, had its name changed, or is temporarily unavailable.

Am I missing something obvious?

Thanks!
Jeff
Reply With Quote
Old 11-22-2018, 02:10 AM
NetBrainTAC NetBrainTAC is offline
Administrator
 
Join Date: Dec 2012
Posts: 467
Default Re: Webservice for integration into other tools

Hi Jeff,

Could you please try URL like below example with GET method instead of POST:
http://10.10.13.89/ServicesAPI/API/CMDB/interface/getAllInterfaces?hostname=BJ_Acc_SW1

Please note: BJ_Acc_SW1 is a device hostname

Hope this helps.

Thanks


Quote:
Originally Posted by jrsikors View Post
Hello -

Brand new to NetBrain and the API. I'm not sure if I missed something obvious, but I'm just trying to test out the basics.

https://www.netbraintech.com/ftp/IE70b/OnlineHelp/index.html?getallinterface.htm

So if I do:
https://myNBIP/ServicesAPI/API/CMDB/interface/getAllInterfaces/

I get a:
{"statusCode":790005,"statusDescription":"Inval id token."}

Great -- that error is expected -- I didn't put in a parameter.

If I do a
https://myNBIP/ServicesAPI/API/CMDB/interface/getAllInterfaces/MYSWITCH

I get a:
404 - File or directory not found.
The resource you are looking for might have been removed, had its name changed, or is temporarily unavailable.

Am I missing something obvious?

Thanks!
Jeff
Reply With Quote
Old 11-22-2018, 01:26 PM
jrsikors jrsikors is offline
 
Join Date: Nov 2018
Posts: 2
Default Re: Webservice for integration into other tools

Thanks for the assistance!

I'm getting a:
{"statusCode":790005,"statusDescription":"Inval id token."}

When I use that URL format:
<my server>/ServicesAPI/API/CMDB/interface/getAllInterfaces?hostname=<my switch>

I know the switch exists, I just did an export of the Inventory Report.

Thanks again!
Jeff
Reply With Quote
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Forum Jump

All times are GMT -4. The time now is 02:15 AM.
Powered by vBulletin
Copyright 2000-2010 Jelsoft Enterprises Limited.
Copyright 2009 NetBrain, Inc. All rights reserved.