Hey all, I'm trying to find a way to check memory on some of my Linux servers and about all I can find are scripts that people have written (some of which are quite complex). Are there no stock memory checks for Linux in Nagios?
Thanks,
Joe B
No stock Mem_Checks for Linux?
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: No stock Mem_Checks for Linux?
Attached is one of my favorites, one caveat is it need the dc package (which on RHEL based systems is actually part of the bc package).
e.g
or Ubuntu, I believe it is
e.g
Code: Select all
yum install bc -yCode: Select all
apt-get install bc- Attachments
-
- custom_check_mem.zip
- (1.23 KiB) Downloaded 140 times
Re: No stock Mem_Checks for Linux?
Thanks scottwilkerson but I'm running my Nagios on FreeBSD.
Thanks,
Joe B
Thanks,
Joe B
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: No stock Mem_Checks for Linux?
Ah, you said Linux servers, I suggest next time you let us know exactly what distro you are talking about. I just looked it up and it looks like freeBSD supports the 'bc' package as well, you should be able to install it with your package management system.