(No output on stdout) stderr:

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
deepshikha20
Posts: 33
Joined: Fri Oct 31, 2014 1:19 am

Re: (No output on stdout) stderr:

Post by deepshikha20 »

Hi,

Please find the attached .

Thanks.

Regards,
Deepshikha
Attachments
resource.cfg
resource.cfg
(1.31 KiB) Downloaded 553 times
nagios.cfg
nagios.cfg
(44.74 KiB) Downloaded 589 times
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: (No output on stdout) stderr:

Post 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
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
deepshikha20
Posts: 33
Joined: Fri Oct 31, 2014 1:19 am

Re: (No output on stdout) stderr:

Post by deepshikha20 »

hi,

PFA the output as requested.

Thanks.

Deepshikha
Attachments
permissions.txt
output
(4.76 KiB) Downloaded 620 times
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: (No output on stdout) stderr:

Post by scottwilkerson »

These look ok.

Does the nsclient.log have the "No data to return." for all the checks?
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: (No output on stdout) stderr:

Post by Box293 »

Can you also post your nsclient.ini file from your windows box.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
deepshikha20
Posts: 33
Joined: Fri Oct 31, 2014 1:19 am

Re: (No output on stdout) stderr:

Post by deepshikha20 »

PFA as requested.

Thanks.

Regards,
Deepshikha
Attachments
nsclient.ini
nsclinet.ini
(6.94 KiB) Downloaded 613 times
nsclient.log
nsclient.log
(3.47 KiB) Downloaded 530 times
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: (No output on stdout) stderr:

Post 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.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
deepshikha20
Posts: 33
Joined: Fri Oct 31, 2014 1:19 am

Re: (No output on stdout) stderr:

Post 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
Attachments
nsclient.log
(24.27 KiB) Downloaded 512 times
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: (No output on stdout) stderr:

Post by sreinhardt »

Could you post the current nsc.ini or nsclient.ini please?
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
deepshikha20
Posts: 33
Joined: Fri Oct 31, 2014 1:19 am

Re: (No output on stdout) stderr:

Post by deepshikha20 »

PFA.
Attachments
nsclient.ini
nsclient.ini
(12.12 KiB) Downloaded 541 times
Locked