Linux

cperf

Description:

This is a plugin that monitors CPU, memory and swap utilization related.
It can monitor cpu and memory for more complex output with swap analysis and blocked processes, alarming as critical only in cases where paging and locked processes exist.

Current Version

1.0

Last Release Date

2019-11-23

Compatible With

  • Nagios 1.x
  • Nagios 2.x
  • Nagios 3.x
  • Nagios 4.x
  • Nagios XI

License

GPL


Project Files
Project Notes
This script is able to get status of CPU, memory and swap It can monitor cpu and memory for more complex output with swap analysis and blocked processes, alarming as critical only in cases where paging and locked processes exist. To use the script you need to specify whether to monitor cpu or memory using the cpu or mem flag, and including the thresholds for warning and critical next. Example: server: / #./cperf.sh Invalid parameter. Use: # cperf.sh mem V1 V2 or # cperf.sh cpu V1 V2 V1 = warning percentage value V2 = critical percentage value server: / #./cperf.sh mem 85 95 OK - MEMORY usage at 62 % - SWAP usage at 22 % server: / #./cperf.sh cpu 85 95 OK - CPU usage at 1 % - 3 processes running - 0 processes blocked The idea is to generate fewer alerts and generate critical alerts only when there is really CPU contention or low memory, thus eliminating peak usage alerts.
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
3,942