Search found 24 matches

by crechet51
Tue Sep 10, 2019 7:02 am
Forum: Nagios XI
Topic: check in time
Replies: 3
Views: 280

Re: check in time

Googled for a long time and tried to make addictions work.

Can you help and give some example of how, I can depending the result of the execution of one command, to execute another command? :|
by crechet51
Thu Sep 05, 2019 2:34 pm
Forum: Nagios XI
Topic: nrpe&check_load = false results
Replies: 5
Views: 319

Re: nrpe&check_load = false results

Yes, you're right.

Thanks, Scott :)
by crechet51
Thu Sep 05, 2019 1:52 pm
Forum: Nagios XI
Topic: nrpe&check_load = false results
Replies: 5
Views: 319

Re: nrpe&check_load = false results

sure: log_facility=daemon pid_file=/var/run/nagios/nrpe.pid server_port=5666 nrpe_user=nagios nrpe_group=nagios allowed_hosts=127.0.0.1, my.own.host2 dont_blame_nrpe=0 allow_bash_command_substitution=0 debug=0 command_timeout=60 connection_timeout=300 command[check_users]=/usr/lib/nagios/plugins/che...
by crechet51
Thu Sep 05, 2019 6:23 am
Forum: Nagios XI
Topic: nrpe&check_load = false results
Replies: 5
Views: 319

nrpe&check_load = false results

Hi, When I run: ./check_nrpe -H my.own.host -c check_load I get: OK - load average: 1.10, 0.79, 0.69|load1=1.100;2.000;5.000;0; load5=0.792;2.000;5.000;0; load15=0.693;2.000;5.000;0; but at this time, on the computer that I am checking: load average: 4,66, 3,15, 3,51 Why does nrpe get false results?
by crechet51
Thu Aug 29, 2019 1:38 pm
Forum: Nagios XI
Topic: nrpe & NCClient++
Replies: 11
Views: 778

Re: nrpe & NCClient++

Yes! It works! Thanks a lot, mbellerue. Have a nice day! :mrgreen:
by crechet51
Thu Aug 29, 2019 4:58 am
Forum: Nagios XI
Topic: check in time
Replies: 3
Views: 280

check in time

Hi,

I need to check some hosts only if they are turned on.
If computers are turned off, then they do not need to be checked.

Have any ideas how to realize it?
by crechet51
Thu Aug 29, 2019 3:13 am
Forum: Nagios XI
Topic: nrpe & NCClient++
Replies: 11
Views: 778

Re: nrpe & NCClient++

Ok) I did something and the service started :mrgreen: >netstat -a | findstr 5666 TCP 0.0.0.0:5666 WIN-PC-CRECHET:0 LISTENING TCP 0.0.0.0:5666 WIN-PC-CRECHET:0 LISTENING TCP [::]:5666 WIN-PC-CRECHET:0 LISTENING BUT: #./check_nrpe -H windows-pc-host -p5667 > I (0.5.2.35 2018-01-28) seem to be doing fi...
by crechet51
Wed Aug 28, 2019 4:08 pm
Forum: Nagios XI
Topic: nrpe & NCClient++
Replies: 11
Views: 778

Re: nrpe & NCClient++

hmm... error:c:\source\master\modules\NRPEServer\NRPEServer.cpp:165: Request contained arguments (not currently allowed, check the allow arguments option). you were right... But what can I do with it? I'm already wrote "allow arguments=1" by the way: netstat -a | findstr 5666 = nothing(
by crechet51
Wed Aug 28, 2019 3:33 pm
Forum: Nagios XI
Topic: nrpe & NCClient++
Replies: 11
Views: 778

Re: nrpe & NCClient++

actually router forwards 5667 port to 5666)))

because 5666 is busy by another pc)
by crechet51
Wed Aug 28, 2019 2:47 pm
Forum: Nagios XI
Topic: nrpe & NCClient++
Replies: 11
Views: 778

Re: nrpe & NCClient++

Ok, I wrote "allow arguments=1" in nsclient.ini, then I restarted the service. #./check_nrpe -H windows-pc-host -p 5667 -c check_drivesize -a drive=C: 'warning=used>90%' 'critical=used>95%' show-all 'perf-config=*(unit:G)' detail-syntax='{${drive_or_name} ${used_pct}% used / ${size} total}...