cancel
Showing results for 
Search instead for 
Did you mean: 

Flexviews for PA firewalls

Flexviews for PA firewalls

ken4
New Contributor II
Hellow, I tried to upload the flexviews script below to XMC, but failed to open tpl files on console. I'm not sue how to modify the PA MIB file to make it compatible with XMC 8.1. Please advise. Thanks.

https://github.com/extremenetworks/Netsight-Report-Views/tree/master/FlexView/Palo_Alto

  • Official Palo Alto mibs file PAN-TRAPS.my is not compatible with XMC version 8.1, you need to replace undescore "_" with minus "-" and will be good. File PAN-COMMON-MIB.my is not compatible with XMC version 8.1, you need to replace ifIndex with panIfIndex and ifDescr with panIfDescr.
1 ACCEPTED SOLUTION

Zdeněk_Pala
Extreme Employee
Usually the issue with TPL file is that your browser does not download the whole TPL file.
The TPL file should start with tag

code:
?xml version="1.0"


and end with tag
code:
/flextablelist


examples above should be formatted as html tags = with "".


Regarding the MIB file modification: use text editor (I like notepad++) and use search and replace feature to replace underscore with minus = instead of _ there needs to be -
the same with ifDescr and panIfDescr.

After the file modification, upload the modified file to XMC and restart the nsserver process.

Good luck.
Regards Zdeněk Pala

View solution in original post

3 REPLIES 3

Zdeněk_Pala
Extreme Employee
Hi,

Regarding OneView:
The XMC web server is not using MyMibs directory in your case. Enable it in Administration -> Options -> search for mymibs. Documentation on MyMibs is here.

Regarding the PaloAltoInterfaces:
the flexview does use following objects: PanIfDescr, panIfActiveTcpCps, panIfActiveUdpCps, panIfActiveOtherIpCps
Can you open your MibTools and search for those objects? are those objects present in your MIBs?

If you contact me directly by ? I can share with you my mib file. My email address starts with "zpala" and as you can see I am employee = the domain is ...

Regards
Regards Zdeněk Pala

ken4
New Contributor II
Thanks, zdenek. I managed to load tpl files and successful to use flexview on console, but only PaloaltoZones and PalAltoSystem tpl. No any value can be shown on PaloAltoInterfaces. And when I open the flexview on One view, no any value can be shown on 3 flexview files.

I followed the link below, but still got nothing.
https://gtacknowledge.extremenetworks.com/articles/Solution/FlexView-not-returning-results-but-works-in-MIB-Tools/?q=flexviews%2C+console&l=en_US&fs=Search&pn=1


4b94a3c73d5a47f2a3854d8d9801118b_db1286b3-96c1-4f7a-a33e-e44f58a0b0bd.png


4b94a3c73d5a47f2a3854d8d9801118b_87596f85-abe8-484b-91b7-c777f9a357c6.png

4b94a3c73d5a47f2a3854d8d9801118b_139f5ac6-ddd1-4e63-aab8-6f6adb4602d2.png




4b94a3c73d5a47f2a3854d8d9801118b_9b2c12dd-5f79-4c77-83db-baf3b2f2cac2.png



4b94a3c73d5a47f2a3854d8d9801118b_09b480e7-a431-4aa1-927c-d3bbb8029a06.png



4b94a3c73d5a47f2a3854d8d9801118b_cb2d5668-96ad-40a6-91f3-a3812c78616c.png

Zdeněk_Pala
Extreme Employee
Usually the issue with TPL file is that your browser does not download the whole TPL file.
The TPL file should start with tag

code:
?xml version="1.0"


and end with tag
code:
/flextablelist


examples above should be formatted as html tags = with "".


Regarding the MIB file modification: use text editor (I like notepad++) and use search and replace feature to replace underscore with minus = instead of _ there needs to be -
the same with ifDescr and panIfDescr.

After the file modification, upload the modified file to XMC and restart the nsserver process.

Good luck.
Regards Zdeněk Pala
GTM-P2G8KFN