How to retrieve One-IP List using python script?
Greetings, How can I get the One-IP List using python script? I couldn’t find a built-in function for it. I am not trying to use the API method. My ultimate goal is to retrieve the DeviceObject (DNS/Hostname and IP Address) of EndPoints connected to Access Switch Interfaces. I have the MAC Addresses of connected Endpoints, but there isn’t any built-in function to my knowledge to retrieve the DeviceObject by MAC Adddress. Using the ARP Table is not really feasible because I would first have to Find the Gateway Router, get the contents of the ARP Table and then do the mapping. The Interface Report Table from the Qapp inlcudes the fields DNSName and IPAddress, but unfortunately does not output it. Any help is appreciated! Best Regards, DaveDaMan
Tune 111 error codes
Hello Everyone, I am looking at the devices under Fine Tune/ CLI Configurations failed. I have over 1400 devices that can pull CLI Configurations and a few are failing to pull information due to 111 errors. I tried the setup that worked for the other devices and manually added my own login credentials under the tune process and it fails. I also verified I am able to login to the device with my credentials. Does anyone know what are the causes for the 111 error? Does Netbrain have a list of error codes and possible fixes? 2023-03-20 09:09:37 Begin tune process via Worker NETBRA11(pid: 6668)..2023-03-20 09:10:12 Connecting failed, error code: 111, error description:  Connection refused.2023-03-20 09:10:12 Can not Telnet/SSH to the device.2023-03-20 09:10:12 End tune process
Device Property mass updates
I created a device property for Last date of Support for old hardware for all devices in netbrainthru Tenent, GDR Data. I can see the device propery at the end of the device propertiesand I can popout and edit the last date of support for 1 device and save with no issue.How do I update more than 1 device at a time. Thanks,Tony
Identifying Virtual wire interfaces
We use Palo Alto firewalls and a few are configured with Virtual Wire interfaces (https://docs.paloaltonetworks.com/pan-os/9-1/pan-os-admin/networking/configure-interfaces/virtual-wire-interfaces). However Netbrain doesn’t identify virtual wire interfaces and won’t add the firewalls to a map. Is there anyway to add a virtual wire interface either through the discovery or added manually? Thanks.
API call stub make a path and run a runbook with variable data on top
Hello all, I do an API call to create a path (working well) and would like to run a runbook/qapp on the dynamic created map.In the stub manager there is the possibility to add a runbook. The runbook itself is been put to the map and can be run manually.But how could it be made with a variable input and a outomatical run? I already tried $destination to set as the input in the field Filter, as the varibale already exist in the “Map Creation” section but it is not taken as a variable. The goal is make a path with source-destination , run the paket capture on the created map with the filter set on the destination address.
QApp scripting questions
Hi,I’m trying to understand the scripting environment a bit more for qApps and have a few questions. For a table driven canvas I can pass one of table column values as a parameter to a parser. Is it possible to pass any other types of variables to a parser, say from another script? If so, how do you make it so that the variable is in scope for the parser Is it possible to access those table columns from a table driven canvas in scripts attached to a following table? If so, what’s the syntax you need to use? What is the Variable Mapping option in the Run Options dialog used for?Many thanks in advance… Regards,Andy
is there QAPP Center link
I am wondering if there is a way to access applications like qapp center without using the menu drop down? I understand there is the “pin the application” to the desktop option but is there another way? I am thinking of a url like what we might see with inventoryreport. It can be loaded to a new tab but something like Qapp Center seems to only be in the drop down application section or pin. When we were using v8 we didn’t have this problem because the application search was in a different section. We are using Netbrain V10.1.5. Any ideas?
Network Health Runbooks
Does anyone have a runbook they can share made specifically for network health checks? I know how to put together a runbook with CLI commands to show CPU utilization or check for interface errors but was wondering if anyone got creative and made some Qapps or other elements in a runbook to accomplish this that I am not thinking of.On a side note, is there any place that NB users can submit their own custom made stuff?
Rate Limiting Automation Library
Hello everyone, My network has a couple of sites, which were having download/upload speed issues. We checked everything on our ISP, it wasnt them. After running the Highlight MTU Interface QAPP we realized some MTU mismatches which fixed the issues after matching them.But one site is still having the issue, I am checking the sites’ configs but is are there any automation library that checks rate limiting, or give me a good overall health for the site. So far I have tried the Overall Health View, nothing stands out, MTU matches. I’d like to have a real in-depth look to the entire network on the site.Thank you. 6
Qapp/Parser run second CLI command with variables/arguments from first CLI output
Hello, I am trying to create a Qapp that runs a CLI command with arguments/variables based on output of the first CLI command. Requirement: First CLI Command, get all Cisco IP BGP neighbors: show ip bgp neighbors one of the key variables, $bgp_neighbors, from the output contains the IP Address of the IP BGP Neighbor With the Cisco IP BGP Neighbors Table output, run a second CLI Command (Second Canvas) that runs a second CLI Command with a variable/argument $bgp_neighbors: show ip bgp neighbors $bgp_neighor advertised-route How can that be accomplished?Thanks in advance for your help!
Qapp get current row position of cell
Greetings, I need help with a Qapp on how rerieve the current Row Number of cell from a GDT/DDT. How is it possible using python in a custom variable column? I am creating a Cisco IP BGP Table from CLI Command “Show IP BGP”. Due to poor table output formatting, the Network and Next_Hop items overlap so that two rows are required for a single entry.As a result, in Qapp DDT or GDT the value for “network” (when too large and containing CIDR notation) is displayed in the “Next_Hop” column instead with not all other fields blank, while creating another row below containing all other columns values but a blank field in the Network Column.To fix that problem, I want to create a custom variable field that populates the correct Network Address by:finding current row position of cell retrieving the value of the Next_Hop field one row above current row positionAny help or pointers are appreciated. Best Regards, Dave
How to trigger runbook execution using netbrains api
I am new to netbrainsI am looking for reference solutions for following use cases.Execute CLI commands using netbrains API Execute run book using netbrains API Create map and export map using netbrains APII tried by following documentation but could not succeed.for use case “Execute run book using netbrains API” followed instructions from link Adding API-Triggered Tasks in NetBrain (netbraintech.com) but after creating stub and testing seeing an error
How to create sitemap using deviceid
How to create sitemap using deviceid, mapSettingHelper.build_site_map_setting("device_id", false) as there may be possibilities of duplicate hostname.If I refer “Defining Event Templates to Process Events in NetBrain” in help it is giving# create mapmap_setting = mapSettingHelper.build_site_map_setting("device_name", False) #replace with a real device or device parameter in raw dataIn this case what are the device parameters we can use other than hostname
API rate Limit issues
Hello there, I am trying to see if there is suggested practices when doing API calls for Meraki from the Netbrain Server. I get the rate-limit issues and have to wait for sometime before it clears. How does Netbrain usually avoid this when monitoring via API calls? Is the polling cycles longer time? Is it a grab all and then sort the data instead of an api call per device?
UUID file is missing on this Linux instance after migrating the NetBrain DB Server from old Cluster to new.
This is a transcript of the outcome of a Tech Support call with NetBrain and I: I just want to specify that it is the file in /sys/class/dmi/id/product_uuid that is missing and it is the system uuid that is missing not a filesystem uuid…!!Has anyone ever come across this before after migrating their DB Server and are then forced to reactivate the licence…!? My colleague and I have thought about the following: CHMOD 777 the full PATH and then create a new ‘product_uuid’ file with the legit licensed key and as the issue we face at the moment is that the if you try to amend inside that directory using ‘ROOT Credentials’ you receive the following error = ‘Operation is prohibited’
Compliance and NGFW Policy Audit?
Has anyone done NFGW Policy Audit with NetBrain automation (Rule Compliance, Access Compliance, Configuration Compliance) ?NetBrain collects the configuration, but there doesn't seem to be a build-in check relevant for businesses.Deleting unused rules also needs log information, but perhaps doable? SD-WAN, NFGW, and Cloud FW are usually under the special control and ownership of companies, i.e., there is interest, while the operator holds the WAN configuration. Even outsourced FW management, business need to audit compliance regulary. Of course, one option is to choose a separate FW Policy audit software, but if you have all config and digital twin it could be part of NB solution by default?
Multivendor environment and EEE verification using NetBrain?
What would be the best way to verify (audit) using NetBrain that all devices in the multivendor network with power saving features are also configured and turned on? (Cisco EEE, IEEE 802.3az, HPE Aruba Green AP) - Electricity in Europe will be astronomically expensive by 2022.
Question with Parser/Qapp Repository
Hello everyone, we just got our Netbrain setup with API access to Meraki and Velocloud via a proxy server. I was wondering if there was a repository for parser files for API calls outside of the built in parser files. The parser file setup for API is a bit different than the other types of parser files and I am looking for more examples. Also, if there is a repository parser files to avoid the re-inventing the wheel scenario that would be great.
Already have an account? Login
Sign in with SSOLogin via NetBrain University
Login to the community
No account yet? Create an account
Sign in with SSOLogin via NetBrain University
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.
Facebook | Instagram | Youtube | Twitter | LinkedIn
Privacy & Security Statement | Terms & Conditions | Impressum | UK Modern Slavery Statement