error executing command '/usr/local/icinga/libexec/check_mrtgtraf': Argument list too
Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
error executing command '/usr/local/icinga/libexec/check_mrtgtraf': Argument list too
Dear Sir or Madam,
I am facing with one nagios problem. It show me the following error message.
[1388127560] idomod: Error writing to data sink! Some output may get lost...
[1388127560] idomod: Please check remote ido2db log, database connection or SSL Parameters
[1388127560] error executing command '/usr/local/icinga/libexec/check_mrtgtraf': Argument list too long. Make sure that the file actually exists (in PATH, if set) and is executable!
could any body please help me?
Thanks in advance.
Regards,
Vannath
Last edited by vannathlab; 12-27-2013 at 04:03 AM.
I am facing with one nagios problem. It show me the following error message.
[1388127560] idomod: Error writing to data sink! Some output may get lost...
[1388127560] idomod: Please check remote ido2db log, database connection or SSL Parameters
[1388127560] error executing command '/usr/local/icinga/libexec/check_mrtgtraf': Argument list too long. Make sure that the file actually exists (in PATH, if set) and is executable!
define service {
host_name Switch-Name
service_description Broadcast-Port28
check_command check_mrtgtraf!/var/www/sinet/zyxel/broadcast/Switch-IP_28.log!AVG!170,170!200,200
use bro-services
}
And I try to run command manually
Quote:
# ./check_mrtgtraf -F /var/www/sinet/zyxel/broadcast/Switch-IP_26.log -a AVG -w 170,170 -c 200,200
Traffic OK - Avg. In = 0.0 B/s, Avg. Out = 89.0 B/s|in=0.000000B/s;170.000000;200.000000;0.000000 out=89.000000B/s;170.000000;200.000000;0.000000
I have add many switches already and there is no problem. But when i try to add more i got the following error in icinga.log file.
Quote:
[1388127560] idomod: Error writing to data sink! Some output may get lost...
[1388127560] idomod: Please check remote ido2db log, database connection or SSL Parameters
[1388127560] error executing command '/usr/local/icinga/libexec/check_mrtgtraf': Argument list too long. Make sure that the file actually exists (in PATH, if set) and is executable!
If i disable the new added file it is OK. But if i enable it back all the switch broadcast services on all switches become Unknown.
I have read through it for many time and what i understand is we have to run command as user apache. i had tried with www-data user but it is still not work.
I have read through it for many time and what i understand is we have to run command as user apache. i had tried with www-data user but it is still not work.
One specific check is (wrongly) run as user apache in the article. What about selinux, ulimit, bash vs dash and enable_environment_macros that are discussed?
Anyway, besides the hints in the article I don't have anything else that might be of help.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.