Nagios Exchange Nagios Exchange
  • Home
  • Directory
  • Library
  • Support
  • About
  • Submit Feedback

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
  • Submit Feedback
Plugins4414Themes and Skins13Add-ons765Graphics 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 Core Show service state in statusmap – Nagios 3.3
5.0 (1)
54.1K
RSS Feed
Newest Listings Updated Listings
Top Contributors
deskwork_itunes142 (4)John Shorey (4)Chad Columbus (3)Marcin Bednarski (3)Nick Overstreet (3)
See More
Newest Contributors
sunilka (1)davidb (1)faddom (1)SJC (2)pawal (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 15 years ago

No Favorites Found

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

Privacy PolicyTerms of UseTrademarks
Home Browse Submit Profile