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
Plugins4399Themes and Skins13Add-ons753Documentation283Graphics 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
Software check_datameer_job_details.pl (Advanced Nagios Plugins Collection)
0.0 (0)
29K
RSS Feed
Newest Listings Updated Listings
Top Contributors
Yoann LAMY (7)Julien DESMAREST (6)deskwork_itunes142 (4)Chad Columbus (4)Davide Lemma (4)
See More
Newest Contributors
smolinux (1)juanfertor (1)zsoltaire (1)RavuAlHemio (1)sowoii (1)
See More

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

Privacy PolicyTerms of UseTrademarks
Home > Tony Robeck
TR

Tony Robeck

@anetrob

User Stats

Member Since: November 23, 2011

Favorites0

Views

Projects0

No Projects Found
Check_as400

Works Very Well for Most OS Versions

This worked great for our Version 5 OS, but there we a couple of issues for 7.1. Below are the changes to make the wrksyssts portions to work with 7.1 // else if(ARGS.checkVariable==DB){ // start=findToken(buffer,":",5)+1; // double db=(new Double(checkDouble((buffer.substring(start,start+11)).trim()))).doubleValue(); // // returnStatus=getStatus(db); // // System.out.println("DB Load ("+nf.format(db)+"%) | DBload="+nf.format(db)+";80;90;0; "); // } else if(ARGS.checkVariable==US){ double percentFree,total,percentUsed; start=findToken(buffer,":",10)+1; percentUsed=(new Double(checkDouble(buffer.substring(start,start+11)))).doubleValue(); start=findToken(buffer,":",10)+1; percentFree=100.0-(new Double(checkDouble(buffer.substring(start,start+11)))).doubleValue(); // start=findToken(buffer,":",12)+1; start=findToken(buffer,":",8)+1; String tot=((buffer.substring(start,start+11))).trim(); total=(new Double(checkDouble(tot.substring(0,tot.length()-1)))).doubleValue(); returnStatus=getStatus(percentFree); System.out.println(nf.format(total*(percentFree/100))+" "+tot.substring(tot.length()-1)+" ("+nf.format(percentFree)+"%) free of "+((buffer.substring(start,start+11))).trim()+" | ASP="+nf.format(percentUsed)+"%;87;92;0; "); } else if(ARGS.checkVariable==JOBS){ start=findToken(buffer,":",9)+1; int jobs=(new Integer((buffer.substring(start,start+11)).trim())).intValue(); returnStatus=getStatus(jobs); System.out.println(jobs+" jobs in system | jobs="+jobs+";;;0; ");

Reviewed 14 years ago

No Favorites Found

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

Privacy PolicyTerms of UseTrademarks
Home Browse Submit Profile