Search found 5 matches

by Tractor boy
Mon Dec 12, 2016 8:06 am
Forum: Open Source Nagios Projects
Topic: Complex arguments
Replies: 4
Views: 1170

Re: Complex arguments

Thanks for confirming NCClient is windows, which is why I cannot track it down on my Linux install. In terms of the install, I didn't do it and have no idea how it was installed, but would assume precompiled as that's traditionally the more supported(able) approach so would hope/expect that to have ...
by Tractor boy
Mon Dec 12, 2016 7:59 am
Forum: Open Source Nagios Projects
Topic: Argument handling
Replies: 5
Views: 1518

Re: Argument handling

Hi Hope this helps check_command COMMANDNAME!ARGUMENT1!10!MINUTE!"file_name rlike 'DR[0-9]*.DAT.gz'" command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c COMMANDNAME -a $ARG1$ $ARG2$ $ARG3$ $ARG4$ I have had to remove pertinent information, but everything works, including the 4th parameter ...
by Tractor boy
Thu Dec 08, 2016 10:36 am
Forum: Open Source Nagios Projects
Topic: Argument handling
Replies: 5
Views: 1518

Re: Argument handling

Sorry haven't got access to nagios source. The issue is that I need to pass the argument but nagios isn't able to accept the required characters. My shells script is fine, and will work once I can get nagios to accept and pass the parameter as required. in this case its the 4th parameter. So the com...
by Tractor boy
Thu Dec 08, 2016 9:23 am
Forum: Open Source Nagios Projects
Topic: Complex arguments
Replies: 4
Views: 1170

Complex arguments

Hi, I am new to nagios and am have some major difficulties. The first was to find all the changes required to allow a script to receive an extra parameter, but that seems to be sorted. The second is that the new parameter contains characters that seem not to be allowed mainly ' and []. I have tried ...
by Tractor boy
Thu Dec 08, 2016 7:47 am
Forum: Open Source Nagios Projects
Topic: Argument handling
Replies: 5
Views: 1518

Argument handling

Hi, I am new to good and am struggling with the basics . I have updated a script to have a new parameter and have found d all the files that need updating to join everything together, so first challenge complete. Trouble now is that my parameter is complicated and includes various characters includi...