Cannot see complete output of check_mem in the web interface
Posted: Tue Jul 07, 2015 8:46 am
Hello,
I have just installed Nagios Version 4.0.8 on Ubuntu 14 in order to monitor Windows 8 R2, Linux servers, routers etc. in our network. I have created a test environment which includes couple of Windows OS, and Ubuntu machines. I have installed Nsclient++ on windows and Nrpe on linux machines. Both system works well for the default command configuration of Nagios except "physical memory usage" of both Windows and Linux machines. Then, for the linux box, I installed perl script https://raw.githubusercontent.com/justi ... eck_mem.pl, configured Nrpe and outputs of the check_nrpe comands seems good;
From Nagios server:
root@ido-n:/usr/local/nagios/libexec# ./check_nrpe -H 172.x.x.x -c check_mem
OK - 55.4% (1067436 kB) free.|TOTAL=1925352KB;;;; USED=857916KB;1540281;1732816;; FREE=1067436KB;;;; CACHES=393112KB;;;;
From Ubuntu client:
root@lion:/etc/nagios# /usr/lib/nagios/plugins/check_mem -f -w 20 -c 10
OK - 58.1% (1119556 kB) free.|TOTAL=1925352KB;;;; USED=805796KB;1540281;1732816;; FREE=1119556KB;;;; CACHES=385324KB;;;;
However, when I check the interface of nagios I see just a part of the check_mem output as in this screenshot:
"Check RAM OK 07-07-2015 16:18:56 0d 2h 19m 49s 1/4 OK - 55.4% (1066580 kB) free."
Is there any idea on how I can see all outputs like total, used, caches etc on the screen? I would appreciate any assistance on this issue.
Regards
I have just installed Nagios Version 4.0.8 on Ubuntu 14 in order to monitor Windows 8 R2, Linux servers, routers etc. in our network. I have created a test environment which includes couple of Windows OS, and Ubuntu machines. I have installed Nsclient++ on windows and Nrpe on linux machines. Both system works well for the default command configuration of Nagios except "physical memory usage" of both Windows and Linux machines. Then, for the linux box, I installed perl script https://raw.githubusercontent.com/justi ... eck_mem.pl, configured Nrpe and outputs of the check_nrpe comands seems good;
From Nagios server:
root@ido-n:/usr/local/nagios/libexec# ./check_nrpe -H 172.x.x.x -c check_mem
OK - 55.4% (1067436 kB) free.|TOTAL=1925352KB;;;; USED=857916KB;1540281;1732816;; FREE=1067436KB;;;; CACHES=393112KB;;;;
From Ubuntu client:
root@lion:/etc/nagios# /usr/lib/nagios/plugins/check_mem -f -w 20 -c 10
OK - 58.1% (1119556 kB) free.|TOTAL=1925352KB;;;; USED=805796KB;1540281;1732816;; FREE=1119556KB;;;; CACHES=385324KB;;;;
However, when I check the interface of nagios I see just a part of the check_mem output as in this screenshot:
"Check RAM OK 07-07-2015 16:18:56 0d 2h 19m 49s 1/4 OK - 55.4% (1066580 kB) free."
Is there any idea on how I can see all outputs like total, used, caches etc on the screen? I would appreciate any assistance on this issue.
Regards