Skip to content

Nagios plugin boilerplate using python with XOXZO telephony API

License

Notifications You must be signed in to change notification settings

zakiharis/xoxzo-nagios-boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

XOXZO Nagios Boilerplate

The repository contains boilerplate to write nagios plugin in python. Once the check failed or critical, emergency operations center (EOC) will get notification through their phone using XOXZO telephony API.

How to use

# Clone this repo
git clone https://github.com/skycrew/xoxzo-nagios-boilerplate.git

# Go into the repository
cd xoxzo-nagios-boilerplate

# Install requirements
pip install -r requirements.txt

# Sign up xoxzo account
https://www.xoxzo.com/en/accounts/signup/

# Create API user
https://www.xoxzo.com/en/you/createapiuser/

# Setting up xoxzo/config.yml
api_url: https://api.xoxzo.com
api_sid: [REPLACE_WITH_XOXZO_API_SID]
auth_token: [REPLACE_WITH_XOXZO_AUTH_TOKEN]

# Start writing your nagios check plugins

Dont have time to write nagios plugin?

# Just clone this repo, fire up your python and try the xoxzo api :D

from xoxzo.api import XoxzoApi
api = XoxzoApi()
status = api.call(caller="+60199999999", recipient="+60123456789", message="Hello world!")

About

Nagios plugin boilerplate using python with XOXZO telephony API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages