[Check_mk (english)] Installing check_mk agent on HPUX Unix

Hello all,

I would like to install a/the check_mk agent on HPUX. In the check_mk package, there is an agent for Solaris and for AIX. The commands in these agents are not entirely compatible with my HPUX installations (syntax, etc).

Is there already an agent/alternative for HPUX? If so, how do I install it?

Thank you very much.

Marcel

Marcel,

I have been running check_mk on HP-UX for a while and I use the AIX agent. Default you get a fault on the ps –o option, but if you add the following line near the top of the check_mk_agent script it works fine. Not the prettiest solution but it’s practical at least.

export UNIX95=1

Vriendelijke groet,

Gerwin Dirkzwager

Piramide IT Infra

···

From: checkmk-en-bounces@lists.mathias-kettner.de [mailto:checkmk-en-bounces@lists.mathias-kettner.de] On Behalf Of Marcel
Sent: Wednesday, August 11, 2010 12:20 PM
To: checkmk-en@lists.mathias-kettner.de
Subject: [Check_mk (english)] Installing check_mk agent on HPUX Unix

Hello all,

I would like to install a/the check_mk agent on HPUX. In the check_mk package, there is an agent for Solaris and for AIX. The commands in these agents are not entirely compatible with my HPUX installations (syntax, etc).

Is there already an agent/alternative for HPUX? If so, how do I install it?

Thank you very much.

Marcel

Hello Gerwin,

Thank you very much for your reply.

I copied check_mk_agent.aix over to my HP-UX server as check_mk_agent.

I inserted

export UNIX95=1

near the top of the script.

I executed the file with “sh check_mk_agent”.

The df and vmstat commands seem to be executed properly.

But I also get

<<>>
ps: illegal option – F
ps: Unknown option (args).

and

<<<mpstat_aix>>>

check_mk_agent[72]: mpstat: not found.

and there is nothing under <> .

Also: how do I install the agent? Because it needs to open a port and run in the background, doesn’t it?

Thank you for your help.

···

---------- Forwarded message ----------
From: Gerwin Dirkzwager g.dirkzwager@piramide.nl

Date: 11 August 2010 13:18
Subject: RE: [Check_mk (english)] Installing check_mk agent on HPUX Unix
To: Marcel lord.tek@gmail.com, checkmk-en@lists.mathias-kettner.de

Marcel,

I have been running check_mk on HP-UX for a while and I use the AIX agent. Default you get a fault on the ps –o option, but if you add the following line near the top of the check_mk_agent script it works fine. Not the prettiest solution but it’s practical at least.

export UNIX95=1

Vriendelijke groet,


Gerwin Dirkzwager

Piramide IT Infra

From: checkmk-en-bounces@lists.mathias-kettner.de [mailto:checkmk-en-bounces@lists.mathias-kettner.de] On Behalf Of Marcel
Sent: Wednesday, August 11, 2010 12:20 PM
To: checkmk-en@lists.mathias-kettner.de
Subject: [Check_mk (english)] Installing check_mk agent on HPUX Unix

Hello all,

I would like to install a/the check_mk agent on HPUX. In the check_mk package, there is an agent for Solaris and for AIX. The commands in these agents are not entirely compatible with my HPUX installations (syntax, etc).

Is there already an agent/alternative for HPUX? If so, how do I install it?

Thank you very much.

Marcel

Ah, sorry. My bad. I forgot I had also changed the ps command itself.:

echo ‘<<>>’

ps -ef -F args | sed 1d

changed for HP-UX

ps -ef -o args | sed 1d

To install:

  1.   just place the check_mk_agent file in “/usr/bin”
    
  2.   Add following line to “/etc/inetd.conf”
    

inetd line for check_mk_agent

check_mk_agent stream tcp nowait root /usr/bin/check_mk_agent check_mk_agent

  1.   Run the command “inetd  -c”
    

That should be all.

Regards,

Gerwin Dirkzwager

Piramide IT Infra

···

From: checkmk-en-bounces@lists.mathias-kettner.de [mailto:checkmk-en-bounces@lists.mathias-kettner.de] On Behalf Of Marcel
Sent: Wednesday, August 11, 2010 2:26 PM
To: checkmk-en@lists.mathias-kettner.de
Subject: [Check_mk (english)] Fwd: Installing check_mk agent on HPUX Unix

Hello Gerwin,

Thank you very much for your reply.

I copied check_mk_agent.aix over to my HP-UX server as check_mk_agent.

I inserted

export UNIX95=1

near the top of the script.

I executed the file with “sh check_mk_agent”.

The df and vmstat commands seem to be executed properly.

But I also get

<<>>
ps: illegal option – F
ps: Unknown option (args).

and

<<<mpstat_aix>>>
check_mk_agent[72]: mpstat: not found.

and there is nothing under <> .

Also: how do I install the agent? Because it needs to open a port and run in the background, doesn’t it?

Thank you for your help.

---------- Forwarded message ----------
From: Gerwin Dirkzwager g.dirkzwager@piramide.nl
Date: 11 August 2010 13:18
Subject: RE: [Check_mk (english)] Installing check_mk agent on HPUX Unix
To: Marcel lord.tek@gmail.com, checkmk-en@lists.mathias-kettner.de

Marcel,

I have been running check_mk on HP-UX for a while and I use the AIX agent. Default you get a fault on the ps –o option, but if you add the following line near the top of the check_mk_agent script it works fine. Not the prettiest solution but it’s practical at least.

export UNIX95=1

Vriendelijke groet,


Gerwin Dirkzwager

Piramide IT Infra

From: checkmk-en-bounces@lists.mathias-kettner.de [mailto:checkmk-en-bounces@lists.mathias-kettner.de] On Behalf Of Marcel
Sent: Wednesday, August 11, 2010 12:20 PM
To: checkmk-en@lists.mathias-kettner.de
Subject: [Check_mk (english)] Installing check_mk agent on HPUX Unix

Hello all,

I would like to install a/the check_mk agent on HPUX. In the check_mk package, there is an agent for Solaris and for AIX. The commands in these agents are not entirely compatible with my HPUX installations (syntax, etc).

Is there already an agent/alternative for HPUX? If so, how do I install it?

Thank you very much.

Marcel

Hello Gerwin,

Thank you for your reply.

I was able to install the script as you described.

I ran inventory on my nagios server (check_mk -I alltcp).

Unfortunately only checks for ping and ssh were integrated for my HPUX server. Is this normal?
What about all the things that are usual there after using the check_mk agent? (CPU, disks, network cards etc etc).

Thank you for your help.

···

On 11 August 2010 14:36, Gerwin Dirkzwager g.dirkzwager@piramide.nl wrote:

Ah, sorry. My bad. I forgot I had also changed the ps command itself.:

echo ‘<<>>’

ps -ef -F args | sed 1d

changed for HP-UX

ps -ef -o args | sed 1d

To install:

  1.   just place the check_mk_agent file in “/usr/bin”
    
  1.   Add following line to “/etc/inetd.conf”
    

inetd line for check_mk_agent

check_mk_agent stream tcp nowait root /usr/bin/check_mk_agent check_mk_agent

  1.   Run the command “inetd  -c”
    

That should be all.

Regards,

Gerwin Dirkzwager

Piramide IT Infra

From: checkmk-en-bounces@lists.mathias-kettner.de [mailto:checkmk-en-bounces@lists.mathias-kettner.de] On Behalf Of Marcel
Sent: Wednesday, August 11, 2010 2:26 PM

To: checkmk-en@lists.mathias-kettner.de

Subject: [Check_mk (english)] Fwd: Installing check_mk agent on HPUX Unix

Hello Gerwin,

Thank you very much for your reply.

I copied check_mk_agent.aix over to my HP-UX server as check_mk_agent.

I inserted

export UNIX95=1

near the top of the script.

I executed the file with “sh check_mk_agent”.

The df and vmstat commands seem to be executed properly.

But I also get

<<>>
ps: illegal option – F
ps: Unknown option (args).

and

<<<mpstat_aix>>>
check_mk_agent[72]: mpstat: not found.

and there is nothing under <> .

Also: how do I install the agent? Because it needs to open a port and run in the background, doesn’t it?

Thank you for your help.

---------- Forwarded message ----------
From: Gerwin Dirkzwager g.dirkzwager@piramide.nl
Date: 11 August 2010 13:18
Subject: RE: [Check_mk (english)] Installing check_mk agent on HPUX Unix
To: Marcel lord.tek@gmail.com, checkmk-en@lists.mathias-kettner.de

Marcel,

I have been running check_mk on HP-UX for a while and I use the AIX agent. Default you get a fault on the ps –o option, but if you add the following line near the top of the check_mk_agent script it works fine. Not the prettiest solution but it’s practical at least.

export UNIX95=1

Vriendelijke groet,


Gerwin Dirkzwager

Piramide IT Infra

From: checkmk-en-bounces@lists.mathias-kettner.de [mailto:checkmk-en-bounces@lists.mathias-kettner.de] On Behalf Of Marcel
Sent: Wednesday, August 11, 2010 12:20 PM
To: checkmk-en@lists.mathias-kettner.de
Subject: [Check_mk (english)] Installing check_mk agent on HPUX Unix

Hello all,

I would like to install a/the check_mk agent on HPUX. In the check_mk package, there is an agent for Solaris and for AIX. The commands in these agents are not entirely compatible with my HPUX installations (syntax, etc).

Is there already an agent/alternative for HPUX? If so, how do I install it?

Thank you very much.

Marcel

No this is not usual. Have you tried to run the check_mk_agent on the HPUX server to see what output it generates?

Also run check_mk –d on your check_mk server to see if you get any response.

Maybe if you check your syslog.log on the HPUX server you might get a clue.

I have also found that on at least one server I had to add the service in /etc/services:

check_mk_agent 6556/tcp # check_mk agent

Run inetd –c again after changing this.

Vriendelijke groet,

Gerwin Dirkzwager

Piramide IT Infra

···

From: Marcel [mailto:lord.tek@gmail.com]
Sent: Wednesday, August 11, 2010 2:55 PM
To: Gerwin Dirkzwager; checkmk-en@lists.mathias-kettner.de
Subject: Re: [Check_mk (english)] Fwd: Installing check_mk agent on HPUX Unix

Hello Gerwin,

Thank you for your reply.

I was able to install the script as you described.

I ran inventory on my nagios server (check_mk -I alltcp).

Unfortunately only checks for ping and ssh were integrated for my HPUX server. Is this normal?
What about all the things that are usual there after using the check_mk agent? (CPU, disks, network cards etc etc).

Thank you for your help.

On 11 August 2010 14:36, Gerwin Dirkzwager g.dirkzwager@piramide.nl wrote:

Ah, sorry. My bad. I forgot I had also changed the ps command itself.:

echo ‘<<>>’

ps -ef -F args | sed 1d

changed for HP-UX

ps -ef -o args | sed 1d

To install:

  1.   just place the check_mk_agent file in “/usr/bin”
    
  2.   Add following line to “/etc/inetd.conf”
    

inetd line for check_mk_agent

check_mk_agent stream tcp nowait root /usr/bin/check_mk_agent check_mk_agent

  1.   Run the command “inetd  -c”
    

That should be all.

Regards,

Gerwin Dirkzwager

Piramide IT Infra

From: checkmk-en-bounces@lists.mathias-kettner.de [mailto:checkmk-en-bounces@lists.mathias-kettner.de] On Behalf Of Marcel
Sent: Wednesday, August 11, 2010 2:26 PM

To: checkmk-en@lists.mathias-kettner.de

Subject: [Check_mk (english)] Fwd: Installing check_mk agent on HPUX Unix

Hello Gerwin,

Thank you very much for your reply.

I copied check_mk_agent.aix over to my HP-UX server as check_mk_agent.

I inserted

export UNIX95=1

near the top of the script.

I executed the file with “sh check_mk_agent”.

The df and vmstat commands seem to be executed properly.

But I also get

<<>>
ps: illegal option – F
ps: Unknown option (args).

and

<<<mpstat_aix>>>
check_mk_agent[72]: mpstat: not found.

and there is nothing under <> .

Also: how do I install the agent? Because it needs to open a port and run in the background, doesn’t it?

Thank you for your help.

---------- Forwarded message ----------
From: Gerwin Dirkzwager g.dirkzwager@piramide.nl
Date: 11 August 2010 13:18
Subject: RE: [Check_mk (english)] Installing check_mk agent on HPUX Unix
To: Marcel lord.tek@gmail.com, checkmk-en@lists.mathias-kettner.de

Marcel,

I have been running check_mk on HP-UX for a while and I use the AIX agent. Default you get a fault on the ps –o option, but if you add the following line near the top of the check_mk_agent script it works fine. Not the prettiest solution but it’s practical at least.

export UNIX95=1

Vriendelijke groet,


Gerwin Dirkzwager

Piramide IT Infra

From: checkmk-en-bounces@lists.mathias-kettner.de [mailto:checkmk-en-bounces@lists.mathias-kettner.de] On Behalf Of Marcel
Sent: Wednesday, August 11, 2010 12:20 PM
To: checkmk-en@lists.mathias-kettner.de
Subject: [Check_mk (english)] Installing check_mk agent on HPUX Unix

Hello all,

I would like to install a/the check_mk agent on HPUX. In the check_mk package, there is an agent for Solaris and for AIX. The commands in these agents are not entirely compatible with my HPUX installations (syntax, etc).

Is there already an agent/alternative for HPUX? If so, how do I install it?

Thank you very much.

Marcel

I think I have the reason why I don’t get anything else:

The HPUX server is not reachable on port 6556.
I cannot telnet to the point, and if I do a

check_mk -d hpux-server

then I get

check_mk -I alltcp hpux25
Host ‘hpux25’: Cannot get data from TCP port 192.168.1.23:6556: [Errno 111] Connection refused

···

---------- Forwarded message ----------
From: Marcel lord.tek@gmail.com

Date: 11 August 2010 14:55
Subject: Re: [Check_mk (english)] Fwd: Installing check_mk agent on HPUX Unix
To: Gerwin Dirkzwager g.dirkzwager@piramide.nl, checkmk-en@lists.mathias-kettner.de

Hello Gerwin,

Thank you for your reply.

I was able to install the script as you described.

I ran inventory on my nagios server (check_mk -I alltcp).

Unfortunately only checks for ping and ssh were integrated for my HPUX server. Is this normal?

What about all the things that are usual there after using the check_mk agent? (CPU, disks, network cards etc etc).

Thank you for your help.

On 11 August 2010 14:36, Gerwin Dirkzwager g.dirkzwager@piramide.nl wrote:

Ah, sorry. My bad. I forgot I had also changed the ps command itself.:

echo ‘<<>>’

ps -ef -F args | sed 1d

changed for HP-UX

ps -ef -o args | sed 1d

To install:

  1.   just place the check_mk_agent file in “/usr/bin”
    
  1.   Add following line to “/etc/inetd.conf”
    

inetd line for check_mk_agent

check_mk_agent stream tcp nowait root /usr/bin/check_mk_agent check_mk_agent

  1.   Run the command “inetd  -c”
    

That should be all.

Regards,

Gerwin Dirkzwager

Piramide IT Infra

From: checkmk-en-bounces@lists.mathias-kettner.de [mailto:checkmk-en-bounces@lists.mathias-kettner.de] On Behalf Of Marcel
Sent: Wednesday, August 11, 2010 2:26 PM

To: checkmk-en@lists.mathias-kettner.de

Subject: [Check_mk (english)] Fwd: Installing check_mk agent on HPUX Unix

Hello Gerwin,

Thank you very much for your reply.

I copied check_mk_agent.aix over to my HP-UX server as check_mk_agent.

I inserted

export UNIX95=1

near the top of the script.

I executed the file with “sh check_mk_agent”.

The df and vmstat commands seem to be executed properly.

But I also get

<<>>
ps: illegal option – F
ps: Unknown option (args).

and

<<<mpstat_aix>>>
check_mk_agent[72]: mpstat: not found.

and there is nothing under <> .

Also: how do I install the agent? Because it needs to open a port and run in the background, doesn’t it?

Thank you for your help.

---------- Forwarded message ----------
From: Gerwin Dirkzwager g.dirkzwager@piramide.nl
Date: 11 August 2010 13:18
Subject: RE: [Check_mk (english)] Installing check_mk agent on HPUX Unix

To: Marcel lord.tek@gmail.com, checkmk-en@lists.mathias-kettner.de

Marcel,

I have been running check_mk on HP-UX for a while and I use the AIX agent. Default you get a fault on the ps –o option, but if you add the following line near the top of the check_mk_agent script it works fine. Not the prettiest solution but it’s practical at least.

export UNIX95=1

Vriendelijke groet,


Gerwin Dirkzwager

Piramide IT Infra

From: checkmk-en-bounces@lists.mathias-kettner.de [mailto:checkmk-en-bounces@lists.mathias-kettner.de] On Behalf Of Marcel
Sent: Wednesday, August 11, 2010 12:20 PM
To: checkmk-en@lists.mathias-kettner.de
Subject: [Check_mk (english)] Installing check_mk agent on HPUX Unix

Hello all,

I would like to install a/the check_mk agent on HPUX. In the check_mk package, there is an agent for Solaris and for AIX. The commands in these agents are not entirely compatible with my HPUX installations (syntax, etc).

Is there already an agent/alternative for HPUX? If so, how do I install it?

Thank you very much.

Marcel

I have tried to reproduce and I think you should try adding the service line in /etc/services and reloading inetd.conf. I think that will be your problem. Have you spotted anything in syslog.log?

Vriendelijke groet,

Gerwin Dirkzwager

Piramide IT Infra

···

From: Marcel [mailto:lord.tek@gmail.com]
Sent: Wednesday, August 11, 2010 3:22 PM
To: Gerwin Dirkzwager; checkmk-en@lists.mathias-kettner.de
Subject: Fwd: [Check_mk (english)] Fwd: Installing check_mk agent on HPUX Unix

I think I have the reason why I don’t get anything else:

The HPUX server is not reachable on port 6556.
I cannot telnet to the point, and if I do a

check_mk -d hpux-server

then I get

check_mk -I alltcp hpux25
Host ‘hpux25’: Cannot get data from TCP port 192.168.1.23:6556: [Errno 111] Connection refused

---------- Forwarded message ----------
From: Marcel lord.tek@gmail.com
Date: 11 August 2010 14:55
Subject: Re: [Check_mk (english)] Fwd: Installing check_mk agent on HPUX Unix
To: Gerwin Dirkzwager g.dirkzwager@piramide.nl, checkmk-en@lists.mathias-kettner.de

Hello Gerwin,

Thank you for your reply.

I was able to install the script as you described.

I ran inventory on my nagios server (check_mk -I alltcp).

Unfortunately only checks for ping and ssh were integrated for my HPUX server. Is this normal?
What about all the things that are usual there after using the check_mk agent? (CPU, disks, network cards etc etc).

Thank you for your help.

On 11 August 2010 14:36, Gerwin Dirkzwager g.dirkzwager@piramide.nl wrote:

Ah, sorry. My bad. I forgot I had also changed the ps command itself.:

echo ‘<<>>’

ps -ef -F args | sed 1d

changed for HP-UX

ps -ef -o args | sed 1d

To install:

  1.   just place the check_mk_agent file in “/usr/bin”
    
  2.   Add following line to “/etc/inetd.conf”
    

inetd line for check_mk_agent

check_mk_agent stream tcp nowait root /usr/bin/check_mk_agent check_mk_agent

  1.   Run the command “inetd  -c”
    

That should be all.

Regards,

Gerwin Dirkzwager

Piramide IT Infra

From: checkmk-en-bounces@lists.mathias-kettner.de [mailto:checkmk-en-bounces@lists.mathias-kettner.de] On Behalf Of Marcel
Sent: Wednesday, August 11, 2010 2:26 PM

To: checkmk-en@lists.mathias-kettner.de

Subject: [Check_mk (english)] Fwd: Installing check_mk agent on HPUX Unix

Hello Gerwin,

Thank you very much for your reply.

I copied check_mk_agent.aix over to my HP-UX server as check_mk_agent.

I inserted

export UNIX95=1

near the top of the script.

I executed the file with “sh check_mk_agent”.

The df and vmstat commands seem to be executed properly.

But I also get

<<>>
ps: illegal option – F
ps: Unknown option (args).

and

<<<mpstat_aix>>>
check_mk_agent[72]: mpstat: not found.

and there is nothing under <> .

Also: how do I install the agent? Because it needs to open a port and run in the background, doesn’t it?

Thank you for your help.

---------- Forwarded message ----------
From: Gerwin Dirkzwager g.dirkzwager@piramide.nl
Date: 11 August 2010 13:18
Subject: RE: [Check_mk (english)] Installing check_mk agent on HPUX Unix
To: Marcel lord.tek@gmail.com, checkmk-en@lists.mathias-kettner.de

Marcel,

I have been running check_mk on HP-UX for a while and I use the AIX agent. Default you get a fault on the ps –o option, but if you add the following line near the top of the check_mk_agent script it works fine. Not the prettiest solution but it’s practical at least.

export UNIX95=1

Vriendelijke groet,


Gerwin Dirkzwager

Piramide IT Infra

From: checkmk-en-bounces@lists.mathias-kettner.de [mailto:checkmk-en-bounces@lists.mathias-kettner.de] On Behalf Of Marcel
Sent: Wednesday, August 11, 2010 12:20 PM
To: checkmk-en@lists.mathias-kettner.de
Subject: [Check_mk (english)] Installing check_mk agent on HPUX Unix

Hello all,

I would like to install a/the check_mk agent on HPUX. In the check_mk package, there is an agent for Solaris and for AIX. The commands in these agents are not entirely compatible with my HPUX installations (syntax, etc).

Is there already an agent/alternative for HPUX? If so, how do I install it?

Thank you very much.

Marcel

Yes, adding the line to /etc/services solved the problem. Thank you very much!

···

On 11 August 2010 16:02, Gerwin Dirkzwager g.dirkzwager@piramide.nl wrote:

Yes, I just added the check_mk_agent to an old HP-UX 11.11 server which wasn’t being checked and when I left out the addition to the /etc/services file I get the following message in syslog after running inetd –c

Aug 11 16:37:36 hpl1000 inetd[719]: Rereading configuration

Aug 11 16:37:36 hpl1000 inetd[719]: protocol = tcp

Aug 11 16:37:36 hpl1000 inetd[719]: protocol = udp

Aug 11 16:37:36 hpl1000 inetd[719]: check_mk_agent/tcp: Unknown service

Aug 11 16:37:36 hpl1000 inetd[719]: Configuration complete

When I add the service line and run inetd –c

Aug 11 16:40:23 hpl1000 inetd[719]: Rereading configuration

Aug 11 16:40:23 hpl1000 inetd[719]: protocol = tcp

Aug 11 16:40:23 hpl1000 inetd[719]: protocol = udp

Aug 11 16:40:24 hpl1000 inetd[719]: check_mk_agent/tcp: Added service, server /usr/bin/check_mk_agent

Aug 11 16:40:24 hpl1000 inetd[719]: Configuration complete

And I am also able to run check_mk –d hpl1000 and get a full inventory.

Vriendelijke groet,


Gerwin Dirkzwager

Piramide IT Infra

From: Marcel [mailto:lord.tek@gmail.com]
Sent: Wednesday, August 11, 2010 3:22 PM

To: Gerwin Dirkzwager; checkmk-en@lists.mathias-kettner.de
Subject: Fwd: [Check_mk (english)] Fwd: Installing check_mk agent on HPUX Unix

I think I have the reason why I don’t get anything else:

The HPUX server is not reachable on port 6556.
I cannot telnet to the point, and if I do a

check_mk -d hpux-server

then I get

check_mk -I alltcp hpux25
Host ‘hpux25’: Cannot get data from TCP port 192.168.1.23:6556: [Errno 111] Connection refused

---------- Forwarded message ----------
From: Marcel lord.tek@gmail.com
Date: 11 August 2010 14:55
Subject: Re: [Check_mk (english)] Fwd: Installing check_mk agent on HPUX Unix
To: Gerwin Dirkzwager g.dirkzwager@piramide.nl, checkmk-en@lists.mathias-kettner.de

Hello Gerwin,

Thank you for your reply.

I was able to install the script as you described.

I ran inventory on my nagios server (check_mk -I alltcp).

Unfortunately only checks for ping and ssh were integrated for my HPUX server. Is this normal?
What about all the things that are usual there after using the check_mk agent? (CPU, disks, network cards etc etc).

Thank you for your help.

On 11 August 2010 14:36, Gerwin Dirkzwager g.dirkzwager@piramide.nl wrote:

Ah, sorry. My bad. I forgot I had also changed the ps command itself.:

echo ‘<<>>’

ps -ef -F args | sed 1d

changed for HP-UX

ps -ef -o args | sed 1d

To install:

  1.   just place the check_mk_agent file in “/usr/bin”
    
  1.   Add following line to “/etc/inetd.conf”
    

inetd line for check_mk_agent

check_mk_agent stream tcp nowait root /usr/bin/check_mk_agent check_mk_agent

  1.   Run the command “inetd  -c”
    

That should be all.

Regards,

Gerwin Dirkzwager

Piramide IT Infra

From: checkmk-en-bounces@lists.mathias-kettner.de [mailto:checkmk-en-bounces@lists.mathias-kettner.de] On Behalf Of Marcel
Sent: Wednesday, August 11, 2010 2:26 PM

To: checkmk-en@lists.mathias-kettner.de

Subject: [Check_mk (english)] Fwd: Installing check_mk agent on HPUX Unix

Hello Gerwin,

Thank you very much for your reply.

I copied check_mk_agent.aix over to my HP-UX server as check_mk_agent.

I inserted

export UNIX95=1

near the top of the script.

I executed the file with “sh check_mk_agent”.

The df and vmstat commands seem to be executed properly.

But I also get

<<>>
ps: illegal option – F
ps: Unknown option (args).

and

<<<mpstat_aix>>>
check_mk_agent[72]: mpstat: not found.

and there is nothing under <> .

Also: how do I install the agent? Because it needs to open a port and run in the background, doesn’t it?

Thank you for your help.

---------- Forwarded message ----------
From: Gerwin Dirkzwager g.dirkzwager@piramide.nl
Date: 11 August 2010 13:18
Subject: RE: [Check_mk (english)] Installing check_mk agent on HPUX Unix
To: Marcel lord.tek@gmail.com, checkmk-en@lists.mathias-kettner.de

Marcel,

I have been running check_mk on HP-UX for a while and I use the AIX agent. Default you get a fault on the ps –o option, but if you add the following line near the top of the check_mk_agent script it works fine. Not the prettiest solution but it’s practical at least.

export UNIX95=1

Vriendelijke groet,


Gerwin Dirkzwager

Piramide IT Infra

From: checkmk-en-bounces@lists.mathias-kettner.de [mailto:checkmk-en-bounces@lists.mathias-kettner.de] On Behalf Of Marcel
Sent: Wednesday, August 11, 2010 12:20 PM
To: checkmk-en@lists.mathias-kettner.de
Subject: [Check_mk (english)] Installing check_mk agent on HPUX Unix

Hello all,

I would like to install a/the check_mk agent on HPUX. In the check_mk package, there is an agent for Solaris and for AIX. The commands in these agents are not entirely compatible with my HPUX installations (syntax, etc).

Is there already an agent/alternative for HPUX? If so, how do I install it?

Thank you very much.

Marcel