Skip to content

Commit 8ecaf5a

Browse files
authored
Added deprecation notes to help text
1 parent fccc494 commit 8ecaf5a

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

deviceupdownstatus.py

+9-6
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
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
36
47
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>]
69
710
Mandatory arguments:
8-
-k <api key> : Your Meraki Dashboard API key
11+
-k <apikey> : Your Meraki Dashboard API key
912
-o <org name> : Your Dashboard Organization name
1013
Optional arguments to use SNMPv3:
1114
-a <snmp auth key> : SNMPv3 authentication key. Required for SNMPv3
@@ -14,8 +17,8 @@
1417
Example:
1518
python deviceupdownstatus.py -k 1234 -o "Meraki Inc" -a authpass123 -p privpass123
1619
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:
1922
pip install requests
2023
pip install pysnmp
2124

0 commit comments

Comments
 (0)