Plugin check not working

An open discussion forum for obtaining help with Nagios Core. Nagios Core users of all experience levels are welcome here. Subforum have been created for the discussion of Nagios Core and Nagios Plugin development.

NOTE: The SourceForge.net mailing lists have been deprecated in favor of this forum in order to expedite support and provide additional features not available on the old mailing list.

Re: Plugin check not working

Postby scottwilkerson » Wed May 30, 2018 3:09 pm

I would compare the 2 nsclient ini files
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
scottwilkerson
CTO
 
Posts: 9799
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises

Re: Plugin check not working

Postby kwhogster » Wed May 30, 2018 3:31 pm

Scott

Will do.

Remember Node1 is the problem and it is using Nsclient 5 Node2 works it is using nsclient 4
kwhogster
 
Posts: 474
Joined: Wed Oct 14, 2015 6:51 pm
Location: Wood Ridge NJ USA

Re: Plugin check not working

Postby scottwilkerson » Wed May 30, 2018 3:41 pm

kwhogster wrote:Scott

Will do.

Remember Node1 is the problem and it is using Nsclient 5 Node2 works it is using nsclient 4


I just re-read that.. If the configs are the same it could be an issue with the version, if that is the case you would need to get help from the nsclinet developers (that's not us)
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
scottwilkerson
CTO
 
Posts: 9799
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises

Re: Plugin check not working

Postby kwhogster » Wed May 30, 2018 3:44 pm

Yes I might even remove the 5 version and see if that helps too.

Will keep you posted

Thanks

Tom
kwhogster
 
Posts: 474
Joined: Wed Oct 14, 2015 6:51 pm
Location: Wood Ridge NJ USA

Re: Plugin check not working

Postby scottwilkerson » Wed May 30, 2018 3:46 pm

kwhogster wrote:
Will keep you posted




Thanks!
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
scottwilkerson
CTO
 
Posts: 9799
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises

Re: Plugin check not working

Postby kwhogster » Wed May 30, 2018 7:06 pm

Scott

Same issue after uninstalling nsclient 5 now on nsclient 4.4.23

get this error

C:\Program Files\NSClient++>nscp settings --generate --add-defaults --load-all

E core Failed to register plugin LUAScript: Could not load library: 126: T he specified module could not be found. : LUAScript.dll c:\source\nscp\service\NSClient++.cpp:216

Removed the double quotes

Current Status:
UNKNOWN
(for 0d 0h 36m 59s)
Status Information: Get-Counter : Unable to access the desired computer or service. Check the
permissions and authentication of the log service or the interactive user
session against those on the computer or service being monitored.
At C:\Program Files\NSClient++\scripts\powershell\check_iis_connections.ps1:40
char:12
+ $counter = Get-Counter "\\$server\Web Service($website)\Current Conne ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidResult: (:) [Get-Counter], Exception
+ FullyQualifiedErrorId : CounterApiError,Microsoft.PowerShell.Commands.Ge
tCounterCommand

CONNECTIONS UNKNOWN Default Web Site not found
Performance Data:
Current Attempt: 10/10 (HARD state)
Last Check Time: 05-30-2018 19:36:11
Check Type: ACTIVE
Check Latency / Duration: 0.000 / 1.659 seconds
Next Scheduled Check: 05-30-2018 20:36:11
Last State Change: 05-30-2018 19:27:11
Last Notification: N/A (notification 0)
Is This Service Flapping?
NO
(11.97% state change)
In Scheduled Downtime?
YES

Last Update: 05-30-2018 20:04:00 ( 0d 0h 0m 10s ago)


I am thinking it is because I am getting the error from the "nscp settings --generate --add-defaults --load-all" command

I also posted this on the NSCLient Site hope someone has an answer.

Thoughts?
kwhogster
 
Posts: 474
Joined: Wed Oct 14, 2015 6:51 pm
Location: Wood Ridge NJ USA

Re: Plugin check not working

Postby scottwilkerson » Thu May 31, 2018 7:20 am

kwhogster wrote:I also posted this on the NSCLient Site hope someone has an answer.


I was going to recommend just that
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
scottwilkerson
CTO
 
Posts: 9799
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises

Re: Plugin check not working

Postby kwhogster » Fri Jun 01, 2018 8:46 pm

Scott

I made two posts on the nsclient site and still no response

This one has me very puzzled

Hope someone out there has an answer

Thanks

Tom
kwhogster
 
Posts: 474
Joined: Wed Oct 14, 2015 6:51 pm
Location: Wood Ridge NJ USA

Re: Plugin check not working

Postby scottwilkerson » Mon Jun 04, 2018 10:11 am

I am quite puzzled as well.. Let us know if you hear back
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
scottwilkerson
CTO
 
Posts: 9799
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises

Re: Plugin check not working

Postby kwhogster » Mon Jun 04, 2018 1:58 pm

The command works from the nagios server via command line
The command works from the server via powershell

If the command works from the command line on the nagios server then why do we think this is a nsclient problem?

It is using the nsclient when I run the command from the console on nagios server correct?

Also it cant be the servers config file because it works from the command line on the nagios server too.

So what is up with this single check? I have the exact same check on my other IIS servers. Matter of fact just added a new CERT Server which uses IIS and had no problem with this check.

We need to review this closer what do you think?

Thank you,
kwhogster
 
Posts: 474
Joined: Wed Oct 14, 2015 6:51 pm
Location: Wood Ridge NJ USA

PreviousNext

Return to Nagios Core

Who is online

Users browsing this forum: Google [Bot] and 10 guests