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
Other Tutorials And HOWTOs Apache Active Directory Login for Nagios Access
0.0 (0)
83.8K
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 > Thomas Weaver
TW

Thomas Weaver

@tweaver

User Stats

Favorites1

Views2637

Projects2

Check HP MSA P2000
SAN and NAS
Check HP MSA P2000
This checks the HP P2000 for the status of all parts within the SAN, this includes all Enclosures, Fans, Voltages, Disks and Temperatures. SNMP is…
4.6 (5)
79K
1
Thomas Weaver
GPL
Linux Process CPU Utilisation
Linux
Linux Process CPU Utilisation
A check plugin to look at process CPU and Memory utilization
4.0 (1)
37.6K
0
Thomas Weaver
GPL
Check Hyperv Performance

Nice easy Plugin

Nice easy to use plugin. I did make a couple of changes on the plugin on my environment: Added an extra function to change Bytes into MBytes: sub normalize { my $megabits = $_[0] / 1048576; return $megabits; } Then at the end of the script added the following to line 178: if($option eq "gueststorage") { #Convert Display to MB/s my @originalSpeed = $columns[0] =~ m/= (d+.d+)/; my $speed = sprintf("%.2f", normalize($originalSpeed[0])); $columns[0] =~ s/$originalSpeed[0] b/s/$speed MB/s/; #Convert Perf Data to MB/s my @originalSpeed = $columns[1] =~ m/=(d+.d+)/; my $speed = sprintf("%.2f", normalize($originalSpeed[0])); $columns[1] =~ s/$originalSpeed[0]b/s/${speed}MB/s/; } It just puts the Bytes/s into MBytes/s when using "gueststorage" and rounds to 2 decimal places just for easier readability.

Reviewed 13 years ago

No Favorites Found

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

Privacy PolicyTerms of UseTrademarks