SNMP

APAN check mem usage and check net usage

Description:

Adds new functions to the nagios plugin check_mem_usage and net_usage, adding porcentages and ranges. It could be useful for other implementations only making the call with other OID’S in the apan.cfg

Current Version

Last Release Date

June 23, 2009

Compatible With


Nagios CSP

Meet The New Nagios Core Services Platform

Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.

Monitoring Made Magically Better

  • Nagios Core on Overdrive
  • Powerful Monitoring Dashboards
  • Time-Saving Configuration Wizards
  • Open Source Powered Monitoring On Steroids
  • And So Much More!
Project Files
Project Notes
MEM_USAGE: 0 and 30 are two percentages. If you use more than 0% of your MemTotalSwap plugin generates a warning and if you use more than 30% of emTotalSwap plugin generates a critical. If you don\\\'t use swap state is OK. define service{ use generic-service host_name x service_description memory-usage-2 is_volatile 0 contact_groups tests check_command apan!control_snmp!0!30 } NET USAGE: There are two values of bandwith that determine if you have a warning or a critical # max1= 50kBs max2= 150kBs define service{ use generic-service host_name x service_description net-usage-2 is_volatile 0 contact_groups tests check_command apan!control_snmp_net!51300!153600 normal_check_interval 3 } You have to add the plugin where you have the other plugins of apan, in my case (/usr/local/nagios/apan/plugs). An in the config file of apan (apan.sh in my case in /usr/local/nagios/apan): control_snmp) snmp_memory $5 $6 ;; control_snmp_net) snmp_net $5 $6 ;; I use this oids with a DELL PowerEdge, but you can use these plugin for other issues, only changing the oid's that you pass. APAN.CFG (/etc/nagios): server_name;memory-usage-2;/var/rrd/server-name_mem-usage-2.rrd;COMMUNITY:.1.3.6.1.4.1.2021.4.6.0|COMMUNITY:.1.3.6.1.4.1.2021.4.13.0| COMMUNITY:.1.3.6.1.4.1.2021.4.14.0|COMMUNITY:.1.3.6.1.4.1.2021.4.15.0| COMMUNITY:.1.3.6.1.4.1.2021.4.4.0|COMMUNITY:.1.3.6.1.4.1.2021.4.3.0;memAvailReal:LINE2 memShared:LINE2 memBuffer:LINE2 memCached:LINE2 memAvailSwap:LINE2 memTotalSwap:LINE2;MemFree;MB server_name;net-usage;/var/rrd/server-name_net-usage-2.rrd;COMMUNITY:.1.3.6.1.2.1.2.2.1.10.2|COMMUNITY:.1.3.6.1.2.1.2.2.1.16.2; IN:LINE2 OUT:LINE2;Network throughput;Bytes/sek;
Reviews (0) Add a Review
Add a Review

You must be logged in to submit a review.

Thank you for your review!

Your review has been submitted and is pending approval.

Recommend

To:


From:


Thank you for your recommendation!

Your recommendation has been sent.

Project Stats
Rating
0 (0)
Favorites
0
Views
150,075