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
Plugins4387Themes and Skins11Add-ons734Documentation283Graphics 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
Java Applications and Servers Check Cassandra status and heap memory utilization
0.0 (0)
77.6K
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
Guillaume8723 (1)Salvo (1)SOHA-IT (1)Tsvetomir Tsvetanov (1)Igor Ru (1)
See More

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

Privacy PolicyTerms of UseTrademarks
Home > Bob Nicksic
BN

Bob Nicksic

@rnicksic

User Stats

Member Since: February 23, 2017

Favorites0

Views

Projects0

No Projects Found
SNMP Printer Check

Missing parameter for SNMP v3

I had to add the parameter for CONTEXT (-n) in order to use SNMP v3 with Konica-Minolta bizhub C284 printers. --- /home/rnicksic/check_snmp_printer 2017-02-23 10:08:16.821478951 -0600 +++ check_snmp_printer 2017-02-23 11:53:04.914467280 -0600 @@ -890,7 +890,7 @@ walk_snmp(){ fi if [[ $SNMPVERSION = 3 ]]; then - RESULT_TEXT=`snmpwalk -v $SNMPVERSION $OUTPUT_OPTIONS -u $SNMPUSER -l $PRIVILEGELEVEL -x $PRIVACYPROTOCOL -X $PRIVACYPASSWORD -a $AUTHPROTOCOL -A $AUTHPASSWORD $HOST_NAME $1` + RESULT_TEXT=`snmpwalk -v $SNMPVERSION $OUTPUT_OPTIONS -u $SNMPUSER -n $CONTEXT -l $PRIVILEGELEVEL -x $PRIVACYPROTOCOL -X $PRIVACYPASSWORD -a $AUTHPROTOCOL -A $AUTHPASSWORD $HOST_NAME $1` RESULT_CODE=$? else # Check if community was also set @@ -989,6 +989,10 @@ while test -n "$1"; do PRIVACYPASSWORD=$2 shift ;; + --context|-n) + CONTEXT=$2 + shift + ;; --type|-t) # Assign check to perform CHECK_TYPE=$(echo "$2" | cut -d " " -f1) PARAMETER=$(echo "$2" | cut -d " " -f2-)

Reviewed 9 years ago

check_lvm

need to sudo the check config

nagios user doesn't have permission to check the LVM status. Need to allow nagios user to run the check with sudo permission and add sudo to the check configuration

Reviewed 6 years ago

No Favorites Found

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

Privacy PolicyTerms of UseTrademarks
Home Browse Submit Profile