Search found 2 matches

by KRVS
Tue Nov 28, 2017 6:54 am
Forum: Nagios XI
Topic: Problem executing Handler Script
Replies: 3
Views: 517

Re: Problem executing Handler Script

Before I start asking any questions, define command { command_name check_topcpu_linux command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -t 60 -p 5666 -c check_toprcpu_linux } Is that command copied or did you type it? Because check_toprcpu_linux is misspelled? I think it should be check_topcpu_linux...
by KRVS
Thu Nov 23, 2017 9:45 am
Forum: Nagios XI
Topic: Problem executing Handler Script
Replies: 3
Views: 517

Problem executing Handler Script

Hello, I want to make a handle script that send me a notification with the top processes everytime to the CPU changes the status. I have a script to saves the top cpu processes in a /temp/ file and shows it: #!/bin/bash rm /tmp/checktopcpu.txt date=$(date) echo -e "$date" >> /tmp/checktopc...