SELinux: Create Policy for NRPE Writing

Had a problem with Nagios/NRPE checks that are configured to write a status file as part of their check. The path /var/logstate was the target created the policy below. Andrew (Urban Penguin) Youtube video is an excellent resource. Install selinux... » More

Nagios NRPE omreport errors

Nagios check for Dell OpenManage was failing after upgrade to srvadmin 9.2 with: UNKNOWN: Problem running 'omreport chassis memory': Error: SMStatus: 700 UNKNOWN: Problem running 'omreport chassis batteries': Error! XML Transformation failed UNKNOWN:... » More

check_mk: Check http service

In the WATO menu choose 'Check Plugins' and then 'Networking checks without an agent'. Find the 'HTTP/HTTPS connection' option and then click on 'Check HTTP service' beside Parameter rule set: Scroll down to the bottom and click 'Create rule... » More

check_mk: Check APT updates

On your check_mk install under the WATO menu navigate to 'Monitoring Agents' find and click on the link for 'Check for APT updates (Debian, Ubuntu)'. This is the check plugin to add to the server so copy that code. Copy the contents of that check... » More

ThingsBoard API: Get Auth Token

The auth token will be required for future API requests. I did the following using the Insomnia REST client: As a curl command that would be: curl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' -d... » More

Blink Hard Disk Light on Dell

To blink the light on a hard disk on Dell Server from the command line first get a list of the physical disks so you can check the disk ID: omreport storage pdisk controller=0 then to blink the disk: omconfig storage pdisk action=blink... » More

check_mk: Emails Not Sent

On a CentOS 7 server with postifx already installed and working I found the emails from check_mk / OMD were not being sent. I needed a symlink for sendmail: ln -s /usr/lib/sendmail.postfix /usr/lib/sendmail Test with su - omduserecho... » More

check_mk: monitor that a process exists

WATO > Manual Checks and click on "State and Count of Processes" Add the description, check-type, process name and process matching and set the levels for the number of these processes that are expected:

check_mk: Check for Yum Updates

Visit the page below to download the mkp package: https://checkmk.de/check_mk-exchange-file.php?&file=linux-updates-1.0.mkp Upload the mkp package to your check_mk server then install it : OMD:~$ mkp -v install linux-updates-1.0.mkp On... » More