[Check_mk (english)] Windows & linux server uptime

Hello- I need a way of monitoring uptime… I’ve looked at the docs and in /usr/share/check_mk but I don’t see anything that will do this. Is there a way to add a definition for the appropriate counter?

Thanks

-Mark

···

-----Original Message-----
From: checkmk-en-bounces@lists.mathias-kettner.de [mailto:checkmk-en-bounces@lists.mathias-kettner.de] On Behalf Of checkmk-en-request@lists.mathias-kettner.de
Sent: Tuesday, October 20, 2009 5:00 AM
To: checkmk-en@lists.mathias-kettner.de
Subject: checkmk-en Digest, Vol 2, Issue 12

Send checkmk-en mailing list submissions to
checkmk-en@lists.mathias-kettner.de

To subscribe or unsubscribe via the World Wide Web, visit
http://mathias-kettner.de/mailman/listinfo/checkmk-en
or, via email, send a message with subject or body ‘help’ to
checkmk-en-request@lists.mathias-kettner.de

You can reach the person managing the list at
checkmk-en-owner@lists.mathias-kettner.de

When replying, please edit your Subject line so it is more specific
than “Re: Contents of checkmk-en digest…”

Today’s Topics:

  1. Re: Check_MK crashing constantly (Windows) (Mathias Kettner)
  2. Re: Check_MK crashing constantly (Windows) (Nitesh Patel)

Message: 1
Date: Tue, 20 Oct 2009 09:28:09 +0200
From: Mathias Kettner mk@mathias-kettner.de
To: Nitesh Patel Nitesh.Patel@sysmicro.co.uk
Cc: “checkmk-en@lists.mathias-kettner.de
checkmk-en@lists.mathias-kettner.de
Subject: Re: [Check_mk (english)] Check_MK crashing constantly
(Windows)
Message-ID: 4ADD6689.7060304@mathias-kettner.de
Content-Type: text/plain; charset=windows-1252; format=flowed

Hi you all,

does anyone of you have access to a Visual C++ compiler and
can try to compile the agent with that compiler instead
of C++? I’m not quite sure that we do not have a compiler
problem here. At least the Linux cross-mingw compiler produced
buggy code…

Mathias

Nitesh Patel schrieb:

We are running several web-servers, but the latest versions keep
crashing on the 10 2003 IIS web-servers we have.

We were running .28, I changed them to .30rc then .36 however I?ve had
to revert back to .28

Do we know what the cause is??

Usually crashes first time, we set the service to automatically restart
? but then this keeps bringing up errors when remote desktop?d into the
machine!

Regards,

Nitesh Patel



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


__ __ _ __
Mathias Kettner | / | |/ / M A T H I A S K E T T N E R
Preysingstr. 74 | |/| | ’ /
81667 M?nchen | | | | . \ Linux Beratung & Schulung
089 / 444 09 662 || ||_|_\ http://mathias-kettner.de


Message: 2
Date: Tue, 20 Oct 2009 09:57:19 +0100
From: Nitesh Patel Nitesh.Patel@sysmicro.co.uk
To: Mathias Kettner mk@mathias-kettner.de
Cc: “checkmk-en@lists.mathias-kettner.de
checkmk-en@lists.mathias-kettner.de
Subject: Re: [Check_mk (english)] Check_MK crashing constantly
(Windows)
Message-ID:
7D29EE2A4FBED24AA85ACFBF339AE1E3010494FA76@bismsexch2007mb.sms.com
Content-Type: text/plain; charset=“Windows-1252”

Haven’t done this before, but I’ll get Visual Studio installed and i’ll give it a whirl!

If anyone can give me some pointers, that would be great!

Regards,
Nitesh Patel


From: Mathias Kettner [mk@mathias-kettner.de]
Sent: 20 October 2009 08:28
To: Nitesh Patel
Cc: checkmk-en@lists.mathias-kettner.de
Subject: Re: [Check_mk (english)] Check_MK crashing constantly (Windows)

Hi you all,

does anyone of you have access to a Visual C++ compiler and
can try to compile the agent with that compiler instead
of C++? I’m not quite sure that we do not have a compiler
problem here. At least the Linux cross-mingw compiler produced
buggy code…

Mathias

Nitesh Patel schrieb:

We are running several web-servers, but the latest versions keep
crashing on the 10 2003 IIS web-servers we have.

We were running .28, I changed them to .30rc then .36 however I?ve had
to revert back to .28

Do we know what the cause is??

Usually crashes first time, we set the service to automatically restart
? but then this keeps bringing up errors when remote desktop?d into the
machine!

Regards,

Nitesh Patel



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


__ __ _ __
Mathias Kettner | / | |/ / M A T H I A S K E T T N E R
Preysingstr. 74 | |/| | ’ /
81667 M?nchen | | | | . \ Linux Beratung & Schulung
089 / 444 09 662 || ||_|_\ http://mathias-kettner.de



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

End of checkmk-en Digest, Vol 2, Issue 12


Hi Mark,

Windows: is the value you need contained in the performance
counters sent by the agent? If yes, please have a look
into checks/winperf for an examle (Python knowledge needed, though).

For Linux, this could be done with a 'local' check, if you
do not want to write in Python. Best would be to get
the informatin from '/proc/uptime'. It is easier to
parse than the output of 'uptime'.

Mathias

Mark Dahmke schrieb:

···

Hello- I need a way of monitoring uptime... I've looked at the docs and in /usr/share/check_mk but I don't see anything that will do this. Is there a way to add a definition for the appropriate counter?

Thanks

-Mark

-----Original Message-----
From: checkmk-en-bounces@lists.mathias-kettner.de [mailto:checkmk-en-bounces@lists.mathias-kettner.de] On Behalf Of checkmk-en-request@lists.mathias-kettner.de
Sent: Tuesday, October 20, 2009 5:00 AM
To: checkmk-en@lists.mathias-kettner.de
Subject: checkmk-en Digest, Vol 2, Issue 12

Send checkmk-en mailing list submissions to
        checkmk-en@lists.mathias-kettner.de

To subscribe or unsubscribe via the World Wide Web, visit
        http://mathias-kettner.de/mailman/listinfo/checkmk-en
or, via email, send a message with subject or body 'help' to
        checkmk-en-request@lists.mathias-kettner.de

You can reach the person managing the list at
        checkmk-en-owner@lists.mathias-kettner.de

When replying, please edit your Subject line so it is more specific
than "Re: Contents of checkmk-en digest..."

Today's Topics:

   1. Re: Check_MK crashing constantly (Windows) (Mathias Kettner)
   2. Re: Check_MK crashing constantly (Windows) (Nitesh Patel)

----------------------------------------------------------------------

Message: 1
Date: Tue, 20 Oct 2009 09:28:09 +0200
From: Mathias Kettner <mk@mathias-kettner.de>
To: Nitesh Patel <Nitesh.Patel@sysmicro.co.uk>
Cc: "checkmk-en@lists.mathias-kettner.de"
        <checkmk-en@lists.mathias-kettner.de>
Subject: Re: [Check_mk (english)] Check_MK crashing constantly
        (Windows)
Message-ID: <4ADD6689.7060304@mathias-kettner.de>
Content-Type: text/plain; charset=windows-1252; format=flowed

Hi you all,

does anyone of you have access to a Visual C++ compiler and
can try to compile the agent with that compiler instead
of C++? I'm not quite sure that we do not have a compiler
problem here. At least the Linux cross-mingw compiler produced
buggy code...

Mathias

Nitesh Patel schrieb:
> We are running several web-servers, but the latest versions keep
> crashing on the 10 2003 IIS web-servers we have.
>
> >
> We were running .28, I changed them to .30rc then .36 however I?ve had
> to revert back to .28
>
> >
> Do we know what the cause is??
>
> >
> Usually crashes first time, we set the service to automatically restart
> ? but then this keeps bringing up errors when remote desktop?d into the
> machine!
>
> >
> >
> >
> Regards,
>
> Nitesh Patel
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> checkmk-en mailing list
> checkmk-en@lists.mathias-kettner.de
> http://mathias-kettner.de/mailman/listinfo/checkmk-en

--
                        __ __ _ __
Mathias Kettner | \/ | |/ / M A T H I A S K E T T N E R
Preysingstr. 74 | |\/| | ' /
81667 M?nchen | | | | . \ Linux Beratung & Schulung
089 / 444 09 662 |_| |_|_|\_\ http://mathias-kettner.de

------------------------------

Message: 2
Date: Tue, 20 Oct 2009 09:57:19 +0100
From: Nitesh Patel <Nitesh.Patel@sysmicro.co.uk>
To: Mathias Kettner <mk@mathias-kettner.de>
Cc: "checkmk-en@lists.mathias-kettner.de"
        <checkmk-en@lists.mathias-kettner.de>
Subject: Re: [Check_mk (english)] Check_MK crashing constantly
        (Windows)
Message-ID:
        <7D29EE2A4FBED24AA85ACFBF339AE1E3010494FA76@bismsexch2007mb.sms.com>
Content-Type: text/plain; charset="Windows-1252"

Haven't done this before, but I'll get Visual Studio installed and i'll give it a whirl!

If anyone can give me some pointers, that would be great!

Regards,
Nitesh Patel
________________________________________
From: Mathias Kettner [mk@mathias-kettner.de]
Sent: 20 October 2009 08:28
To: Nitesh Patel
Cc: checkmk-en@lists.mathias-kettner.de
Subject: Re: [Check_mk (english)] Check_MK crashing constantly (Windows)

Hi you all,

does anyone of you have access to a Visual C++ compiler and
can try to compile the agent with that compiler instead
of C++? I'm not quite sure that we do not have a compiler
problem here. At least the Linux cross-mingw compiler produced
buggy code...

Mathias

Nitesh Patel schrieb:
> We are running several web-servers, but the latest versions keep
> crashing on the 10 2003 IIS web-servers we have.
>
> We were running .28, I changed them to .30rc then .36 however I?ve had
> to revert back to .28
>
> Do we know what the cause is??
>
> Usually crashes first time, we set the service to automatically restart
> ? but then this keeps bringing up errors when remote desktop?d into the
> machine!
>
> Regards,
>
> Nitesh Patel
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> checkmk-en mailing list
> checkmk-en@lists.mathias-kettner.de
> http://mathias-kettner.de/mailman/listinfo/checkmk-en

--
                        __ __ _ __
Mathias Kettner | \/ | |/ / M A T H I A S K E T T N E R
Preysingstr. 74 | |\/| | ' /
81667 M?nchen | | | | . \ Linux Beratung & Schulung
089 / 444 09 662 |_| |_|_|\_\ http://mathias-kettner.de

------------------------------

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

End of checkmk-en Digest, Vol 2, Issue 12
*****************************************

------------------------------------------------------------------------

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

--
                        __ __ _ __
Mathias Kettner | \/ | |/ / M A T H I A S K E T T N E R
Preysingstr. 74 | |\/| | ' /
81667 M�nchen | | | | . \ Linux Beratung & Schulung
089 / 444 09 662 |_| |_|_|\_\ http://mathias-kettner.de