https://github.com/jockdarock/sparkios-bot
Simple CiscoSpark Nagios / Cmd Line Bot Messenger
https://github.com/jockdarock/sparkios-bot
Last synced: 22 days ago
JSON representation
Simple CiscoSpark Nagios / Cmd Line Bot Messenger
- Host: GitHub
- URL: https://github.com/jockdarock/sparkios-bot
- Owner: JockDaRock
- Created: 2016-11-10T23:10:01.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-11-10T23:38:46.000Z (over 9 years ago)
- Last Synced: 2025-11-01T08:02:38.934Z (9 months ago)
- Language: Python
- Size: 1000 Bytes
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Sparkios-Bot
###Simple CiscoSpark Nagios / Cmd Line Bot Messenger for alerts or other cmd line functionality.
This is a very simple commandline tool for passing messages to a Cisco Spark bot to send your message to a Spark Chat room.
I primarily use this tool as a Nagios plugin to allow Nagios to send alerts to a Spark room, but this could be used for any commandline messaging.
###Get-Started
* Modify the code to include the token from your Cisco Sparkbot
``` python
obolus = "Bearer "
```
* From the Command Line run NagiosPlugin-CmdLine_Bot.py like the following (infoArg1 will be message passed to the Spark room):
```
python /your/location/NagiosPlugin-CmdLine_Bot.py -r -m
```
* You can also run the command with more than one informational argument passed to Spark
```
python /your/location/NagiosPlugin-CmdLine_Bot.py -r -m
```
Please let me know if you have any questions.