Search found 22 matches
- Sun Jan 13, 2019 10:23 pm
- Forum: Open Source Nagios Projects
- Topic: External Command: Malformed Command
- Replies: 36
- Views: 18453
Re: External Command: Malformed Command
When I try to find the log using following command: sudo tail -Fn0 /var/log/httpd/*_log tail: cannot open ‘/var/log/httpd/*_log’ for reading: No such file or directory This is what I get. And I am still getting the External Command: Malformed Error even though I have commented out the cpu service fo...
- Wed Jan 09, 2019 8:05 pm
- Forum: Open Source Nagios Projects
- Topic: External Command: Malformed Command
- Replies: 36
- Views: 18453
Re: External Command: Malformed Command
No it's not only the memory one, sometimes it happens for all the services.
- Wed Jan 09, 2019 12:39 am
- Forum: Open Source Nagios Projects
- Topic: External Command: Malformed Command
- Replies: 36
- Views: 18453
Re: External Command: Malformed Command
So as pointed by you I have commented out the cpu events. So as to check whether that is causing any issues. But I am still able to see the External Command Error:Malformed Command: Informational Message[01-09-2019 00:39:01] External command error: Malformed command Informational Message[01-09-2019 ...
- Tue Jan 08, 2019 12:07 am
- Forum: Open Source Nagios Projects
- Topic: External Command: Malformed Command
- Replies: 36
- Views: 18453
Re: External Command: Malformed Command
ssax I have sent you the zip file in PM. Please take a look and let me know. And also I am still getting External Command:Malformed Command error as you can see below. Jan 8 00:08:41 rhel-server nagios: EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;concourse-ubuntu;cpu;0;0.82% user+nice+system Jan...
- Mon Jan 07, 2019 5:29 am
- Forum: Open Source Nagios Projects
- Topic: External Command: Malformed Command
- Replies: 36
- Views: 18453
Re: External Command: Malformed Command
Also sometimes it shows passive check not found whereas if i can see in my riemann.log events are being generated but in nagios log they are not there.
- Sun Jan 06, 2019 10:57 pm
- Forum: Open Source Nagios Projects
- Topic: External Command: Malformed Command
- Replies: 36
- Views: 18453
Re: External Command: Malformed Command
Following is the output/content of debug file after setting flags suggested by you: sudo tail -f /usr/local/nagios/var/nagios.debug [1546833014.799911] [001.0] [pid=4991] check_for_host_flapping() [1546833014.799913] [016.1] [pid=4991] Checking host 'rhel-server' for flapping... [1546833014.799915] ...
- Thu Jan 03, 2019 1:54 am
- Forum: Open Source Nagios Projects
- Topic: External Command: Malformed Command
- Replies: 36
- Views: 18453
Re: External Command: Malformed Command
Hi npolovenko , please find the nagios config below: ############################################################################## # # NAGIOS.CFG - Sample Main Config File for Nagios 4.4.1 # # Read the documentation for more information on this configuration # file. I've provided some comments here...
- Thu Dec 27, 2018 10:06 pm
- Forum: Open Source Nagios Projects
- Topic: External Command: Malformed Command
- Replies: 36
- Views: 18453
Re: External Command: Malformed Command
I changed permissions of the nagios.config file and I get the following when I run /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg sudo /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg Nagios Core 4.4.1 Copyright (c) 2009-present Nagios Core Development Team and Comm...
- Thu Dec 27, 2018 12:25 pm
- Forum: Open Source Nagios Projects
- Topic: External Command: Malformed Command
- Replies: 36
- Views: 18453
Re: External Command: Malformed Command
Earlier it wasn't giving any error but now it is giving this error which looks like a permission: sudo /usr/local/nagios/bin/nagios -v /usr/local/etc/nagios.cfg Nagios Core 4.4.1 Copyright (c) 2009-present Nagios Core Development Team and Community Contributors Copyright (c) 1999-2009 Ethan Galstad ...
- Thu Dec 27, 2018 10:35 am
- Forum: Open Source Nagios Projects
- Topic: External Command: Malformed Command
- Replies: 36
- Views: 18453
Re: External Command: Malformed Command
Following is the error I get if I set the debug=1: sudo systemctl status nagios.service ● nagios.service - Nagios Core 4.4.1 Loaded: loaded (/usr/lib/systemd/system/nagios.service; enabled; vendor preset: disabled) Active: failed (Result: exit-code) since Thu 2018-12-27 15:28:51 UTC; 28s ago Docs: h...