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 ] ];
-------------------------------------------------------------------------
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
_______________________________________________
Nagios-users mailing list
[email protected]
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