An open API service indexing awesome lists of open source software.

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

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.