Skip to content

This repo contains script under Apache License that could be used to check if Openstack-swift installation is working fine on the machine and respond back to nagios remote server of swift's health

License

Notifications You must be signed in to change notification settings

rahuupad/Nagios_Swift_check

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

#Swift Monitoring : Nagios

This repo contains script for Monitoring of Openstack-Swift. This could be used by Nagios over NRPE to get the status of Swift Installation.

Usage

Usage :

                   '-a', '--authURL',   required=True,
                   help="Auth URL for getting the auth token ")
                   
                   '-u', '--username',  required=True,
                   help="Username for getting the auth token ")
                   
                   '-k', '--key',       required=True,
                   help="Password for the user for getting auth token")
                   
                   '-x', '--tenant',    required=True,
                   help="tenant name for getting auth token")
                   
                   '-c', '--container', default='check_swift',
                   help="name of container to upload")
                   
	       '-s', '--sizemax',   default='1024', type=int,
                   help="max sized file to be uploaded"


OUTPUT :  

		Returns four states under following conditions
			STATE_OK : When upload+download+delete commands work fine
			STATE_UNKNOWN : Swift command not found/not installed
			STATE_WARNING : Swift Seems fine, problem with this script
			STATE_CRITICAL: Swift has problmes uploading/downloading/deleting '''

About

This repo contains script under Apache License that could be used to check if Openstack-swift installation is working fine on the machine and respond back to nagios remote server of swift's health

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages