[Check_mk (english)] Server added to monitoring --date

Hi guys.

A file (date), a command, anything.

Is there a method to get the date a server was added to check_mk?

Thank you!!!

Are you just looking to get this metric for a single server? If so, just see when your perfdata started collecting on a given service (Check_MK service might be a good one, or host check). Should give you a good idea as to when it was added.

···

On Tue, May 22, 2018 at 2:21 PM, Gerardo Ferreyra raptorg83@gmail.com wrote:

Hi guys.

A file (date), a command, anything.

Is there a method to get the date a server was added to check_mk?

Thank you!!!


checkmk-en mailing list

checkmk-en@lists.mathias-kettner.de

Manage your subscription or unsubscribe

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

Ok, can you tell me how to get the date of the first record in any rrd file?

···

2018-05-22 18:29 GMT-03:00 Paul paulmonitoring@gmail.com:

Are you just looking to get this metric for a single server? If so, just see when your perfdata started collecting on a given service (Check_MK service might be a good one, or host check). Should give you a good idea as to when it was added.

On Tue, May 22, 2018 at 2:21 PM, Gerardo Ferreyra raptorg83@gmail.com wrote:

Hi guys.

A file (date), a command, anything.

Is there a method to get the date a server was added to check_mk?

Thank you!!!


checkmk-en mailing list

checkmk-en@lists.mathias-kettner.de

Manage your subscription or unsubscribe

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

I meant check it in the UI. Zoom in on the graph. :slight_smile:

···

On Tue, May 22, 2018 at 2:33 PM, Gerardo Ferreyra raptorg83@gmail.com wrote:

Ok, can you tell me how to get the date of the first record in any rrd file?

2018-05-22 18:29 GMT-03:00 Paul paulmonitoring@gmail.com:

Are you just looking to get this metric for a single server? If so, just see when your perfdata started collecting on a given service (Check_MK service might be a good one, or host check). Should give you a good idea as to when it was added.

On Tue, May 22, 2018 at 2:21 PM, Gerardo Ferreyra raptorg83@gmail.com wrote:

Hi guys.

A file (date), a command, anything.

Is there a method to get the date a server was added to check_mk?

Thank you!!!


checkmk-en mailing list

checkmk-en@lists.mathias-kettner.de

Manage your subscription or unsubscribe

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

I need to get it withing the server (ssh). Sorry.

rrdtool graph dummy, rrdfetch, etc

I need to get the date of the first record.

Any help?

···

2018-05-22 18:42 GMT-03:00 Paul paulmonitoring@gmail.com:

I meant check it in the UI. Zoom in on the graph. :slight_smile:

On Tue, May 22, 2018 at 2:33 PM, Gerardo Ferreyra raptorg83@gmail.com wrote:

Ok, can you tell me how to get the date of the first record in any rrd file?

2018-05-22 18:29 GMT-03:00 Paul paulmonitoring@gmail.com:

Are you just looking to get this metric for a single server? If so, just see when your perfdata started collecting on a given service (Check_MK service might be a good one, or host check). Should give you a good idea as to when it was added.

On Tue, May 22, 2018 at 2:21 PM, Gerardo Ferreyra raptorg83@gmail.com wrote:

Hi guys.

A file (date), a command, anything.

Is there a method to get the date a server was added to check_mk?

Thank you!!!


checkmk-en mailing list

checkmk-en@lists.mathias-kettner.de

Manage your subscription or unsubscribe

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

May be you guys can help me with livestatus instead.

I get the availability with:

GET statehist
Stats: sum duration_part_ok

One month at a time.

I read about in https://mathias-kettner.de/checkmk_livestatus.html

duration_part_unmonitored

duration_unmonitored

How can i combine them?

I want to get the availability of a server, WITHOUT the “unmonitored time”.

Thanks!

···

2018-05-22 18:56 GMT-03:00 Gerardo Ferreyra raptorg83@gmail.com:

I need to get it withing the server (ssh). Sorry.

rrdtool graph dummy, rrdfetch, etc

I need to get the date of the first record.

Any help?

2018-05-22 18:42 GMT-03:00 Paul paulmonitoring@gmail.com:

I meant check it in the UI. Zoom in on the graph. :slight_smile:

On Tue, May 22, 2018 at 2:33 PM, Gerardo Ferreyra raptorg83@gmail.com wrote:

Ok, can you tell me how to get the date of the first record in any rrd file?

2018-05-22 18:29 GMT-03:00 Paul paulmonitoring@gmail.com:

Are you just looking to get this metric for a single server? If so, just see when your perfdata started collecting on a given service (Check_MK service might be a good one, or host check). Should give you a good idea as to when it was added.

On Tue, May 22, 2018 at 2:21 PM, Gerardo Ferreyra raptorg83@gmail.com wrote:

Hi guys.

A file (date), a command, anything.

Is there a method to get the date a server was added to check_mk?

Thank you!!!


checkmk-en mailing list

checkmk-en@lists.mathias-kettner.de

Manage your subscription or unsubscribe

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

That’s the answer!

“duration_part_unmonitored”

I add it to duration_part_ok… and that’s it !

Cheers!

···

2018-05-22 19:03 GMT-03:00 Gerardo Ferreyra raptorg83@gmail.com:

May be you guys can help me with livestatus instead.

I get the availability with:

GET statehist
Stats: sum duration_part_ok

One month at a time.

I read about in https://mathias-kettner.de/checkmk_livestatus.html

duration_part_unmonitored

duration_unmonitored

How can i combine them?

I want to get the availability of a server, WITHOUT the “unmonitored time”.

Thanks!

2018-05-22 18:56 GMT-03:00 Gerardo Ferreyra raptorg83@gmail.com:

I need to get it withing the server (ssh). Sorry.

rrdtool graph dummy, rrdfetch, etc

I need to get the date of the first record.

Any help?

2018-05-22 18:42 GMT-03:00 Paul paulmonitoring@gmail.com:

I meant check it in the UI. Zoom in on the graph. :slight_smile:

On Tue, May 22, 2018 at 2:33 PM, Gerardo Ferreyra raptorg83@gmail.com wrote:

Ok, can you tell me how to get the date of the first record in any rrd file?

2018-05-22 18:29 GMT-03:00 Paul paulmonitoring@gmail.com:

Are you just looking to get this metric for a single server? If so, just see when your perfdata started collecting on a given service (Check_MK service might be a good one, or host check). Should give you a good idea as to when it was added.

On Tue, May 22, 2018 at 2:21 PM, Gerardo Ferreyra raptorg83@gmail.com wrote:

Hi guys.

A file (date), a command, anything.

Is there a method to get the date a server was added to check_mk?

Thank you!!!


checkmk-en mailing list

checkmk-en@lists.mathias-kettner.de

Manage your subscription or unsubscribe

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