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

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

  • Home
  • Directory
  • Library
  • Support
  • About
  • Submit Feedback
Plugins4410Themes and Skins13Add-ons763Graphics 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
Presentations Nagios: A Framework for Hardware-based Monitoring
0.0 (0)
95.3K
RSS Feed
Newest Listings Updated Listings
Top Contributors
John Shorey (4)deskwork_itunes142 (4)Chad Columbus (3)Marcin Bednarski (3)Davide Lemma (3)
See More
Newest Contributors
pawal (1)matthewducey (1)Linuxfabrik (1)signalgrid (1)Sanna Glue (2)
See More

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

Privacy PolicyTerms of UseTrademarks
Home > naveen singh
ns

naveen singh

@nks_mmm

User Stats

Member Since: January 6, 2014

Favorites0

Views

Projects0

No Projects Found
Simple local memory percentage check

Just had a logic issue

great simple plugin for Unix/linux. Satisfied my requirements. Just had one issue. Logic was wrong for calculating used memory. Fixed it as follows- used=$(echo "(($total-$free) / $total)*100" | bc -l) was - used=$(echo "($free / $total)*100" | bc -l) I used it with NRPE for remote check. Below steps- 1. Copy the downloaded script. Make change mentioned above. Name it check_memory.sh Copy, check_memory.sh, to /usr/lib/nagios/plugins on remote host 2. Add a file check_memory.cfg on remote host with content as- command[check_memory]=/usr/lib/nagios/plugins/check_memory.sh -w 85 -c 90 3. restart nrpe service service nagios-nrpe-server restart 4. On nagios server, add below to /etc/nagios3/conf.d/services.cfg #service for checking remote host memory usage define service { service_description check Memory Usage host_name remote-host-name-from-hosts.cfg check_command check_nrpe!check_memory use default-service } 5. reload nagios configuration /etc/init.d/nagios reload

Reviewed 13 years ago

No Favorites Found

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

Privacy PolicyTerms of UseTrademarks
Home Browse Submit Profile