Common Error I find with Many Plugins - Desperate to solve..
Posted: Wed Jul 17, 2019 11:15 am
So far, Nagios XI has been a stellar project. After working for a very large billion dollar corp working in their DC, using many different custom monitoring tools, Nagios has really shined in my eyes.
However, I do run into a lot of bumps, but fortunately, there is usually a solution.
This particular issue though, I come across it in many many plugins and its becoming a bit frustrating. Here is the error:
Now, the error is obvious in someways especially if you code. I noticed that sometimes when installing a new plugin, somehow in the $ARG$ the string you write out gets chopped off. In my experience its like the last 3 character, one of those character usually being and en quote. So I just add it back in, save, and viola, it works.
Sometimes though, like today, I installed the NRDP agent, got it configured, force checked all the services and they returned what I needed, all is looking good...then a few minutes later, they all take a dump and pop this alert. I checked the $ARG$ where the token was spelled out to be passed, and everything seemed fine. No missing characters or quotes.
So why does this happen in various different plugins and how do I mitigate it? Its quite the headache.
Thank you for your time!
However, I do run into a lot of bumps, but fortunately, there is usually a solution.
This particular issue though, I come across it in many many plugins and its becoming a bit frustrating. Here is the error:
Code: Select all
(No output on stdout) stderr: /bin/sh: -c: line 0: unexpected EOF while looking for matching `''
/bin/sh: -c: line 1: syntax error: unexpected end of fileSometimes though, like today, I installed the NRDP agent, got it configured, force checked all the services and they returned what I needed, all is looking good...then a few minutes later, they all take a dump and pop this alert. I checked the $ARG$ where the token was spelled out to be passed, and everything seemed fine. No missing characters or quotes.
So why does this happen in various different plugins and how do I mitigate it? Its quite the headache.
Thank you for your time!