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
Administration Nagios Fusion 4 – Administration – Administration Scripts
0.0 (0)
5.1K
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 > Frits Spits
FS

Frits Spits

@fritsspits

User Stats

Favorites0

Views

Projects0

No Projects Found
check_linux_stats

Small bug

Hi, There's a small bug in v1.5 on line 62: "if" should be "elsif" otherwise the -C (check_cpu) option will always show help. Here's the diff: --- /usr/lib/nagios/plugins/check_linux_stats.pl.org 2016-01-12 11:51:20.586228411 +0100 +++ /usr/lib/nagios/plugins/check_linux_stats.pl 2016-01-12 11:49:45.223925210 +0100 @@ -59,7 +59,7 @@ if($o_cpu){ check_cpu(); } -if($o_context){ +elsif($o_context){ check_context_switch(); } elsif($o_mem){

Reviewed 10 years ago

No Favorites Found

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

Privacy PolicyTerms of UseTrademarks