Skip to content

StewLG/stew_nagios_check_asterisk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

stew_nagios_check_asterisk

Nagios plug-in to check Asterisk using AMI interface.

SIP Peer check:

$ ./StewCheckAsterisk.py -H ani.doodle.local -u nagios_ami -p password_goes_here -ct sippeer
OK - Peer your_voip_provider Status OK (7 ms) - 177.111.22.3 SIP

SIP Registration check, all peers:

$ ./StewCheckAsterisk.py -H ani.doodle.local -u nagios_ami -p password_goes_here -ct sipregistry
OK - Registered Host: toronto.yourvoipprovider.com State: Registered

SIP Registration check, particular peer, found:

$ ./StewCheckAsterisk.py -H ani.doodle.local -u nagios_ami -p password_goes_here -ct sipregistry -sh detroit.yourvoipprovider.com
OK - Registered Host: detroit.yourvoipprovider.com State: Registered

SIP Registration check, particular peer, not found:

$ ./StewCheckAsterisk.py -H ani.doodle.local -u nagios_ami -p password_goes_here -ct sipregistry -sh tulsa.yourvoipprovider.com
CRITICAL - Could not find SIP Registration for hostname tulsa.yourvoipprovider.com. All hostnames found:  detroit.yourvoipprovider.com

About

Nagios plug-in to check Asterisk

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages