Can anyone share an example of processing a $bool variable in the Visual Parser. Basically, what I would like to do is verify whether a certain command is present or not and put a true or false in an output table.For example, verify that the Nexus pim feature is enabled. Command in config is;feature pim
Hello I am trying to build a Qapp that runs 2 CLI cmd, one to pull the P2P IPs on the link between 2 nodes in canvas 1 and then second to run the ping on the those P2P IP variables from canvas1. First parser in canvas1 below is getting all the local p2p IP and then I am using script to create p2p IP for neighboring node. I am able to get all the required variables (ipv4_peer and intf) here with no issues.sh ip int bri | e "down|Down" | e unassigned Second parser below should be using the canvas1 variables to get the ping results but it’s not showing me the intended results.ping $ipv4_peer source $intfMy end goal is running a DVT/Qapp on the map to show latency/ping delay on the links between 2 nodes. Not sure if there is an easier method available for this. Please advise.Thanks in advance.
Hello all. Just wanted to post here to see if this is even possible. I have a Qapp that creates a CSV file with specific fields. The purpose is to create a filtered table or report that shows all of our network switches and the amount of unused interfaces. The CSV just has all the raw data. I would still need to create some logic that says interface status is either “down” or “administratively down”, the last input is over a year or never, and the media type is one of many options (example: 10/100/1000BaseTX) as I want to exclude fiber interfaces. For each row in the CSV, I want to just count these. Then, ideally, the report would simply show 2 columns.Column 1 Column 2Switch 1 Name Number of Unused PortsSwitch 2 Name Number of Unused PortsDoes anyone know if this can be accomplished within NetBrain or would I just need to utilize something external and work with the raw CSV data?Thanks.
I am trying the following command: “show platform hardware fed active fwd-asic resources tcam utilization” on cisco 9000 series switches. The problem is it is a command that is used in the enable mode, but NB treats it like a user. Is there a way to have NB setup cli commands in enable mode? I understand its not normal commands like show run or show log, but for the commands that are needing this privilege mode is there a way to set NB to use the proper mode?
I am trying to understand how to use the getInterfaceProperty. I have a QAPP and wanted to input the description of an interface in one cells. The requirements are below. if I wanted to get the Descr for an interface but the interface is coming from the qapp how would the code go?$cell = getInterfaceProperty(‘Descr’,$_device,$intf,infs) ? I get no results and been trying to plug in the information with no change. Any suggestions?
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
Does the live regularly in this example pull stats every 2 mins for 10 times and then get the final results. Or does it pull it the 5 times and dumps into 1 report? Or is the live reg option mainly for cli related tasks? “Live Regularly — log in to the device to retrieve live data regularly based on the customized frequency. You can check the Repeat checkbox and enter a number to set the execution times for this Qapp.I am trying to run a utilization report on my routers and wanted to get a better understanding of the Live Regularly option. I am using SNMP to pull the stats. The issue I am running into is its creating a csv report per run. I tried using the “Live Regularly” option and the schedule Qapp option, but I am not seeing much of a difference in outputs. I also made the csv file “adv” feature to append. Is there a way to have 1 csv file per day? If I ran this check 1 hr per day that’s 24 reports * 30 days = 720 reports and if I increased that 6 reports per hour. It gets a bit
How do I access the built-in Device/Module/Interface Properties in Qapps such as:ManagementIP()Model()Vendor()SerialNumber()Instead of writing my own Parser(s), I would like to retrieve these values from the built-in Device Property Attributes. See page 207-213 for list of Device/Interface/Module Property attributes listed in PDF “How_to_Define_and_Use_Procedures.PDF” at Netbrain’s website: https://www.netbraintech.com/ftp/EE54G/How_to_Define_and_Use_Procedures.pdf As you can see below, I have a custom variable Column named mgmt_ip. The intent is to get the device’s management ip. I have tried different variations, including calling a function, but without success.Thanks in advance for your help! Best RegardsDavid
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.
How can I get a report (or be able to add them all to a device group )with the devices that meet certain criteria ? Such as…A: Device Type Matches any Cisco IOS SwitchB: Config File Contains "snmp-server host 188.8.131.52"C: Hostname Contains ^bBoolean Expression: A and B and C The Global Search does find them but I cant seem to get them as a group as its >20 devicesor “ Display the most relevant 200 results only due to the limited web page. “ Basically I am trying to get a list of devices on our network that have B:
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
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.
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
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?
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?
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
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!
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