I need to monitor a HP DL2600 Storage array on a HP DL380G8.
I wrote a little script that does the Job. It works for me but maybe not in your environment 😎
If your cgi script needs root permissions to run (access to serial port …), you have to create a wrapper.
DANGER ! Script runs with root permissions –> security !! 👿
#define REAL_PATH „/var/www/cgi-bin/test/my_script.cgi“
compile it (as root)
[root@acme test]# gcc -o wrapper.cgi wrapper.c
[root@acme test]# chmod u+xs wrapper.cgi
[root@acme test]# ls -la wrapper.cgi
-rwsr-xr-x 1 root root 6468 Oct 30 21:12 wrapper.cgi
if you want to have only one report in the week, you have to make the following changes in your setup:
The configuration has been successfully tested with CentOS 6.3 and logwatch 7.3.6.
check if the perl module perl-DateManip is installed -> yum install perl-DateManip.
modify your configuration file: /etc/logwatch/conf/logwatch.conf
Nagstamon is a Nagios Monitorsoftware for your Desktop.
Description from Website:
Nagstamon is a Nagios status monitor for the desktop. It connects to multiple Nagios, Icinga, Opsview, Centreon, Op5 Monitor/Ninja, Check_MK Multisite and Thruk monitoring servers and resides in systray or as a floating statusbar at the desktop showing a brief summary of critical, warning, unknown, unreachable and down hosts and services and pops up a detailed status overview when moving the mouse pointer over it. Connecting to displayed hosts and services is easily established by context menu via SSH, RDP and VNC or any self defined actions. Users can be notified by sound. Hosts and services can be filtered by category and regular expressions.