This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Create a new issue in Jira from the Python XMLRPC interface. You'll have to | |
#provide the server and user credentials and match up your own fields | |
import sys | |
from xmlrpclib import Server | |
user = "username" | |
passwd = "passwd" | |
serverurl = "https://server.example.com/rpc/xmlrpc" | |
projectname = "demoproject" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
# Script to install nagios plugin and NRPE on nagios clients using downloading and compiling them. | |
# Step 1 --> Nagios plugins Installation | |
# add Nagios User with not shell access | |
useradd -s /sbin/nologin nagios | |
echo "user Nagios Added" >> /tmp/nagios_plugin_install.log |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
#This Plug-in monitors the Unreachable nodes in Cassandra Ring; using nodetool ring command | |
# Author - Juned Memon [email protected] | |
#########THIS part is for Nagios ################################ | |
PROGNAME=`/usr/bin/basename $0` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#This Plug-in monitors the HDFS direcory for number of files in it and sends the alert basis on the threshold | |
# Author - Juned Memon [email protected] | |
####################################################################################### | |
#Nagios Exit Status | |
STATE_OK=0 | |
STATE_WARNING=1 |
NewerOlder