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

Nagios World Conference 2026: Sept. 14-17 in St. Paul, MN | Learn More

  • Home
  • Directory
  • Library
  • Support
  • About
Plugins4401Themes and Skins12Add-ons755Graphics 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 Configure hostgroups for Nagios
0.0 (0)
93.3K
RSS Feed
Newest Listings Updated Listings
Top Contributors
Yoann LAMY (7)Julien DESMAREST (6)Davide Lemma (4)deskwork_itunes142 (4)Sam N (3)
See More
Newest Contributors
signalgrid (1)Sanna Glue (2)fisherrs (1)juanfertor (1)zsoltaire (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