Nagios Exchange Nagios Exchange
  • Home
  • Directory
  • Library
  • Support
  • About
  • Submit Feedback

Advanced Search

Build precise queries to find exactly what you need

Search Logic

Select compatible versions

Press ESC to close

Sign In Sign Up
  • Home
  • Directory
  • Library
  • Support
  • About
  • Submit Feedback
Plugins4414Themes and Skins13Add-ons769Graphics and Logos36View All Categories
LinuxSecuritySNMPFile SystemCloud
New Listings Recently Updated Listings Most Favored Listings Most Popular Listings Most Rated Listings Most Reviewed Listings
Random Project
SAN and NAS HP Lefthand SAN/iQ hardware and software check
5.0 (1)
9.5K
RSS Feed
Newest Listings Updated Listings
Top Contributors
John Shorey (4)Nick Overstreet (3)Chad Columbus (3)Marcin Bednarski (3)SJC (2)
See More
Newest Contributors
hsh-tro (1)Seiichi YAMAMOTO (1)codemasterydevelopers (1)sunilka (1)davidb (1)
See More

Copyright © 2009-2026 Nagios Enterprises, LLC. All rights reserved.

Privacy PolicyTerms of UseTrademarks
Home > Christian
C

Christian

@[email protected]

User Stats

Member Since: July 23, 2011

Favorites0

Views

Projects0

No Projects Found
check_asterisk_peers

Apply following patch for Asterisk from 1.6

--- check_asterisk_peers 2011-11-05 11:56:16.352105211 +0100 +++ check_asterisk_peers.sh 2011-11-05 11:56:11.376105311 +0100 @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Check asterisk peers plugin for Nagios. # Written by Chad Phillips ([email protected]) @@ -7,6 +7,7 @@ ASTERISK=/usr/sbin/asterisk PROGPATH=`dirname $0` +PROGPATH="/usr/lib/nagios/plugins" REVISION=`echo '$Revision: 2 $' | sed -e 's/[^0-9.]//g'` . $PROGPATH/utils.sh @@ -333,9 +334,11 @@ if [ "$registration_verified" ]; then # Have to cut off registration name at 12 characters, so let's hope # it's still unique! - cut_user=${user:0:12} + #cut_user=${user:0:12} + cut_user=${r:0:12} # This regex isn't perfect, but it does the trick ok. - status=`echo "$command_output" | grep "^${uri}:[[:digit:]].+[[:space:]].+${cut_user}[[:space:]].+" | awk '{print $4;}'` + #status=`echo "$command_output" | grep "^${uri}:[[:digit:]].+[[:space:]].+${cut_user}[[:space:]].+" | awk '{print $4;}'` + status=`echo "$command_output" | grep "^${uri}:[[:digit:]].+[[:space:]].+[[:alpha:]].+${cut_user}[[:space:]].+" | awk '{print $5;}'` if [ "$status" = "Registered" ]; then if [ "$test_ok" ]; then test_ok="${test_ok}, $r"

Reviewed 15 years ago

Adaptec RAID Check by Anchor Systems

Python: popen4 should no longer be used

Find a patched version here: https://www.ip6.li/cms/tiki-download_file.php?fileId=46

Reviewed 15 years ago

No Favorites Found

Copyright © 2009-2026 Nagios Enterprises, LLC. All rights reserved.

Privacy PolicyTerms of UseTrademarks
Home Browse Submit Profile