Home Directory

Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

Directory

luckyz

Reviews(1)
byluckyz, March 22, 2012
1 of 1 people found this review helpful
Check memory and swap usage on Windows or Linux Server using SNMP queries
It needs only one change when deciding whether to notify for WARNING or CRITICAL status:

------------------------
instead of:

if [ $MEMORY_USED_REAL_POURCENT -gt $WARNING ] && [ $WARNING != 0 ]; then
STATE=$STATE_WARNING

this line shall be like this:

if [ $MEMORY_USED_REAL_POURCENT -gt $WARNING ] && [ $MEMORY_USED_REAL_POURCENT -lt $CRITICAL ] && [ $WARNING != 0 ]; then
STATE=$STATE_WARNING
----------------------------

Also, the value for size should be changed from Go to GB.
Owner's reply

Thank you, it is corrected.

Regards.