Search found 8 matches

by paolo974
Mon Jan 28, 2019 2:38 am
Forum: Open Source Nagios Projects
Topic: How to hide a specific service to a specific contact_groups
Replies: 3
Views: 1415

How to hide a specific service to a specific contact_groups

Hello, I'm using Nagios Core 4.0.8 I would like to know how to hide a specific service to a specific contact_groups. I would like the specific service to be hidden from Nagios Web Interface. I have by example the 2 service definitions below: define service { host_name myhost service_description serv...
by paolo974
Thu Feb 01, 2018 1:19 am
Forum: Open Source Nagios Projects
Topic: External command error: Malformed command
Replies: 12
Views: 7051

Re: External command error: Malformed command

No, and thanks again for your help :)
by paolo974
Wed Jan 31, 2018 2:15 am
Forum: Open Source Nagios Projects
Topic: External command error: Malformed command
Replies: 12
Views: 7051

Re: External command error: Malformed command

Core version: Nagios Core 4.0.8 I think the problem is not related to Nagios but to the machine, even if I not able to know what is the root cause. As the problem is solved by using the following code for event handler script, we can consider that as solved #!/bin/sh /bin/echo "[$(date +%s)] PR...
by paolo974
Fri Jan 26, 2018 1:56 am
Forum: Open Source Nagios Projects
Topic: External command error: Malformed command
Replies: 12
Views: 7051

Re: External command error: Malformed command

# /bin/sh --help GNU bash, version 4.1.2(1)-release-(x86_64-redhat-linux-gnu) Usage: /bin/sh [GNU long option] [option] ... /bin/sh [GNU long option] [option] script-file ... GNU long options: --debug --debugger --dump-po-strings --dump-strings --help --init-file --login --noediting --noprofile --n...
by paolo974
Thu Jan 25, 2018 1:20 am
Forum: Open Source Nagios Projects
Topic: External command error: Malformed command
Replies: 12
Views: 7051

Re: External command error: Malformed command

npolovenko , Yes, the number 8 gets written out instead of the epoch stamp in /app/monitor/MASTER1/var/rw/nagios.cmd file In /app/monitor/MASTER1/var/nagios.log, the number 8 gets written out too, and if I put an echo $cmdline >> /tmp/debug before `$echocmd $cmdline >> $CommandFile` in event handle...
by paolo974
Wed Jan 24, 2018 1:29 am
Forum: Open Source Nagios Projects
Topic: External command error: Malformed command
Replies: 12
Views: 7051

Re: External command error: Malformed command

It is event handler slaves use event handler and code is: #!/bin/sh # write a command to the Nagios command file to cause # it to process a service check result echocmd="/bin/echo" CommandFile="/app/monitor/MASTER1/var/rw/nagios.cmd" # get the current date/time in seconds sine UN...
by paolo974
Tue Jan 23, 2018 2:51 am
Forum: Open Source Nagios Projects
Topic: External command error: Malformed command
Replies: 12
Views: 7051

External command error: Malformed command

Hello, Since 5 days, my Nagios is not working properly. I have 1 master and 4 slaves. Slaves is sending passive checks to master. The problem is that sometimes, slaves are sending: 8 PROCESS_SERVICE_CHECK_RESULT;<host>;<service_description>;<service_state>;<plugin_output> Note the 8 at the beginning...