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-ons741Documentation283Graphics 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 XI Documentation Monitoring A Nagios XI Server
0.0 (0)
92.3K
RSS Feed
Newest Listings Updated Listings
Top Contributors
Julien DESMAREST (6)Yoann LAMY (6)Davide Lemma (4)deskwork_itunes142 (4)Claudio Kuenzler (2)
See More
Newest Contributors
sowoii (1)Nitatemic (1)cjdepaul (1)ixs (1)messefreeze (2)
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