https://github.com/xhoms/panloadmonitor
last 24hour performance metrics of panos devices
https://github.com/xhoms/panloadmonitor
go paloaltonetworks panorama panos
Last synced: 2 months ago
JSON representation
last 24hour performance metrics of panos devices
- Host: GitHub
- URL: https://github.com/xhoms/panloadmonitor
- Owner: xhoms
- Created: 2017-05-10T14:25:02.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-11-18T10:26:10.000Z (almost 8 years ago)
- Last Synced: 2025-07-29T12:38:21.400Z (2 months ago)
- Topics: go, paloaltonetworks, panorama, panos
- Language: Go
- Size: 9.7 MB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# panloadmonitor
Small tool to get last 24hour performance metrics of panos devices
## installation
Use either the binaries in https://github.com/xhoms/panloadmonitor/tree/master/bin or get the source into your GO workspace
```
go get github.com/xhoms/panloadmonitor
```
## usage
Basic usage requires just the following command line switches
* -h (host) : either in FQDN or IP address format
* -k (key) : API key to be used.
* -u (user) : you can provide user and password instead of API key
* -p (password)
* -i (interactive) : provide information about the progress in stdoutExample of basic usage
```
$ ./panloadmonitor -h 172.16.214.199 -u admin -p admin -i
Sample prefix will be 20170510
Saving 20170510.csv
```
Other command line switches
* -loop : once a run is completed keep waiting for another run after 24 hours
* -panorama : loop through all devices connected to a Panorama and generate a csv file for each one
* -d (debug) : provide API interaction verbosityExample of loop panorama usage
```
$ ./panloadmonitor -h 172.16.214.203 -u admin -p admin -i -panorama -loop
Sample prefix will be 20170510
Attempting to get the list of connected devices
Switching to device serial number 007000000021636
Saving 20170510_007000000021636.csv
Switching to device serial number 015300000425
Saving 20170510_015300000425.csv
Going to sleep until next tick ...
```