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
Plugins4394Themes and Skins11Add-ons743Documentation283Graphics 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
Java Applications and Servers check_tomcatSessions_01b3
0.0 (0)
37.8K
RSS Feed
Newest Listings Updated Listings
Top Contributors
Julien DESMAREST (6)Yoann LAMY (6)Davide Lemma (4)deskwork_itunes142 (4)Gary T. GIesen (2)
See More
Newest Contributors
RavuAlHemio (1)sowoii (1)Nitatemic (1)cjdepaul (1)ixs (1)
See More

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

Privacy PolicyTerms of UseTrademarks
Home > chrisman
c

chrisman

@chrisman

User Stats

Member Since: January 20, 2015

Favorites0

Views

Projects0

No Projects Found
check_fujitsu_server (SNMP,CIM,REST)

chkenv on iRMC S5 is wrong

Great plugin since years. But I have a problem with the --chkenv on an iRMC S5, it give a wrong status. According to the documentation I can split this into: --chkcooling --chktemp these checks brings the correct status "ok" but the --chkenv brings "UNKNOWN" Sample-output from an S4: OK Environment(ok) | Ambient=22C;37;42 Systemboard=44C;75;80 CPU1=54C;97;98 CPU2=46C;97;98 MEM_A=33C;78;82 MEM_B=33C;78;82 MEM_C=34C;78;82 MEM_D=34C;78;82 MEM_E=33C;78;82 MEM_F=33C;78;82 MEM_G=35C;78;82 MEM_H=35C;78;82 PCH=46C;80;85 LOM=41C;67;70 PSU1_Inlet=30C;57;61 PSU2_Inlet=34C;57;61 PSU1=40C;103;107 PSU2=44C;103;107 RAID_Controller=64C;110;114 Sample-Output from a S5: UNKNOWN ID=XXXXXXXXX Systemname=XXXXXXX Description="Primergy iRMC S4 Wed Jan 23 17:40:57 CET 2019" Location="- unknown -" Contact="root@localhost" BaseServer-OS="XXXXXXXXXXXXXXXXXX" BaseServer-FQDN="XXX.XXX.XXX.XXX" | Ambient=21C;37;42 Systemboard_1=30C;75;80 Systemboard_2=45C;75;80 CPU1=47C;89;90 CPU2=43C;89;90 MEM_A=40C;78;82 MEM_B=39C;78;82 MEM_C=41C;78;82 MEM_D=43C;78;82 MEM_E=43C;78;82 MEM_F=43C;78;82 MEM_G=38C;78;82 MEM_H=37C;78;82 MEM_J=36C;78;82 MEM_K=39C;78;82 MEM_L=39C;78;82 MEM_M=39C;78;82 PCH=68C;80;85 OCP=46C;69;72 PSU1_Inlet=33C;57;61 PSU2_Inlet=37C;57;61 PSU1=43C;103;107 PSU2=47C;103;107 RAID_Controller=82C;110;114 HDD=36C;60

Reviewed 6 years ago

Check RAM usage as a percentage

RAM free not used

Hi maybe I'm wrong but your script returns not the RAM used it returns the RAM free. Your script queries two values: $total_ram with OID .1.3.6.1.4.1.2021.4.5.0 $total_ram_free with OID .1.3.6.1.4.1.2021.4.6.0 but OID .1.3.6.1.4.1.2021.4.6.0 is not the used RAM on my linux boxes it's the memAvailReal.0 I changed your script a bit and turned "$total_ram_used" to "$total_ram_free" and added a line before "$percentage_ram_used": $total_ram_used = $total_ram - $total_ram_free; cheers chris

Reviewed 11 years ago

No Favorites Found

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

Privacy PolicyTerms of UseTrademarks
Home Browse Submit Profile