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

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
Plugins4391Themes and Skins11Add-ons738Documentation283Graphics 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
Nagios Log Server Documentation Nagios Log Server – Understanding Email Sending
0.0 (0)
5.8K
RSS Feed
Newest Listings Updated Listings
Top Contributors
Julien DESMAREST (6)LAMY (6)Davide Lemma (4)deskwork_itunes142 (4)Joerg Hoerter (3)
See More
Newest Contributors
messefreeze (2)apham (1)mngvn (2)Georg2Korger2 (1)Guillaume8723 (1)
See More

Copyright © 2009-2025 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 14 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 14 years ago

No Favorites Found

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

Privacy PolicyTerms of UseTrademarks
Home Browse Submit Profile