linux memory usage graph using nagiosgraph

Joe Astrologo jastrolo at gmail.com
Thu Apr 17 23:21:55 CEST 2008


I am able to graph CPU statistics but not memory stats for my linux clients.

I use NRPE to monitor memory on my linux clients.


nagios graph map config is below:



# Service Type Linux Memory Check
# output:Memory Check: total:1106.54 Mb - used: 304.37 Mb (28%) - free:
802.16 Mb (72%)
 /output:Memory Check: total:([-.0-9]+) Mb - used: ([-.0-9]+) Mb \((\d+)%\)
- free: ([-.0-9]+) Mb \((\d+)%\)/
 and push @s, [ memory,
              [ bytesmax, GAUGE, $1*1024**2 ],
              [ bytesused, GAUGE, $2*1024**2 ],
              [ pctused, GAUGE, $3 ],
              [ bytesfree, GAUGE, $4*1024**2 ],
              [ pctfree, GAUGE, $5 ] ];
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20080417/ba61a0a9/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null


More information about the Users mailing list