Page 2 of 4

Re: (No output on stdout) stderr:

Posted: Sun Dec 21, 2014 10:08 pm
by deepshikha20
Hi,

Please find the attached .

Thanks.

Regards,
Deepshikha

Re: (No output on stdout) stderr:

Posted: Mon Dec 22, 2014 3:32 pm
by scottwilkerson
Can you list the permissions of the plugins in the plugin directory defined

Code: Select all

ls -la /usr/local/nagios/libexec
ls -la /usr/local/nagios
and

Code: Select all

chage -l nagios

Re: (No output on stdout) stderr:

Posted: Mon Dec 22, 2014 9:50 pm
by deepshikha20
hi,

PFA the output as requested.

Thanks.

Deepshikha

Re: (No output on stdout) stderr:

Posted: Tue Dec 23, 2014 1:53 pm
by scottwilkerson
These look ok.

Does the nsclient.log have the "No data to return." for all the checks?

Re: (No output on stdout) stderr:

Posted: Tue Dec 23, 2014 6:30 pm
by Box293
Can you also post your nsclient.ini file from your windows box.

Re: (No output on stdout) stderr:

Posted: Tue Dec 23, 2014 9:11 pm
by deepshikha20
PFA as requested.

Thanks.

Regards,
Deepshikha

Re: (No output on stdout) stderr:

Posted: Wed Dec 24, 2014 5:26 am
by Box293
I can't replicate your issue.

I've installed your version on a Windows 2008 R2 server and used your ini file. The only change I made was to "allowed hosts = ".

Lets turn on debugging and see what extra information you get.
  • Open a command prompt
    Type cd "\Program Files\NSClient++\" and press Enter
    Type nscp settings --activate-module NSClientServer --add-defaults and press Enter
    Type notepad "C:\Program Files\NSClient++\nsclient.ini" and press Enter
Find the section:
[/settings/log]

Change
level = info
to
level = trace

Save the file and restart the NSClient service.

Force some immediate checks from Nagios and then send through the nsclient.log file.

Re: (No output on stdout) stderr:

Posted: Mon Dec 29, 2014 5:02 am
by deepshikha20
Hi,

I have restart the service and i have tried to do some force checks but didn't get any logs.

Please find the attached logs.

Thansk.

Deepshikha

Re: (No output on stdout) stderr:

Posted: Mon Dec 29, 2014 2:48 pm
by sreinhardt
Could you post the current nsc.ini or nsclient.ini please?

Re: (No output on stdout) stderr:

Posted: Mon Dec 29, 2014 8:27 pm
by deepshikha20
PFA.