Build precise queries to find exactly what you need
Press ESC to close
Your review has been submitted and is pending approval.
This is a script to check RAM, CPU, QUEUE, Work Queue, and Mail Rate and other important parameters on Ironport Appliances and it returns performance data for graphing the results.
Current Version
Last Release Date
June 26, 2009
Owner
Nagios Exchange
updated check_ironport with perfdata (2009-06-25)
This is an update to the plugin made by Claudio Saavedra and updated by Steven Geerts.
The only difference is that I modified the plugin to output performance data so results can be graphed using a graphing system
Hi, Good plugin !! I added the feature to get log_used gauge and also "rates" from status file. The parameter should be rates_xxx where xxx is the rate you want to get. I don't care about warning and critical, I need rates only for my graphs. This is the result of the diff between your and my version. 109a110,112 > # delete EOL in XML key > sed ':a;N;$!ba;s/"n/"/g' ${STATUSFILE} > ${STATUSFILE}.tmp && mv ${STATUSFILE}.tmp ${STATUSFILE} > 297,298c300,332 IPORTPAR=`grep log_used $STATUSFILE | cut -d" -f 4` > if [ $IPORTPAR -ge $PAR_WARN ]; then > if [ $IPORTPAR -ge $PAR_CRIT ]; then > exitstatus=${STATE_CRITICAL} > echo "LOG DISK SPACE CRITICAL: $IPORTPAR%" "| RESULT=$IPORTPAR%;$PAR_WARN;$PAR_CRIT;" > else > exitstatus=${STATE_WARNING} > echo "LOG DISK SPACE WARNING: $IPORTPAR%" "| RESULT=$IPORTPAR%;$PAR_WARN;$PAR_CRIT;" > fi > else > exitstatus=${STATE_OK} > echo "LOG DISK SPACE OK: $IPORTPAR%" "| RESULT=$IPORTPAR%;$PAR_WARN;$PAR_CRIT;" > fi > ;; > rates_*) > SEARCH=`echo -n $ARGS | cut -c 7-` > IPORTPAR1=`grep $SEARCH $STATUSFILE | grep rate | cut -d" -f 4` > IPORTPAR5=`grep $SEARCH $STATUSFILE | grep rate | cut -d" -f 6` > IPORTPAR15=`grep $SEARCH $STATUSFILE | grep rate | cut -d" -f 8` > if [ "$IPORTPAR1" == "" ]; then > exitstatus=${STATE_UNKNOWN} > echo "Rate $SEARCH UNKNOWN : unable to get data from Ironport, check variable name" > else > # Return is always OK for rates !! > exitstatus=${STATE_OK} > echo "Rate $SEARCH returns:" > echo "Last_1_Min = "$IPORTPAR1 > echo "Last_5_Min = "$IPORTPAR5 > echo "Last_15_Min = "$IPORTPAR15 > echo "| Last_1_min=$IPORTPAR1; Last_5_Min=$IPORTPAR5; Last_15_Min=$IPORTPAR15" > fi > ;;
You must be logged in to submit a review.
To:
From:
We’ve completely redesigned the world’s largest repository of Nagios plugins and monitoring tools. Join thousands of users sharing monitoring solutions for servers, applications, and everything in between.
Due to our redesign, all existing accounts require a password reset to access your account again.
Ready to explore 6,100+ projects and contribute to the community?
Reset Password Create Account
Happy Monitoring!