Installasi Zenoss 3.2 pada Debian Squeeze

| Posted in Daily life, Linux Server, Monitoring, Nigeria


Instalasi Zenoss 3.2.1 pada sistem operasi Linux Debian 6 Squeeze :
root@zenoss:/home/gtoms# cat /etc/debian_version
6.0.3

root@zenoss:/home/gtoms# nano /etc/apt/sources.list

deb http://dev.zenoss.org/deb main stable

root@zenoss:/home/gtoms# apt-get update
Get:1 http://security.debian.org squeeze/updates Release.gpg [836 B]
Ign http://security.debian.org/ squeeze/updates/main Translation-en
Ign http://security.debian.org/ squeeze/updates/main Translation-en_NG
Hit http://ftp.us.debian.org squeeze Release.gpg
Ign http://dev.zenoss.org main Release.gpg
Get:2 http://security.debian.org squeeze/updates Release [38.4 kB]
Ign http://ftp.us.debian.org/debian/ squeeze/main Translation-en
Ign http://ftp.us.debian.org/debian/ squeeze/main Translation-en_NG
Get:3 http://ftp.us.debian.org squeeze-updates Release.gpg [836 B]
Ign http://dev.zenoss.org/deb/ main/stable Translation-en
Ign http://ftp.us.debian.org/debian/ squeeze-updates/main Translation-en
Ign http://ftp.us.debian.org/debian/ squeeze-updates/main Translation-en_NG
Hit http://ftp.us.debian.org squeeze Release
Get:4 http://security.debian.org squeeze/updates/main Sources [62.5 kB]
Ign http://dev.zenoss.org/deb/ main/stable Translation-en_NG
Get:5 http://ftp.us.debian.org squeeze-updates Release [113 kB]
Ign http://dev.zenoss.org main Release
Hit http://security.debian.org squeeze/updates/main i386 Packages
Get:6 http://dev.zenoss.org main/stable i386 Packages [267 B]
Hit http://ftp.us.debian.org squeeze/main Sources
Hit http://ftp.us.debian.org squeeze/main i386 Packages
Hit http://ftp.us.debian.org squeeze-updates/main Sources/DiffIndex
Hit http://ftp.us.debian.org squeeze-updates/main i386 Packages/DiffIndex
Get:7 http://ftp.us.debian.org squeeze-updates/main i386 Packages [4,108 B]
Fetched 220 kB in 6s (34.8 kB/s)
Reading package lists… Done

root@zenoss:/home/gtoms# apt-cache search zenoss-stack
zenoss-stack – Zenoss Stack with all requirements.
root@zenoss:/home/gtoms#

root@zenoss:/home/gtoms# apt-get install zenoss-stack
Reading package lists… Done
Building dependency tree
Reading state information… Done
The following NEW packages will be installed:
zenoss-stack
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 127 MB of archives.
After this operation, 437 MB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
zenoss-stack
Install these packages without verification [y/N]? y
Get:1 http://dev.zenoss.org/deb/ main/stable zenoss-stack i386 3.2.1-0 [127 MB]
Fetched 127 MB in 3min 57s (537 kB/s)
Selecting previously deselected package zenoss-stack.
(Reading database … 22960 files and directories currently installed.)
Unpacking zenoss-stack (from …/zenoss-stack_3.2.1-0_i386.deb) ...
Setting up zenoss-stack (3.2.1-0) ...

root@zenoss:/home/gtoms# /etc/init.d/zenoss-stack start
nohup: redirecting stderr to stdout
Starting mysqld.bin daemon with databases from /usr/local/zenoss/mysql/data
/usr/local/zenoss/mysql/scripts/ctl.sh : mysql  started at port 3307
Daemon: zeoctl .
daemon process started, pid=4052
Daemon: zopectl .
daemon process started, pid=4063
Daemon: zenhub starting…
Daemon: zenjobs starting…
Daemon: zenping starting…
Daemon: zensyslog starting…
Daemon: zenstatus starting…
Daemon: zenactions starting…
Daemon: zentrap starting…
Daemon: zenmodeler starting…
Daemon: zenperfsnmp starting…
Daemon: zencommand starting…
Daemon: zenprocess starting…
Daemon: zenwin starting…
Daemon: zeneventlog starting…
root@zenoss:/home/gtoms# ps axuwww
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root         1  0.0  0.0   2032   748 ?        Ss   Nov07   0:02 init [2]
root         2  0.0  0.0      0     0 ?        S    Nov07   0:00 [kthreadd]
root         3  0.0  0.0      0     0 ?        S    Nov07   0:00 [migration/0]
root         4  0.0  0.0      0     0 ?        S    Nov07   0:00 [ksoftirqd/0]
root         5  0.0  0.0      0     0 ?        S    Nov07   0:00 [watchdog/0]
root         6  0.0  0.0      0     0 ?        S    Nov07   0:00 [events/0]
root         7  0.0  0.0      0     0 ?        S    Nov07   0:00 [cpuset]
root         8  0.0  0.0      0     0 ?        S    Nov07   0:00 [khelper]
root         9  0.0  0.0      0     0 ?        S    Nov07   0:00 [netns]
root        10  0.0  0.0      0     0 ?        S    Nov07   0:00 [async/mgr]
root        11  0.0  0.0      0     0 ?        S    Nov07   0:00 [pm]
root        12  0.0  0.0      0     0 ?        S    Nov07   0:00 [sync_supers]
root        13  0.0  0.0      0     0 ?        S    Nov07   0:00 [bdi-default]
root        14  0.0  0.0      0     0 ?        S    Nov07   0:00 [kintegrityd/0]
root        15  0.0  0.0      0     0 ?        S    Nov07   0:00 [kblockd/0]
root        16  0.0  0.0      0     0 ?        S    Nov07   0:00 [kacpid]
root        17  0.0  0.0      0     0 ?        S    Nov07   0:00 [kacpi_notify]
root        18  0.0  0.0      0     0 ?        S    Nov07   0:00 [kacpi_hotplug]
root        19  0.0  0.0      0     0 ?        S    Nov07   0:00 [kseriod]
root        21  0.0  0.0      0     0 ?        S    Nov07   0:00 [kondemand/0]
root        22  0.0  0.0      0     0 ?        S    Nov07   0:00 [khungtaskd]
root        23  0.0  0.0      0     0 ?        S    Nov07   0:00 [kswapd0]
root        24  0.0  0.0      0     0 ?        SN   Nov07   0:00 [ksmd]
root        25  0.0  0.0      0     0 ?        S    Nov07   0:00 [aio/0]
root        26  0.0  0.0      0     0 ?        S    Nov07   0:00 [crypto/0]
root       213  0.0  0.0      0     0 ?        S    Nov07   0:00 [ata/0]
root       214  0.0  0.0      0     0 ?        S    Nov07   0:00 [ata_aux]
root       215  0.0  0.0      0     0 ?        S    Nov07   0:00 [scsi_eh_0]
root       216  0.0  0.0      0     0 ?        S    Nov07   0:00 [scsi_eh_1]
root       223  0.0  0.0      0     0 ?        S    Nov07   0:00 [mpt_poll_0]
root       225  0.0  0.0      0     0 ?        S    Nov07   0:00 [mpt/0]
root       227  0.0  0.0      0     0 ?        S    Nov07   0:00 [scsi_eh_2]
root       254  0.0  0.0      0     0 ?        S    Nov07   0:00 [kjournald]
root       326  0.0  0.0   2440  1004 ?        S root       433  0.0  0.0   2384   760 ?        S<   Nov07   0:00 udevd—daemon
root       452  0.0  0.0   2384   764 ?        S<   Nov07   0:00 udevd—daemon
root       531  0.0  0.0      0     0 ?        S    Nov07   0:00 [kpsmoused]
daemon     762  0.0  0.0   1808   492 ?        Ss   Nov07   0:00 /sbin/portmap
statd      774  0.0  0.0   1936   792 ?        Ss   Nov07   0:00 /sbin/rpc.statd
root       913  0.0  0.0  27580  1752 ?        Sl   Nov07   0:00 /usr/sbin/rsyslogd -c4
daemon     945  0.0  0.0   2160   412 ?        Ss   Nov07   0:00 /usr/sbin/atd
root       964  0.0  0.0   1696   596 ?        Ss   Nov07   0:00 /usr/sbin/acpid
root      1040  0.0  0.0   2152   440 ?        S    Nov07   0:00 /usr/bin/daemon /etc/init.d/mpt-statusd check_mpt
root      1041  0.0  0.0   1748   564 ?        S    Nov07   0:00 /bin/sh /etc/init.d/mpt-statusd check_mpt
root      1042  0.0  0.0   3784   796 ?        Ss   Nov07   0:00 /usr/sbin/cron
root      1267  0.0  0.0   5496   980 ?        Ss   Nov07   0:00 /usr/sbin/sshd
101       1278  0.0  0.0   6512   960 ?        Ss   Nov07   0:00 /usr/sbin/exim4 -bd -q30m
root      1297  0.0  0.0   1708   544 tty1     Ss+  Nov07   0:00 /sbin/getty 38400 tty1
root      1298  0.0  0.0   1708   552 tty2     Ss+  Nov07   0:00 /sbin/getty 38400 tty2
root      1299  0.0  0.0   1708   548 tty3     Ss+  Nov07   0:00 /sbin/getty 38400 tty3
root      1300  0.0  0.0   1708   544 tty4     Ss+  Nov07   0:00 /sbin/getty 38400 tty4
root      1301  0.0  0.0   1708   552 tty5     Ss+  Nov07   0:00 /sbin/getty 38400 tty5
root      1302  0.0  0.0   1708   548 tty6     Ss+  Nov07   0:00 /sbin/getty 38400 tty6
root      2461  0.0  0.0   8260  2788 ?        Ss   10:23   0:00 sshd: gtoms [priv]
gtoms     2464  0.0  0.0   8260  1484 ?        S    10:23   0:00 sshd: gtoms@pts/0
root      2465  0.0  0.0      0     0 ?        S    10:23   0:00 [flush-8:0]
gtoms     2466  0.0  0.1   7712  5008 pts/0    Ss   10:23   0:00 -bash
root      2502  0.0  0.0   3948  1180 pts/0    S    10:24   0:00 su
root      2503  0.0  0.0   4492  1740 pts/0    S    10:24   0:00 bash
root      3005  0.0  0.0   1684   428 ?        S    10:44   0:00 sleep 600
root      3937  0.0  0.0   1748   544 pts/0    S    10:48   0:00 /bin/sh /usr/local/zenoss/mysql/bin/mysqld_safe—defaults-file=/usr/local/zenoss/mysql/my.cnf—port=3307—socket=/usr/local/zenoss/mysql/tmp/mysql.sock—old-passwords—datadir=/usr/local/zenoss/mysql/data—log-error=/usr/local/zenoss/mysql/data/mysqld.log—pid-file=/usr/local/zenoss/mysql/data/zenoss.pid—lower-case-table-names=1—default-table-type=InnoDB
mysql     3996  0.0  0.5 101440 16020 pts/0    Sl   10:48   0:00 /usr/local/zenoss/mysql/bin/mysqld.bin—defaults-file=/usr/local/zenoss/mysql/my.cnf—basedir=/usr/local/zenoss/mysql—datadir=/usr/local/zenoss/mysql/data—user=mysql—pid-file=/usr/local/zenoss/mysql/data/zenoss.pid—skip-external-locking—port=3307—socket=/usr/local/zenoss/mysql/tmp/mysql.sock—old-passwords—lower-case-table-names=1—default-table-type=InnoDB
zenoss    4050  0.0  0.2  22028  8640 ?        Ssl  10:48   0:00 /usr/local/zenoss/python/bin/.python.bin /usr/local/zenoss/python/lib/python2.6/site-packages/zdaemon-2.0.4-py2.6.egg/zdaemon/zdrun.py S /usr/local/zenoss/python/lib/python2.6/sitepackages/ZODB3-3.9.3-py2.6-linux-i686.egg/ZEO/zeoctl.xml -C /usr/local/zenoss/zenoss/etc/zeo.conf /usr/local/zenoss/zenoss/bin/runzeo
zenoss    4052  1.1  0.5  20324 15868 ?        S    10:48   0:02 /usr/local/zenoss/python/bin/.python.bin /usr/local/zenoss/python/lib/python2.6/site-packages/ZODB3-3.9.3-py2.6-linux-i686.egg/ZEO/runzeo.py -C /usr/local/zenoss/zenoss/etc/zeo.conf
zenoss    4061  0.0  0.1  18548  5180 ?        Ssl  10:48   0:00 /usr/local/zenoss/python/bin/.python.bin /usr/local/zenoss/python/lib/python2.6/site-packages/zdaemon-2.0.4-py2.6.egg/zdaemon/zdrun.py S /usr/local/zenoss/python/lib/python2.6/sitepackages/Zope2-2.12.1-py2.6-linux-i686.egg/Zope2/Startup/zopeschema.xml -b 10 -s /usr/local/zenoss/zenoss/var/zopectlsock -x 0,2 -z /usr/local/zenoss/zenoss /usr/local/zenoss/zenoss/bin/runzope
zenoss    4063  1.5  1.5  75304 48268 ?        Sl   10:48   0:03 /usr/local/zenoss/python/bin/.python.bin /usr/local/zenoss/python/bin/runzope -C /usr/local/zenoss/zenoss/etc/zope.conf
zenoss    4107  0.5  1.6  81480 52296 ?        Sl   10:48   0:01 /usr/local/zenoss/python/bin/.python.bin /usr/local/zenoss/zenoss/Products/ZenHub/zenhub.py—configfile /usr/local/zenoss/zenoss/etc/zenhub.conf—cycle—daemon
zenoss    4142  0.0  1.3  72448 43100 ?        Sl   10:48   0:00 /usr/local/zenoss/python/bin/.python.bin /usr/local/zenoss/zenoss/Products/Jobber/zenjobs.py—configfile /usr/local/zenoss/zenoss/etc/zenjobs.conf—cycle—daemon
zenoss    4203  0.0  1.2  59460 37668 ?        Sl   10:48   0:00 /usr/local/zenoss/python/bin/.python.bin /usr/local/zenoss/zenoss/Products/ZenStatus/zenping.py—configfile /usr/local/zenoss/zenoss/etc/zenping.conf—cycle—daemon—useFileDescriptor=4
zenoss    4245  0.0  1.2  59508 37536 ?        Sl   10:48   0:00 /usr/local/zenoss/python/bin/.python.bin /usr/local/zenoss/zenoss/Products/ZenStatus/zenstatus.py—configfile /usr/local/zenoss/zenoss/etc/zenstatus.conf—cycle—daemon
zenoss    4255  0.0  1.2  59432 37504 ?        Sl   10:48   0:00 /usr/local/zenoss/python/bin/.python.bin /usr/local/zenoss/zenoss/Products/ZenEvents/zensyslog.py—configfile /usr/local/zenoss/zenoss/etc/zensyslog.conf—cycle—daemon—useFileDescriptor=6
zenoss    4281  0.0  1.4  72780 43852 ?        Sl   10:48   0:00 /usr/local/zenoss/python/bin/.python.bin /usr/local/zenoss/zenoss/Products/ZenEvents/zenactions.py—configfile /usr/local/zenoss/zenoss/etc/zenactions.conf—cycle—daemon
zenoss    4358  0.0  1.2  52592 38716 ?        S    10:49   0:00 /usr/local/zenoss/python/bin/.python.bin /usr/local/zenoss/zenoss/Products/ZenEvents/zentrap.py—configfile /usr/local/zenoss/zenoss/etc/zentrap.conf—cycle—daemon—useFileDescriptor=4
zenoss    4361  0.1  1.4  71608 44788 ?        Sl   10:49   0:00 /usr/local/zenoss/python/bin/.python.bin /usr/local/zenoss/zenoss/Products/DataCollector/zenmodeler.py—configfile /usr/local/zenoss/zenoss/etc/zenmodeler.conf—cycle—daemon
zenoss    4389  0.0  1.2  60776 38252 ?        Sl   10:49   0:00 /usr/local/zenoss/python/bin/.python.bin /usr/local/zenoss/zenoss/Products/ZenRRD/zenperfsnmp.py—configfile /usr/local/zenoss/zenoss/etc/zenperfsnmp.conf—cycle—daemon
zenoss    4419  0.0  1.2  59964 38140 ?        Sl   10:49   0:00 /usr/local/zenoss/python/bin/.python.bin /usr/local/zenoss/zenoss/Products/ZenRRD/zencommand.py—configfile /usr/local/zenoss/zenoss/etc/zencommand.conf—cycle—daemon
zenoss    4445  0.0  1.2  51796 37952 ?        S    10:49   0:00 /usr/local/zenoss/python/bin/.python.bin /usr/local/zenoss/zenoss/Products/ZenRRD/zenprocess.py—configfile /usr/local/zenoss/zenoss/etc/zenprocess.conf—cycle—daemon
zenoss    4483  0.0  1.2  65436 38528 ?        Sl   10:49   0:00 /usr/local/zenoss/python/bin/.python.bin /usr/local/zenoss/zenoss/Products/ZenWin/zenwin.py—configfile /usr/local/zenoss/zenoss/etc/zenwin.conf—cycle—daemon
zenoss    4521  0.0  1.2  65440 38500 ?        Sl   10:49   0:00 /usr/local/zenoss/python/bin/.python.bin /usr/local/zenoss/zenoss/Products/ZenWin/zeneventlog.py—configfile /usr/local/zenoss/zenoss/etc/zeneventlog.conf—cycle—daemon
root      4523  0.0  0.0   3872  1044 pts/0    R+   10:51   0:00 ps axuwww
root@zenoss:/home/gtoms#

root@zenoss:/home/gtoms# netstat -nltup
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 0.0.0.0:3307            0.0.0.0:*               LISTEN      3996/mysqld.bin
tcp        0      0 0.0.0.0:8080            0.0.0.0:*               LISTEN      4063/.python.bin
tcp        0      0 0.0.0.0:8081            0.0.0.0:*               LISTEN      4107/.python.bin
tcp        0      0 0.0.0.0:8789            0.0.0.0:*               LISTEN      4107/.python.bin
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      1267/sshd
tcp        0      0 127.0.0.1:8100          0.0.0.0:*               LISTEN      4052/.python.bin
tcp6       0      0 :::22                   :::*                    LISTEN      1267/sshd
udp        0      0 0.0.0.0:514             0.0.0.0:*                           4255/.python.bin
udp        0      0 0.0.0.0:162             0.0.0.0:*                           4358/.python.bin
root@zenoss:/home/gtoms#

Accessing the free Google Maps API requires the specification of an API key linked to a base URL. You can obtain a free API key from Google at http://www.google.com/apis/maps/signup.html.

Tuning Zenoss :

zenoss@zenoss:/tmp$ nano /usr/local/zenoss/zenoss/etc/my.cnf

  1. You can set .._buffer_pool_size up to 50 – 80 %
  2. of RAM but beware of setting memory usage too high
    innodb_buffer_pool_size = 512M
    innodb_additional_mem_pool_size = 32M

Akses web interface Zenoss :

http://alamatipatauhostname:8080

 

henry@gultom.or.id

 

Write a comment