[Check_mk (english)] help with nrpe

Having an issue with nrpe and check_mk. I need to use nrpe for the time being while we switch over all the servers to the agent.

Can someone give me a quick rundown on a sample host on how to enable this to work.

I can run

/omd/sites/testsite/lib/nagios/plugins/check_nrpe -H amat1 -c check_load

OK - load average: 0.00, 0.00, 0.00|load1=0.000;15.000;30.000;0; load5=0.000;10.000;25.000;0; load15=0.000;5.000;20.000;0;

But when I add

define service{

use generic-service

host_name testsite

service_description CPU15

check_command check_nrpe!check_load

}

define command{

command_name check_nrpe

command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -t 30 -c $ARG1$

}

CHECK_NRPE: Error - Could not complete SSL handshake.

What am I doing wrong?

H E A R S T Enterprise Technology

Shared Services – Data Center

Alan Todd** **l 214 N. Tryon Street
l Charlotte, NC 28202 l Phone: 704-348-0018
l

You define check_nrpe, but you call check_load in your service definition. Change one to match the other.

–Doug

···

On Mon, Mar 24, 2014 at 12:10 PM, ATodd ATodd@hearstsc.com wrote:

Having an issue with nrpe and check_mk. I need to use nrpe for the time being while we switch over all the servers to the agent.

Can someone give me a quick rundown on a sample host on how to enable this to work.

I can run

/omd/sites/testsite/lib/nagios/plugins/check_nrpe -H amat1 -c check_load

OK - load average: 0.00, 0.00, 0.00|load1=0.000;15.000;30.000;0; load5=0.000;10.000;25.000;0; load15=0.000;5.000;20.000;0;

But when I add

define service{

use generic-service

host_name testsite

service_description CPU15

check_command check_nrpe!check_load

}

define command{

command_name check_nrpe

command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -t 30 -c $ARG1$

}

CHECK_NRPE: Error - Could not complete SSL handshake.

What am I doing wrong?

H E A R S T Enterprise Technology

Shared Services – Data Center

Alan Todd** **l 214 N. Tryon Street
l Charlotte, NC 28202 l Phone: 704-348-0018
l


This e-mail message is intended only for the personal use of the recipient(s) named above. If you are not an intended recipient, you may not review, copy or distribute this message. If you have received this communication in error, please notify the Hearst Service Center (cadmin@hearstsc.com) immediately by email and delete the original message.



checkmk-en mailing list

checkmk-en@lists.mathias-kettner.de

http://lists.mathias-kettner.de/mailman/listinfo/checkmk-en

Well how do I check_users and load and other stuff then

H E A R S T Enterprise Technology

Shared Services – Data Center

Alan Todd** **l 214 N. Tryon Street
l Charlotte, NC 28202 l Phone: 704-348-0018
l

···

You define check_nrpe, but you call check_load in your service definition. Change one to match the other.

–Doug

On Mon, Mar 24, 2014 at 12:10 PM, ATodd ATodd@hearstsc.com wrote:

Having an issue with nrpe and check_mk. I need to use nrpe for the time being while we switch over all the servers to the agent.

Can someone give me a quick rundown on a sample host on how to enable this to work.

I can run

/omd/sites/testsite/lib/nagios/plugins/check_nrpe -H amat1 -c check_load

OK - load average: 0.00, 0.00, 0.00|load1=0.000;15.000;30.000;0; load5=0.000;10.000;25.000;0; load15=0.000;5.000;20.000;0;

But when I add

define service{

use generic-service

host_name testsite

service_description CPU15

check_command check_nrpe!check_load

}

define command{

command_name check_nrpe

command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -t 30 -c $ARG1$

}

CHECK_NRPE: Error - Could not complete SSL handshake.

What am I doing wrong?

H E A R S T Enterprise Technology

Shared Services – Data Center

Alan Todd ** **l 214 N. Tryon Street
l Charlotte, NC 28202 l Phone: 704-348-0018
l


This e-mail message is intended only for the personal use of the recipient(s) named above. If you are not an intended recipient, you may not review, copy or distribute this message. If you have received this communication in error, please notify the Hearst
Service Center (cadmin@hearstsc.com) immediately by email and delete the original message.



checkmk-en mailing list
checkmk-en@lists.mathias-kettner.de
http://lists.mathias-kettner.de/mailman/listinfo/checkmk-en

Ah, I’m sorry. I misread your definition.

The only difference I see is that your hostname is amat1 on the command line, and it is testsite in the nagios config. Can you ping it by the same hostname (testsite)? If you enable debugging on nrpe (on the machine being checked), does it show any additional useful information?

–Doug

···

On Mon, Mar 24, 2014 at 2:01 PM, ATodd ATodd@hearstsc.com wrote:

Well how do I check_users and load and other stuff then

H E A R S T Enterprise Technology

Shared Services – Data Center

Alan Todd** **l 214 N. Tryon Street
l Charlotte, NC 28202 l Phone: 704-348-0018
l

From: Doug Clements [mailto:dclements@gmail.com]
Sent: Monday, March 24, 2014 1:56 PM
To: ATodd
Cc: checkmk-en@lists.mathias-kettner.de
Subject: Re: [Check_mk (english)] help with nrpe

You define check_nrpe, but you call check_load in your service definition. Change one to match the other.

–Doug

On Mon, Mar 24, 2014 at 12:10 PM, ATodd ATodd@hearstsc.com wrote:

Having an issue with nrpe and check_mk. I need to use nrpe for the time being while we switch over all the servers to the agent.

Can someone give me a quick rundown on a sample host on how to enable this to work.

I can run

/omd/sites/testsite/lib/nagios/plugins/check_nrpe -H amat1 -c check_load

OK - load average: 0.00, 0.00, 0.00|load1=0.000;15.000;30.000;0; load5=0.000;10.000;25.000;0; load15=0.000;5.000;20.000;0;

But when I add

define service{

use generic-service

host_name testsite

service_description CPU15

check_command check_nrpe!check_load

}

define command{

command_name check_nrpe

command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -t 30 -c $ARG1$

}

CHECK_NRPE: Error - Could not complete SSL handshake.

What am I doing wrong?

H E A R S T Enterprise Technology

Shared Services – Data Center

Alan Todd ** **l 214 N. Tryon Street
l Charlotte, NC 28202 l Phone: 704-348-0018
l


This e-mail message is intended only for the personal use of the recipient(s) named above. If you are not an intended recipient, you may not review, copy or distribute this message. If you have received this communication in error, please notify the Hearst
Service Center (cadmin@hearstsc.com) immediately by email and delete the original message.



checkmk-en mailing list
checkmk-en@lists.mathias-kettner.de
http://lists.mathias-kettner.de/mailman/listinfo/checkmk-en


This e-mail message is intended only for the personal use of the recipient(s) named above. If you are not an intended recipient, you may not review, copy or distribute this message. If you have received this communication in error, please notify the Hearst Service Center (cadmin@hearstsc.com) immediately by email and delete the original message.


Well to be honest they are both amat1, had it as testsite for anonymity LOL . as you see how that worked out.

H E A R S T Enterprise Technology

Shared Services – Data Center

Alan Todd** **l 214 N. Tryon Street
l Charlotte, NC 28202 l Phone: 704-348-0018
l

···

Ah, I’m sorry. I misread your definition.

The only difference I see is that your hostname is amat1 on the command line, and it is testsite in the nagios config. Can you ping it by the same hostname (testsite)? If you enable debugging on nrpe (on the
machine being checked), does it show any additional useful information?

–Doug

On Mon, Mar 24, 2014 at 2:01 PM, ATodd ATodd@hearstsc.com wrote:

Well how do I check_users and load and other stuff then

H E A R S T Enterprise Technology

Shared Services – Data Center

Alan Todd** **l 214 N. Tryon Street
l Charlotte, NC 28202 l Phone: 704-348-0018
l

From: Doug Clements [mailto:dclements@gmail.com]
Sent: Monday, March 24, 2014 1:56 PM
To: ATodd
Cc: checkmk-en@lists.mathias-kettner.de
Subject: Re: [Check_mk (english)] help with nrpe

You define check_nrpe, but you call check_load in your service definition. Change one to match the other.

–Doug

On Mon, Mar 24, 2014 at 12:10 PM, ATodd ATodd@hearstsc.com wrote:

Having an issue with nrpe and check_mk. I need to use nrpe for the time being while we switch over all the servers to the agent.

Can someone give me a quick rundown on a sample host on how to enable this to work.

I can run

/omd/sites/testsite/lib/nagios/plugins/check_nrpe -H amat1 -c check_load

OK - load average: 0.00, 0.00, 0.00|load1=0.000;15.000;30.000;0; load5=0.000;10.000;25.000;0; load15=0.000;5.000;20.000;0;

But when I add

define service{

use generic-service

host_name testsite

service_description CPU15

check_command check_nrpe!check_load

}

define command{

command_name check_nrpe

command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -t 30 -c $ARG1$

}

CHECK_NRPE: Error - Could not complete SSL handshake.

What am I doing wrong?

H E A R S T Enterprise Technology

Shared Services – Data Center

Alan Todd ** **l 214 N. Tryon Street
l Charlotte, NC 28202 l Phone: 704-348-0018
l


This e-mail message is intended only for the personal use of the recipient(s) named above. If you are not an intended recipient, you may not review, copy or distribute this message. If you have received this communication in error, please notify the Hearst
Service Center (cadmin@hearstsc.com) immediately by email and delete the original message.



checkmk-en mailing list
checkmk-en@lists.mathias-kettner.de
http://lists.mathias-kettner.de/mailman/listinfo/checkmk-en


This e-mail message is intended only for the personal use of the recipient(s) named above. If you are not an intended recipient, you may not review, copy or distribute this message. If you have received this communication in error, please notify the Hearst
Service Center (cadmin@hearstsc.com) immediately by email and delete the original message.


Figured it out…

So one small question. I am adding these into the check_mk_objects.cfg. Is there a template or file I can add things into so it won’t overwrite when I activate
changes.

Like I have 44 hosts and I pretty much have the same checks for them all. Can I add something like

Server

Router

In the agent type so it will have default checks.

H E A R S T Enterprise Technology

Shared Services – Data Center

Alan Todd** **l 214 N. Tryon Street
l Charlotte, NC 28202 l Phone: 704-348-0018
l

···

Ah, I’m sorry. I misread your definition.

The only difference I see is that your hostname is amat1 on the command line, and it is testsite in the nagios config. Can you ping it by the same hostname (testsite)? If you enable debugging on nrpe (on the
machine being checked), does it show any additional useful information?

–Doug

On Mon, Mar 24, 2014 at 2:01 PM, ATodd ATodd@hearstsc.com wrote:

Well how do I check_users and load and other stuff then

H E A R S T Enterprise Technology

Shared Services – Data Center

Alan Todd** **l 214 N. Tryon Street
l Charlotte, NC 28202 l Phone: 704-348-0018
l

From: Doug Clements [mailto:dclements@gmail.com]
Sent: Monday, March 24, 2014 1:56 PM
To: ATodd
Cc: checkmk-en@lists.mathias-kettner.de
Subject: Re: [Check_mk (english)] help with nrpe

You define check_nrpe, but you call check_load in your service definition. Change one to match the other.

–Doug

On Mon, Mar 24, 2014 at 12:10 PM, ATodd ATodd@hearstsc.com wrote:

Having an issue with nrpe and check_mk. I need to use nrpe for the time being while we switch over all the servers to the agent.

Can someone give me a quick rundown on a sample host on how to enable this to work.

I can run

/omd/sites/testsite/lib/nagios/plugins/check_nrpe -H amat1 -c check_load

OK - load average: 0.00, 0.00, 0.00|load1=0.000;15.000;30.000;0; load5=0.000;10.000;25.000;0; load15=0.000;5.000;20.000;0;

But when I add

define service{

use generic-service

host_name testsite

service_description CPU15

check_command check_nrpe!check_load

}

define command{

command_name check_nrpe

command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -t 30 -c $ARG1$

}

CHECK_NRPE: Error - Could not complete SSL handshake.

What am I doing wrong?

H E A R S T Enterprise Technology

Shared Services – Data Center

Alan Todd ** **l 214 N. Tryon Street
l Charlotte, NC 28202 l Phone: 704-348-0018
l


This e-mail message is intended only for the personal use of the recipient(s) named above. If you are not an intended recipient, you may not review, copy or distribute this message. If you have received this communication in error, please notify the Hearst
Service Center (cadmin@hearstsc.com) immediately by email and delete the original message.



checkmk-en mailing list
checkmk-en@lists.mathias-kettner.de
http://lists.mathias-kettner.de/mailman/listinfo/checkmk-en


This e-mail message is intended only for the personal use of the recipient(s) named above. If you are not an intended recipient, you may not review, copy or distribute this message. If you have received this communication in error, please notify the Hearst
Service Center (cadmin@hearstsc.com) immediately by email and delete the original message.


If you want to do this in an template way you can work with “host tags” to assign the definitions to your hosts.
One thing before i can describe anything - do you work with WATO or is all your config done in textfiles?

br

Andreas

···

2014-03-24 20:58 GMT+01:00 ATodd ATodd@hearstsc.com:

Figured it out…

So one small question. I am adding these into the check_mk_objects.cfg. Is there a template or file I can add things into so it won’t overwrite when I activate
changes.

Like I have 44 hosts and I pretty much have the same checks for them all. Can I add something like

Server

Router

In the agent type so it will have default checks.

H E A R S T Enterprise Technology

Shared Services – Data Center

Alan Todd** **l 214 N. Tryon Street
l Charlotte, NC 28202 l Phone: 704-348-0018
l

From: Doug Clements [mailto:dclements@gmail.com]
Sent: Monday, March 24, 2014 2:06 PM

To: ATodd
Cc: checkmk-en@lists.mathias-kettner.de
Subject: Re: [Check_mk (english)] help with nrpe

Ah, I’m sorry. I misread your definition.

The only difference I see is that your hostname is amat1 on the command line, and it is testsite in the nagios config. Can you ping it by the same hostname (testsite)? If you enable debugging on nrpe (on the
machine being checked), does it show any additional useful information?

–Doug

On Mon, Mar 24, 2014 at 2:01 PM, ATodd ATodd@hearstsc.com wrote:

Well how do I check_users and load and other stuff then

H E A R S T Enterprise Technology

Shared Services – Data Center

Alan Todd** **l 214 N. Tryon Street
l Charlotte, NC 28202 l Phone: 704-348-0018
l

From: Doug Clements [mailto:dclements@gmail.com]
Sent: Monday, March 24, 2014 1:56 PM
To: ATodd
Cc: checkmk-en@lists.mathias-kettner.de
Subject: Re: [Check_mk (english)] help with nrpe

You define check_nrpe, but you call check_load in your service definition. Change one to match the other.

–Doug

On Mon, Mar 24, 2014 at 12:10 PM, ATodd ATodd@hearstsc.com wrote:

Having an issue with nrpe and check_mk. I need to use nrpe for the time being while we switch over all the servers to the agent.

Can someone give me a quick rundown on a sample host on how to enable this to work.

I can run

/omd/sites/testsite/lib/nagios/plugins/check_nrpe -H amat1 -c check_load

OK - load average: 0.00, 0.00, 0.00|load1=0.000;15.000;30.000;0; load5=0.000;10.000;25.000;0; load15=0.000;5.000;20.000;0;

But when I add

define service{

use generic-service

host_name testsite

service_description CPU15

check_command check_nrpe!check_load

}

define command{

command_name check_nrpe

command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -t 30 -c $ARG1$

}

CHECK_NRPE: Error - Could not complete SSL handshake.

What am I doing wrong?

H E A R S T Enterprise Technology

Shared Services – Data Center

Alan Todd ** **l 214 N. Tryon Street
l Charlotte, NC 28202 l Phone: 704-348-0018
l


This e-mail message is intended only for the personal use of the recipient(s) named above. If you are not an intended recipient, you may not review, copy or distribute this message. If you have received this communication in error, please notify the Hearst
Service Center (cadmin@hearstsc.com) immediately by email and delete the original message.



checkmk-en mailing list
checkmk-en@lists.mathias-kettner.de
http://lists.mathias-kettner.de/mailman/listinfo/checkmk-en


This e-mail message is intended only for the personal use of the recipient(s) named above. If you are not an intended recipient, you may not review, copy or distribute this message. If you have received this communication in error, please notify the Hearst
Service Center (cadmin@hearstsc.com) immediately by email and delete the original message.



This e-mail message is intended only for the personal use of the recipient(s) named above. If you are not an intended recipient, you may not review, copy or distribute this message. If you have received this communication in error, please notify the Hearst Service Center (cadmin@hearstsc.com) immediately by email and delete the original message.



checkmk-en mailing list

checkmk-en@lists.mathias-kettner.de

http://lists.mathias-kettner.de/mailman/listinfo/checkmk-en

wato

H E A R S T Enterprise Technology

Shared Services – Data Center

Alan Todd** **l 214 N. Tryon Street
l Charlotte, NC 28202 l Phone: 704-348-0018
l

···

If you want to do this in an template way you can work with “host tags” to assign the definitions to your hosts.

One thing before i can describe anything - do you work with WATO or is all your config done in textfiles?

br

Andreas

2014-03-24 20:58 GMT+01:00 ATodd ATodd@hearstsc.com:

Figured it out…

So one small question. I am adding these into the check_mk_objects.cfg. Is there a template or file
I can add things into so it won’t overwrite when I activate changes.

Like I have 44 hosts and I pretty much have the same checks for them all. Can I add something like

Server

Router

In the agent type so it will have default checks.

H E A R S T Enterprise Technology

Shared Services – Data Center

Alan Todd** **l 214 N. Tryon Street
l Charlotte, NC 28202 l Phone: 704-348-0018
l

From: Doug Clements [mailto:dclements@gmail.com]
Sent: Monday, March 24, 2014 2:06 PM

To: ATodd
Cc: checkmk-en@lists.mathias-kettner.de
Subject: Re: [Check_mk (english)] help with nrpe

Ah, I’m sorry. I misread your definition.

The only difference I see is that your hostname is amat1 on the command line, and it is testsite in the nagios config. Can you ping it by the same hostname (testsite)? If you enable debugging
on nrpe (on the machine being checked), does it show any additional useful information?

–Doug

On Mon, Mar 24, 2014 at 2:01 PM, ATodd ATodd@hearstsc.com wrote:

Well how do I check_users and load and other stuff then

H E A R S T Enterprise Technology

Shared Services – Data Center

Alan Todd** **l 214 N. Tryon Street
l Charlotte, NC 28202 l Phone: 704-348-0018
l

From: Doug Clements [mailto:dclements@gmail.com]
Sent: Monday, March 24, 2014 1:56 PM
To: ATodd
Cc: checkmk-en@lists.mathias-kettner.de
Subject: Re: [Check_mk (english)] help with nrpe

You define check_nrpe, but you call check_load in your service definition. Change one to match the other.

–Doug

On Mon, Mar 24, 2014 at 12:10 PM, ATodd ATodd@hearstsc.com wrote:

Having an issue with nrpe and check_mk. I need to use nrpe for the time being while we switch over all the servers to the agent.

Can someone give me a quick rundown on a sample host on how to enable this to work.

I can run

/omd/sites/testsite/lib/nagios/plugins/check_nrpe -H amat1 -c check_load

OK - load average: 0.00, 0.00, 0.00|load1=0.000;15.000;30.000;0; load5=0.000;10.000;25.000;0; load15=0.000;5.000;20.000;0;

But when I add

define service{

use generic-service

host_name testsite

service_description CPU15

check_command check_nrpe!check_load

}

define command{

command_name check_nrpe

command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -t 30 -c $ARG1$

}

CHECK_NRPE: Error - Could not complete SSL handshake.

What am I doing wrong?

H E A R S T Enterprise Technology

Shared Services – Data Center

Alan Todd ** **l 214 N. Tryon Street
l Charlotte, NC 28202 l Phone: 704-348-0018
l


This e-mail message is intended only for the personal use of the recipient(s) named above. If you are not an intended recipient, you may not review, copy or distribute this message. If you have received this communication in error, please notify the Hearst
Service Center (cadmin@hearstsc.com) immediately by email and delete the original message.



checkmk-en mailing list
checkmk-en@lists.mathias-kettner.de
http://lists.mathias-kettner.de/mailman/listinfo/checkmk-en


This e-mail message is intended only for the personal use of the recipient(s) named above. If you are not an intended recipient, you may not review, copy or distribute this message. If you have received this communication in error, please notify the Hearst
Service Center (cadmin@hearstsc.com) immediately by email and delete the original message.



This e-mail message is intended only for the personal use of the recipient(s) named above. If you are not an intended recipient, you may not review, copy or distribute this message. If you have received this communication in error, please notify the Hearst
Service Center (cadmin@hearstsc.com) immediately by email and delete the original message.



checkmk-en mailing list
checkmk-en@lists.mathias-kettner.de
http://lists.mathias-kettner.de/mailman/listinfo/checkmk-en

Then you can go over define “active checks” → “classical active and passive nagios checks” here you define your check as you had done already above.
And there you can also define conditions when this check should be applied to the host object.

br

Andreas

···

2014-03-25 20:08 GMT+01:00 ATodd ATodd@hearstsc.com:

wato

H E A R S T Enterprise Technology

Shared Services – Data Center

Alan Todd** **l 214 N. Tryon Street
l Charlotte, NC 28202 l Phone: 704-348-0018
l

From: Andreas Döhler [mailto:andreas.doehler@gmail.com]
Sent: Tuesday, March 25, 2014 2:55 PM
To: ATodd
Cc: Doug Clements; checkmk-en@lists.mathias-kettner.de

Subject: Re: [Check_mk (english)] help with nrpe

If you want to do this in an template way you can work with “host tags” to assign the definitions to your hosts.

One thing before i can describe anything - do you work with WATO or is all your config done in textfiles?

br

Andreas

2014-03-24 20:58 GMT+01:00 ATodd ATodd@hearstsc.com:

Figured it out…

So one small question. I am adding these into the check_mk_objects.cfg. Is there a template or file
I can add things into so it won’t overwrite when I activate changes.

Like I have 44 hosts and I pretty much have the same checks for them all. Can I add something like

Server

Router

In the agent type so it will have default checks.

H E A R S T Enterprise Technology

Shared Services – Data Center

Alan Todd** **l 214 N. Tryon Street
l Charlotte, NC 28202 l Phone: 704-348-0018
l

From: Doug Clements [mailto:dclements@gmail.com]
Sent: Monday, March 24, 2014 2:06 PM

To: ATodd
Cc: checkmk-en@lists.mathias-kettner.de
Subject: Re: [Check_mk (english)] help with nrpe

Ah, I’m sorry. I misread your definition.

The only difference I see is that your hostname is amat1 on the command line, and it is testsite in the nagios config. Can you ping it by the same hostname (testsite)? If you enable debugging
on nrpe (on the machine being checked), does it show any additional useful information?

–Doug

On Mon, Mar 24, 2014 at 2:01 PM, ATodd ATodd@hearstsc.com wrote:

Well how do I check_users and load and other stuff then

H E A R S T Enterprise Technology

Shared Services – Data Center

Alan Todd** **l 214 N. Tryon Street
l Charlotte, NC 28202 l Phone: 704-348-0018
l

From: Doug Clements [mailto:dclements@gmail.com]
Sent: Monday, March 24, 2014 1:56 PM
To: ATodd
Cc: checkmk-en@lists.mathias-kettner.de
Subject: Re: [Check_mk (english)] help with nrpe

You define check_nrpe, but you call check_load in your service definition. Change one to match the other.

–Doug

On Mon, Mar 24, 2014 at 12:10 PM, ATodd ATodd@hearstsc.com wrote:

Having an issue with nrpe and check_mk. I need to use nrpe for the time being while we switch over all the servers to the agent.

Can someone give me a quick rundown on a sample host on how to enable this to work.

I can run

/omd/sites/testsite/lib/nagios/plugins/check_nrpe -H amat1 -c check_load

OK - load average: 0.00, 0.00, 0.00|load1=0.000;15.000;30.000;0; load5=0.000;10.000;25.000;0; load15=0.000;5.000;20.000;0;

But when I add

define service{

use generic-service

host_name testsite

service_description CPU15

check_command check_nrpe!check_load

}

define command{

command_name check_nrpe

command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -t 30 -c $ARG1$

}

CHECK_NRPE: Error - Could not complete SSL handshake.

What am I doing wrong?

H E A R S T Enterprise Technology

Shared Services – Data Center

Alan Todd ** **l 214 N. Tryon Street
l Charlotte, NC 28202 l Phone: 704-348-0018
l


This e-mail message is intended only for the personal use of the recipient(s) named above. If you are not an intended recipient, you may not review, copy or distribute this message. If you have received this communication in error, please notify the Hearst
Service Center (cadmin@hearstsc.com) immediately by email and delete the original message.



checkmk-en mailing list
checkmk-en@lists.mathias-kettner.de
http://lists.mathias-kettner.de/mailman/listinfo/checkmk-en


This e-mail message is intended only for the personal use of the recipient(s) named above. If you are not an intended recipient, you may not review, copy or distribute this message. If you have received this communication in error, please notify the Hearst
Service Center (cadmin@hearstsc.com) immediately by email and delete the original message.



This e-mail message is intended only for the personal use of the recipient(s) named above. If you are not an intended recipient, you may not review, copy or distribute this message. If you have received this communication in error, please notify the Hearst
Service Center (cadmin@hearstsc.com) immediately by email and delete the original message.



checkmk-en mailing list
checkmk-en@lists.mathias-kettner.de
http://lists.mathias-kettner.de/mailman/listinfo/checkmk-en


This e-mail message is intended only for the personal use of the recipient(s) named above. If you are not an intended recipient, you may not review, copy or distribute this message. If you have received this communication in error, please notify the Hearst Service Center (cadmin@hearstsc.com) immediately by email and delete the original message.


thanks

H E A R S T Enterprise Technology

Shared Services – Data Center

Alan Todd** **l 214 N. Tryon Street
l Charlotte, NC 28202 l Phone: 704-348-0018
l

···

Then you can go over define “active checks” → “classical active and passive nagios checks” here you define your check as you had done already above.

And there you can also define conditions when this check should be applied to the host object.

br

Andreas

2014-03-25 20:08 GMT+01:00 ATodd ATodd@hearstsc.com:

wato

H E A R S T Enterprise Technology

Shared Services – Data Center

Alan Todd** **l 214 N. Tryon Street
l Charlotte, NC 28202 l Phone: 704-348-0018
l

From: Andreas Döhler [mailto:andreas.doehler@gmail.com]
Sent: Tuesday, March 25, 2014 2:55 PM
To: ATodd
Cc: Doug Clements;
checkmk-en@lists.mathias-kettner.de

Subject: Re: [Check_mk (english)] help with nrpe

If you want to do this in an template way you can work with “host tags” to assign the definitions to your hosts.

One thing before i can describe anything - do you work with WATO or is all your config done in textfiles?

br

Andreas

2014-03-24 20:58 GMT+01:00 ATodd ATodd@hearstsc.com:

Figured it out…

So one small question. I am adding these into the check_mk_objects.cfg. Is there a template or file
I can add things into so it won’t overwrite when I activate changes.

Like I have 44 hosts and I pretty much have the same checks for them all. Can I add something like

Server

Router

In the agent type so it will have default checks.

H E A R S T Enterprise Technology

Shared Services – Data Center

Alan Todd** **l 214 N. Tryon Street
l Charlotte, NC 28202 l Phone: 704-348-0018
l

From: Doug Clements [mailto:dclements@gmail.com]
Sent: Monday, March 24, 2014 2:06 PM

To: ATodd
Cc: checkmk-en@lists.mathias-kettner.de
Subject: Re: [Check_mk (english)] help with nrpe

Ah, I’m sorry. I misread your definition.

The only difference I see is that your hostname is amat1 on the command line, and it is testsite in the nagios config. Can you ping it by the same hostname (testsite)? If you enable debugging
on nrpe (on the machine being checked), does it show any additional useful information?

–Doug

On Mon, Mar 24, 2014 at 2:01 PM, ATodd ATodd@hearstsc.com wrote:

Well how do I check_users and load and other stuff then

H E A R S T Enterprise Technology

Shared Services – Data Center

Alan Todd** **l 214 N. Tryon Street
l Charlotte, NC 28202 l Phone: 704-348-0018
l

From: Doug Clements [mailto:dclements@gmail.com]
Sent: Monday, March 24, 2014 1:56 PM
To: ATodd
Cc: checkmk-en@lists.mathias-kettner.de
Subject: Re: [Check_mk (english)] help with nrpe

You define check_nrpe, but you call check_load in your service definition. Change one to match the other.

–Doug

On Mon, Mar 24, 2014 at 12:10 PM, ATodd ATodd@hearstsc.com wrote:

Having an issue with nrpe and check_mk. I need to use nrpe for the time being while we switch over all the servers to the agent.

Can someone give me a quick rundown on a sample host on how to enable this to work.

I can run

/omd/sites/testsite/lib/nagios/plugins/check_nrpe -H amat1 -c check_load

OK - load average: 0.00, 0.00, 0.00|load1=0.000;15.000;30.000;0; load5=0.000;10.000;25.000;0; load15=0.000;5.000;20.000;0;

But when I add

define service{

use generic-service

host_name testsite

service_description CPU15

check_command check_nrpe!check_load

}

define command{

command_name check_nrpe

command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -t 30 -c $ARG1$

}

CHECK_NRPE: Error - Could not complete SSL handshake.

What am I doing wrong?

H E A R S T Enterprise Technology

Shared Services – Data Center

Alan Todd ** **l 214 N. Tryon Street
l Charlotte, NC 28202 l Phone: 704-348-0018
l


This e-mail message is intended only for the personal use of the recipient(s) named above. If you are not an intended recipient, you may not review, copy or distribute this message. If you have received this communication in error, please notify the Hearst
Service Center (cadmin@hearstsc.com) immediately by email and delete the original message.



checkmk-en mailing list
checkmk-en@lists.mathias-kettner.de
http://lists.mathias-kettner.de/mailman/listinfo/checkmk-en


This e-mail message is intended only for the personal use of the recipient(s) named above. If you are not an intended recipient, you may not review, copy or distribute this message. If you have received this communication in error, please notify the Hearst
Service Center (cadmin@hearstsc.com) immediately by email and delete the original message.



This e-mail message is intended only for the personal use of the recipient(s) named above. If you are not an intended recipient, you may not review, copy or distribute this message. If you have received this communication in error, please notify the Hearst
Service Center (cadmin@hearstsc.com) immediately by email and delete the original message.



checkmk-en mailing list
checkmk-en@lists.mathias-kettner.de
http://lists.mathias-kettner.de/mailman/listinfo/checkmk-en


This e-mail message is intended only for the personal use of the recipient(s) named above. If you are not an intended recipient, you may not review, copy or distribute this message. If you have received this communication in error, please notify the Hearst
Service Center (cadmin@hearstsc.com) immediately by email and delete the original message.