Nagios Exchange
  • Home
  • Directory
  • 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
Plugins4387Themes and Skins11Add-ons732Documentation283Graphics 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 Nagios XI – Understanding The User Macros Component
0.0 (0)
6.2K
RSS Feed
Newest Listings Updated Listings
Top Contributors
LAMY (7)Julien DESMAREST (6)deskwork_itunes142 (4)Davide Lemma (4)Joerg Hoerter (3)
See More
Newest Contributors
Guillaume8723 (1)Salvo (1)SOHA-IT (1)Tsvetomir Tsvetanov (1)Igor Ru (1)
See More
Home > Asa Sourdiffe
AS

Asa Sourdiffe

@asa1

User Stats

Favorites0

Views474

Projects2

check_puppet_lastrun
Operating Systems
check_puppet_lastrun
This tests how long it has been since the puppet agent was last run, and exits with OK, Warning or Critical status depending on the…
0.0 (0)
26.4K
0
Asa Sourdiffe
DHCPD duplicate MAC/IP check
DHCP and BOOTP
DHCPD duplicate MAC/IP check
Checks the dhcpd.conf file for duplicate IP and MAC addresses. Does NOT check for overlapping IP pools. Only tested with the ISC version of dhcpd…
0.0 (0)
27.4K
0
Asa Sourdiffe
GPL
Jeff Manross

Very useful - with critical flaw

This example is extremely useful, but the author doesn't seem to understand the crazy way the check_snmp plugin defines critical and warning ranges. For example, the latesttest_result SNMP value is 2 if failed, 1 if passed. The -c 2 flag means anything GREATER than 2 is critical, so a status of 2 passed, when it should not. The correct syntax should be -c 1. This also affects the snmp_ups_stat check for the main battery status, which I believe should probably use a -c 2 flag, with no warning flag based on this description in the MIB: "The status of the ups batteries. A batteryLow(3) value indicates the UPS will be unable to sustain the current load, and its services will be lost if power is not restored. The amount of run time in reserve at the time of low battery can be configured by the upsAdvConfigLowBatteryRunTime. A batteryInFaultCondition(4)value indicates that a battery installed has an internal error condition." It's very unfortunate that the check_snmp works this way, since it makes reading and writing these checks very counter intuitive. I want to stress that I'm very grateful for all the work the author of this check - it's saved me a huge amount of time, despite these small but important mistakes.

Reviewed 12 years ago

No Favorites Found

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

Privacy PolicyTerms of UseTrademarks