File tree 1 file changed +9
-6
lines changed
1 file changed +9
-6
lines changed Original file line number Diff line number Diff line change 1
- readMe = '''This is a script to print a list of all devices in a organization's inventory and their up/down status.
2
- The script will not return up/down status for MV security cameras, as this was not supported at time of writing.
1
+ readMe = '''This is a script to print a list of all devices in a organization's inventory and their
2
+ up/down status. The script will not return up/down status for MV security cameras, as this
3
+ was not supported at time of writing. Note that this script is very old and SNMP no longer
4
+ needs to be used for getting device up/down statuses. For a more modern approach, use this
5
+ endpoint instead: https://developer.cisco.com/meraki/api-v1/#!get-organization-devices-statuses
3
6
4
7
To run the script, enter:
5
- python deviceupdownstatus.py -k <api key > -o <org name> [-a <snmp auth key> -p <snmp priv key>]
8
+ python deviceupdownstatus.py -k <apikey > -o <org name> [-a <snmp auth key> -p <snmp priv key>]
6
9
7
10
Mandatory arguments:
8
- -k <api key> : Your Meraki Dashboard API key
11
+ -k <apikey> : Your Meraki Dashboard API key
9
12
-o <org name> : Your Dashboard Organization name
10
13
Optional arguments to use SNMPv3:
11
14
-a <snmp auth key> : SNMPv3 authentication key. Required for SNMPv3
14
17
Example:
15
18
python deviceupdownstatus.py -k 1234 -o "Meraki Inc" -a authpass123 -p privpass123
16
19
17
- This script was developed using Python 3.6.4. You will need the Requests and PySNMP modules to run it. You can install
18
- these modules via pip:
20
+ This script was developed using Python 3.6.4. You will need the Requests and PySNMP modules
21
+ to run it. You can install these modules via pip:
19
22
pip install requests
20
23
pip install pysnmp
21
24
You can’t perform that action at this time.
0 commit comments