[Check_mk (english)] how to install check_mk agent in sun solaris 8-10

thank you its work.

is this correct the RAM is not check?

CPU load

OK 05-22-2010 07:32:49 0d 8h 24m 47s 1/1 OK - 15min Load 0.22 at 2 CPUs
Check_MK

OK 05-22-2010 07:32:48 0d 8h 24m 49s 1/1 OK - Agent Version 1.1.4,
processed 7 host infos
Number of threads

OK 05-22-2010 07:32:49 0d 8h 24m 47s 1/1 OK - 91 threads
fs_/

OK 05-22-2010 07:32:49 0d 8h 24m 47s 1/1 OK - 1.9% used (0.7 of 36.4
GB), (levels at 80.0/90.0%)
fs_/export/home

OK 05-22-2010 07:32:49 0d 8h 24m 47s 1/1 OK - 1.1% used (0.1 of 9.8
GB), (levels at 80.0/90.0%)
fs_/opt

OK 05-22-2010 07:32:49 0d 8h 24m 47s 1/1 OK - 4.9% used (0.5 of 9.9
GB), (levels at 80.0/90.0%)
fs_/usr

OK 05-22-2010 07:32:49 0d 8h 24m 47s 1/1 OK - 15.1% used (3.0 of 19.7
GB), (levels at 80.0/90.0%)
fs_/var

···

On Fri, May 21, 2010 at 8:48 PM, Darin Perusich <Darin.Perusich@cognigencorp.com> wrote:

I you run "inetconv -f" it will overwrite the existing configuration.

On 05/21/2010 03:10 AM, Norman Vicente wrote:

seems like i have no success configuring sun solaris agent

what i did was

1. copy the check_mk_agent.solaris from the extracted agents.tar to /usr/bin/
2. add the following line to the end of /etc/inet/inetd.conf:
"check_mk stream tcp nowait root //usr/sfw/sbin/tcpd /usr/bin/check_mk_agent"
3. execute the inetconv

and stack from there

the result of inetconv

inetconv: Notice: Service manifest for check_mk already generated as
/var/mainfest/network/check_mk-tcp.xml. skipped

please help to fix this issue.

regards,
Norman

On Sat, May 15, 2010 at 12:41 AM, Norman Vicente >> <norman.vicente@gmail.com> wrote:

thanks Rajesh.

I will do this next week. is this thesame process with solaris 8 and 9?

regards,
norman

On Fri, May 14, 2010 at 5:36 PM, Bhardwaj, Rajesh >>> <rajesh.bhardwaj@capgemini.com> wrote:

Hi,

You can perform following steps in Solaris 10. After copying /usr/share/check_mk/agents/check_mk_agent.solaris to Solaris 10 /usr/bin/

With Solaris 10, SMF is used. inetd entries can be converted to the SMF repository with the inetconv command. So first, add the following entry to /etc/services:
check_mk 6556/tcp # CheckMk
Then add the following line to the end of /etc/inet/inetd.conf:
check_mk stream tcp nowait root //usr/sfw/sbin/tcpd /usr/bin/check_mk_agent
Next, we need to convert it to SMF:
# inetconv
check_mk -> /var/svc/manifest/network/ check_mk-tcp.xml l
Importing check_mk-tcp.xml ...Done
# inetconv -e
svc:/network/check_mk/tcp:default enabled
Check to make sure it went online:
# svcs svc:/network/check_mk/tcp:default
STATE STIME FMRI
online Mar_19 svc:/network/check_mk/tcp:default
# netstat -a | grep check_mk
*.check_mk *.* 0 0 49152 0 LISTEN
Check the default installed parameters:
# inetadm -l svc:/network/check_mk/tcp:default
SCOPE NAME=VALUE
name="check_mk"
endpoint_type="stream"
proto="tcp"
isrpc=FALSE
wait=FALSE
exec="/usr/sfw/sbin/tcpd"
arg0="/usr/bin/check_mk_agent"
user="root"
default bind_addr=""
default bind_fail_max=-1
default bind_fail_interval=-1
default max_con_rate=-1
default max_copies=-1
default con_rate_offline=-1
default failrate_cnt=40
default failrate_interval=60
default inherit_env=TRUE
default tcp_trace=FALSE
tcp_wrappers=FALSE
default connection_backlog=10

Change it so that it uses tcp_wrappers:
# inetadm -m svc:/network/check_mk/tcp:default tcp_wrappers=TRUE
And check to make sure it took effect:
# inetadm -l svc:/network/check_mk/tcp:default
SCOPE NAME=VALUE
name="check_mk"
endpoint_type="stream"
proto="tcp"
isrpc=FALSE
wait=FALSE
exec="/usr/sfw/sbin/tcpd"
arg0="/usr/bin/check_mk_agent"
user="root"
default bind_addr=""
default bind_fail_max=-1
default bind_fail_interval=-1
default max_con_rate=-1
default max_copies=-1
default con_rate_offline=-1
default failrate_cnt=40
default failrate_interval=60
default inherit_env=TRUE
default tcp_trace=FALSE
default tcp_wrappers=TRUE
default connection_backlog=10

Regards,
Rajesh
-----Original Message-----
From: checkmk-en-bounces@lists.mathias-kettner.de [mailto:checkmk-en-bounces@lists.mathias-kettner.de] On Behalf Of Norman Vicente
Sent: Friday, May 14, 2010 2:46 PM
To: checkmk-en@lists.mathias-kettner.de
Subject: [Check_mk (english)] how to install check_mk agent in sun solaris 8-10

Hello,

I need your help to install check_mk agent in sun solaris 8-10 machines?

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

This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is
intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to
read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message
in error, please notify the sender immediately and delete all copies of this message.

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

--
Darin Perusich
Unix Systems Administrator
Cognigen Corporation
395 Youngs Rd.
Williamsville, NY 14221
Phone: 716-633-3463
Email: darinper@cognigencorp.com

Hello,

is there any step to install check_mk agent on solaris 8?

···

On Sat, May 22, 2010 at 7:35 AM, Norman Vicente <norman.vicente@gmail.com> wrote:

thank you its work.

is this correct the RAM is not check?

CPU load

OK 05-22-2010 07:32:49 0d 8h 24m 47s 1/1 OK - 15min Load 0.22 at 2 CPUs
Check_MK

OK 05-22-2010 07:32:48 0d 8h 24m 49s 1/1 OK - Agent Version 1.1.4,
processed 7 host infos
Number of threads

OK 05-22-2010 07:32:49 0d 8h 24m 47s 1/1 OK - 91 threads
fs_/

OK 05-22-2010 07:32:49 0d 8h 24m 47s 1/1 OK - 1.9% used (0.7 of 36.4
GB), (levels at 80.0/90.0%)
fs_/export/home

OK 05-22-2010 07:32:49 0d 8h 24m 47s 1/1 OK - 1.1% used (0.1 of 9.8
GB), (levels at 80.0/90.0%)
fs_/opt

OK 05-22-2010 07:32:49 0d 8h 24m 47s 1/1 OK - 4.9% used (0.5 of 9.9
GB), (levels at 80.0/90.0%)
fs_/usr

OK 05-22-2010 07:32:49 0d 8h 24m 47s 1/1 OK - 15.1% used (3.0 of 19.7
GB), (levels at 80.0/90.0%)
fs_/var

On Fri, May 21, 2010 at 8:48 PM, Darin Perusich > <Darin.Perusich@cognigencorp.com> wrote:

I you run "inetconv -f" it will overwrite the existing configuration.

On 05/21/2010 03:10 AM, Norman Vicente wrote:

seems like i have no success configuring sun solaris agent

what i did was

1. copy the check_mk_agent.solaris from the extracted agents.tar to /usr/bin/
2. add the following line to the end of /etc/inet/inetd.conf:
"check_mk stream tcp nowait root //usr/sfw/sbin/tcpd /usr/bin/check_mk_agent"
3. execute the inetconv

and stack from there

the result of inetconv

inetconv: Notice: Service manifest for check_mk already generated as
/var/mainfest/network/check_mk-tcp.xml. skipped

please help to fix this issue.

regards,
Norman

On Sat, May 15, 2010 at 12:41 AM, Norman Vicente >>> <norman.vicente@gmail.com> wrote:

thanks Rajesh.

I will do this next week. is this thesame process with solaris 8 and 9?

regards,
norman

On Fri, May 14, 2010 at 5:36 PM, Bhardwaj, Rajesh >>>> <rajesh.bhardwaj@capgemini.com> wrote:

Hi,

You can perform following steps in Solaris 10. After copying /usr/share/check_mk/agents/check_mk_agent.solaris to Solaris 10 /usr/bin/

With Solaris 10, SMF is used. inetd entries can be converted to the SMF repository with the inetconv command. So first, add the following entry to /etc/services:
check_mk 6556/tcp # CheckMk
Then add the following line to the end of /etc/inet/inetd.conf:
check_mk stream tcp nowait root //usr/sfw/sbin/tcpd /usr/bin/check_mk_agent
Next, we need to convert it to SMF:
# inetconv
check_mk -> /var/svc/manifest/network/ check_mk-tcp.xml l
Importing check_mk-tcp.xml ...Done
# inetconv -e
svc:/network/check_mk/tcp:default enabled
Check to make sure it went online:
# svcs svc:/network/check_mk/tcp:default
STATE STIME FMRI
online Mar_19 svc:/network/check_mk/tcp:default
# netstat -a | grep check_mk
*.check_mk *.* 0 0 49152 0 LISTEN
Check the default installed parameters:
# inetadm -l svc:/network/check_mk/tcp:default
SCOPE NAME=VALUE
name="check_mk"
endpoint_type="stream"
proto="tcp"
isrpc=FALSE
wait=FALSE
exec="/usr/sfw/sbin/tcpd"
arg0="/usr/bin/check_mk_agent"
user="root"
default bind_addr=""
default bind_fail_max=-1
default bind_fail_interval=-1
default max_con_rate=-1
default max_copies=-1
default con_rate_offline=-1
default failrate_cnt=40
default failrate_interval=60
default inherit_env=TRUE
default tcp_trace=FALSE
tcp_wrappers=FALSE
default connection_backlog=10

Change it so that it uses tcp_wrappers:
# inetadm -m svc:/network/check_mk/tcp:default tcp_wrappers=TRUE
And check to make sure it took effect:
# inetadm -l svc:/network/check_mk/tcp:default
SCOPE NAME=VALUE
name="check_mk"
endpoint_type="stream"
proto="tcp"
isrpc=FALSE
wait=FALSE
exec="/usr/sfw/sbin/tcpd"
arg0="/usr/bin/check_mk_agent"
user="root"
default bind_addr=""
default bind_fail_max=-1
default bind_fail_interval=-1
default max_con_rate=-1
default max_copies=-1
default con_rate_offline=-1
default failrate_cnt=40
default failrate_interval=60
default inherit_env=TRUE
default tcp_trace=FALSE
default tcp_wrappers=TRUE
default connection_backlog=10

Regards,
Rajesh
-----Original Message-----
From: checkmk-en-bounces@lists.mathias-kettner.de [mailto:checkmk-en-bounces@lists.mathias-kettner.de] On Behalf Of Norman Vicente
Sent: Friday, May 14, 2010 2:46 PM
To: checkmk-en@lists.mathias-kettner.de
Subject: [Check_mk (english)] how to install check_mk agent in sun solaris 8-10

Hello,

I need your help to install check_mk agent in sun solaris 8-10 machines?

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

This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is
intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to
read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message
in error, please notify the sender immediately and delete all copies of this message.

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

--
Darin Perusich
Unix Systems Administrator
Cognigen Corporation
395 Youngs Rd.
Williamsville, NY 14221
Phone: 716-633-3463
Email: darinper@cognigencorp.com