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

Nagios World Conference 2026: Sept. 14-17 in St. Paul, MN | Learn More

  • Home
  • Directory
  • Library
  • Support
  • About
  • Submit Feedback
Plugins4406Themes and Skins13Add-ons760Graphics 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
Network Connections, Stats and Bandwidth check_naglio_netint
0.0 (0)
15.9K
RSS Feed
Newest Listings Updated Listings
Top Contributors
deskwork_itunes142 (4)Davide Lemma (3)Chad Columbus (3)Marcin Bednarski (3)Andrea Bolongaro (2)
See More
Newest Contributors
pawal (1)matthewducey (1)Linuxfabrik (1)signalgrid (1)Sanna Glue (2)
See More

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

Privacy PolicyTerms of UseTrademarks
Home > Artem Zavyalov
AZ

Artem Zavyalov

@artickl

User Stats

Member Since: October 30, 2012

Favorites0

Views

Projects0

No Projects Found
check_asterisk_ami_v2.sh

Nice plug-in but 2 issues in code

That's nice check, but I have issues with channel check and g729. That's diff of fix if needed: 135c135 CHANNELS=`/bin/echo -e "Action: loginrnUsername: ${AMIUSER}rnSecret: ${AMIPASS}rnEvents: offrnrnAction: Commandrncommand: Core Show ChannelsrnrnAction: Logoffrnrn" | /bin/netcat ${REMOTEHOST} ${AMIPORT} | awk '/active channels/ {print $1}'|tr -d "r"` 294c294 MAXLICTEST=`/bin/echo -e "Action: loginrnUsername: ${AMIUSER}rnSecret: ${AMIPASS}rnEvents: offrnrnAction: Commandrncommand: show g729rnrnAction: Logoffrnrn" | /bin/netcat ${REMOTEHOST} ${AMIPORT} | awk '/encoders/ {print $4}'` 302c302 ONUSE=`/bin/echo -e "Action: loginrnUsername: ${AMIUSER}rnSecret: ${AMIPASS}rnEvents: offrnrnAction: Commandrncommand: show g729rnrnAction: Logoffrnrn" | /bin/netcat ${REMOTEHOST} ${AMIPORT} | awk '/encoders/ {print substr($1, 1, match($1, "/") -1)}'`

Reviewed 14 years ago

Check IO stats of one or all disks

Nice check! Must have!

It's very useful check which must be turned on for every server! PS: but small changes for check_all_diskstat.sh can be applied as soon it not returning a correct exit status for nagios notification. I make some changes which can help somebody else: ################### #!/bin/bash EXITCODE=0 CHK=/usr/lib/nagios/plugins/check_diskstat.sh WARN=${1:-"300,10000,10000"} CRIT=${2:-"400,20000,20000"} for DEVICE in `ls /sys/block`; do if [ -L /sys/block/$DEVICE/device ]; then DEVNAME=$(echo /dev/$DEVICE | sed 's#!#/#g') echo -n "$DEVNAME: " OUTPUT="`$CHK -d $DEVICE -w $WARN -c $CRIT`" STATUS=$? if [ "$EXITCODE" -le "$STATUS" ]; then EXITCODE=$STATUS; fi echo $OUTPUT | sed "s#=#_$DEVNAME=#g" fi done exit $EXITCODE ###################

Reviewed 13 years ago

No Favorites Found

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

Privacy PolicyTerms of UseTrademarks
Home Browse Submit Profile