Quantcast
Channel: NSClient++ » All Posts
Viewing all 189 articles
Browse latest View live

How to setup SSL

$
0
0

What did I need to make SSL working?

1) Generate *.pem certificate on CA server
2) Copy the file to /security
3) set config file to “use ssl = 1″
4) Restart service

CHECK_NRPE: Error – Could not complete SSL handshake.

What did I miss? Please give me some hint. I have never worked with NSClient before…


Unicode in 0.4.3

$
0
0

Hi all,

sorry for my bad eng …
I think I have some problems with simple quote and french characters in counter’s name.

for example :

check_pdh “counter=\Disque physique(_Total)\Longueur moyenne de file d’attente du disque”
->
Failed to poll counter: \Disque physique(_Total)\Longueur moyenne de file d’attente du disque PdhAddCounter failed: c0000bb8: L’objet spécifié n’a pas été trouvé sur l’ordinateur.

(IE : objet not found)

but this one work perfectly :

check_pdh “counter=\Disque physique(_Total)\Octets disque/s”
->
OK: |’\Disque physique(_Total)\Octets disque/s_value’=53745;0;0

I try to add :

[/settings/NRPE/server]
encoding = utf8

or

[/settings/NRPE/server]
encoding = system

but without effet.

Any idea ?

Execute nrpe commands local

$
0
0

Hello,

Is there a way to execute nrpe commands locally on a server with NSClient installed? If I for example would want to execute checkmem with check_nrpe, how would I do this locally on a Windows server?

Grtz

Willem

Reply To: Unable to install to Win2000 sp4

$
0
0

Looks like the version you are trying to install is not supported in Win2k SP4.
Try installing NSCLient++ 0.3.9x. That should work.

Reply To: Unable to install to Win2000 sp4

$
0
0

Thanks! I already did it some month ago :)

Reply To: What ahppened to checkfilesize?

$
0
0

Did this get fixed in 0.4.3.88? Or is there another way of getting folder sizes?

Reply To: Unicode in 0.4.3

$
0
0

Hi,

up please.
I also try to enable nasty characters, but still KO…
I’m stuck :(

NSCP 0.43 – howto change warn and crit times in check uptime

$
0
0

I am using “check_nrpe -H IP -c alias_up” to check uptime, however I dont’ like the default values for warning and critical that 0.43 has.

I have tried a few things, however it did not work.

How can I change these values?

Thank you.


powershell script with path as argument

$
0
0

Hi,

I have created my own powershell check file exsist script. But Im stuck when i user arguments. If i use a path as an argument. lik: D:\Temp\Center\ it won’t work. If i add the path to my script and the other arguments it works.

Is it not possible to add paths as an argument.

The line in the nsclient.ini is:

check_file_crm = cmd /c echo scripts\check_file.ps1 $ARG1$ $ARG2$ $ARG3$; exit ($lastexitcode) | powershell.exe -command –

To test the file i do it from my nagios server../check_nrpe -n -H 10.X.X.X -C check_file_crm -a D:\Temp\Center\ test.txt 60

From 0.4.1 to 0.4.3 : SSL issue

$
0
0

Hello,

I want to migrate our monitoring agent from release 0.4.1 to release 0.4.3.
If I don’t change main configuration file, I have these error messages:

Seems we cant agree on SSL: no shared cipher
Please review the legacy as well as ssl options in settings.

I tried to put option insecure=1, allowed ciphers=ADH but nothing …
The goal is to setup nsclient++ in order to work as before, not to disable SSL option.

Regards,
Samuel Mutel.

How to email Event Viewer Errors from Nagios step by step

$
0
0

I am sorry for a such a basic question but I am quite newbe with this.

I have a Nagios 4 and NCClient++ 0.4.2.114 on Windows Server 2003

I have Nagios configured and be able to receive emails is some services are down.

Now I dont know how to do it with Event Viewer logs.

Lets say I would like to be alerted if Error ID: 1000 appears in Applications.

What do I have to do in nsclient.ini and what on nagios site?

Thank you for any suggestions.

Send windows real time event to 2 nagiosxi server

$
0
0

Anyone can answer how to configure the nsclient.ini to send windows real time event log to 2 nagiosxi NSCA server?

Reply To: Unicode in 0.4.3

$
0
0

I just try again with the latest version (0.4.3.131), and still stuck :(

Failed to poll counter: \Disque physique(_Total)\Longueur moyenne de file d’attente du disque PdhAddCounter failed: c0000bb8:

with ou with nasty chars and with “utf8″ or “system” in encoding

:(

Reply To: From 0.4.1 to 0.4.3 : SSL issue

$
0
0

To solve this issue add theses lines in main configuration file:

[/settings/NRPE/server]
insecure=1

Name of the metric (perf data)

$
0
0

Hello,

Is-it possible to change name of metrics (perf data) ?
I see an option “Performance data generation configuration” in documentation but for now it is empty.

Thanks in advance.
Regards,
Samuel Mutel.


real-time monitor for newb

$
0
0

Hello All,
I am completely new to nsclient++ and have a few questions. We are attempting to use the real-time eventlog monitoring capability to send certain event log messages to Nagios. I would like to be able to filter on the event text and update a single service in nagios. I would also like the entire event log message text to be sent. Is this possible with real-time monitor? Could someone provide a quick sample of some syntax I should include in my nsclient.cfg.

Many thanks in advance.

Reply To: Check_Eventlog warn option and Count

$
0
0

Hello, I’m using version NSCP-0.4.3.88-x64 and I’m also having an issue with the count variable. It always returns a value of zero using both examples, ${count} and %(count). I also tried the old syntax %count%, but it didn’t display any value.

Reference:

Reply To: %(written) tag for check_eventlog shows invalid date/time

$
0
0

Hi,

I just tried the latest stable version NSCP-0.4.3.131-x64, but the above mentioned problem still exists.

Regards,
Kim

real-time-eventlog-checks documentation "ToDo" status

check_drivesize

$
0
0

i have 2 Windows 2012 servers with the 0.4.3.131 client installed.

When I run check_drivesize against the VM, I get a valid response:

blake@smeagol:~$ /usr/lib/nagios/plugins/check_nrpe -H theoden.foo.org -t 20 -u -n -c check_drivesize -a “warn=free lt 10%” “crit=free lt 5%” “filter=type in (fixed)”
OK All 1 drive(s) are ok|’C:\ free’=44.71645GB;19.9997;9.99985;0;199.99706 ‘C:\ free %’=22%;9;4;0;100

When I run the same command against my physical system, I get an error:

blake@smeagol:~$ /usr/lib/nagios/plugins/check_nrpe -H ferny.foo.org -t 20 -u -n -c check_drivesize -a “warn=free lt 10%” “crit=free lt 5%” “filter=type in (fixed)”
CHECK_NRPE: Invalid packet type received from server.

They are the same client and should have the same config file

blake@smeagol:~$ /usr/lib/nagios/plugins/check_nrpe -H theoden.foo.org -t 20 -u -n -c check_version
0.4.3.131 2015-02-15|
blake@smeagol:~$ /usr/lib/nagios/plugins/check_nrpe -H ferny.foo.org -t 20 -u -n -c check_version
0.4.3.131 2015-02-15|

Your thoughts welcome!

Viewing all 189 articles
Browse latest View live