Installing Zenoss on Debian Etch

Getting and installing

Installed, tested and working version;

Zenoss Core 2.2.3 – 32-bit
Debian native package – LIBRARY version

http://downloads.sourceforge.net/zenoss/zenoss-stack_2.2.3_i386.deb

Hardware recommendation:
Pentium 4;
1GB of memory.
(Currently running a virtual machine 1 GB RAM, installed on VMWare Server for Linux, with good performance)

Consider that your Etch has been updated. If you need any help, I teach you;
http://www.howtoforge.com/perfect_setup_debian_etch

The installation has been tested with the basic system installed and updated with the following sources:
main deb stable http://ftp.br.debian.org/debian/
must
main deb firm http://ftp.debian.org/debian/
deb-src http://ftp.debian.org/debian/ etch main

deb http://security.debian.org/ etch / updates main contrib
deb-src http://security.debian.org/ etch / updates main contrib

deb ftp://ftp.br.debian.org/debian/ etch main contrib non-free
deb http://linorg.usp.br/debian/ etc

Note: Don’t forget to set the network settings and set the fixed IP for the hostname correctly. Enter the FQDN for the server and make a pointer to your DNS.

Install files:

# Apt-get install binutils cpp flex gcc libarchive-zip-perl libc6-dev libcompress-z lib-perl libdb4.3-dev libpcre3-dev libpopt linux-kernel-cap lynx m4 make nmap openssl perl perl modules unzip rar zlib1g-dev libtool autoconf automake1.9 autotools-dev g + +

Debian Download package for country:

# Wget http://downloads.sourceforge.net/zenoss/zenoss-stack_2.2.3_i386.deb

Install package:

# Dpkg-i zenoss-stack_2.2.3_i386.deb

Zenoss is now installed in /usr/local/zenoss!

Start your service now:

# / etc / init.d / zenoss-stack start

Note: the installation automatically creates the user “zenoss” on your home page. Any zenoss-specific command must be run with this user. But we need to carry out Monin’s orders.

Access it at:

http://seu_server:8080/zport/dmd

The page should look like this:

Username and Password:
admin
zenos
SNMP deployment – Tomorrow’s Linux and Windows servers
Before adding any server, SNMP settings must be configured on the servers that are being monitored.

Note: Enable your firewall to release port 161 to the internal network.

Install the same NET_SNMP on the zenoss server and return the monitor.

# Apta install snmp snmpd

Set SNMP permissions.

Note: the option number can change, but always the written option;

# Snmpconf
Enter 1: snmpd.conf
Enter: 2: / etc / snmp / snmpd.conf
Please: 3: Access Control Setup
Load: 3: a SNMPv1/SNMPv2c read only access state name
Set the name of the community, it can use the default public.

Community Name Add read-only access for: public

Hostname or network address to receive this community name from [Ritual for all]: Give MODE
OID that this community is restricted to [RETURN for no restriction]: Enter ENTER

Enter f and enter
Enter f and enter new
Enter q to exit and enter

To configure the following tables, the lines should be changed as follows:

# vi / etc / snmp / snmpd.conf
# sec.name source state
paranoid # com2sec default public
com2sec readonly default public
# com2sec readwrite default private

syslocation
syscontact

Save and exit.

# vi / etc / default / snmpd .

Delete the local IP (127.0.0.1) end of the line as follows:
SNMPDOPTS = ‘-LSD-Lf / dev / null-u snmp-I-smux-p / var / run / snmpd.pid’

Restart the SNMP service.

Your Linux server is ready to monitor.

To check if SNMP is configured, run;

# Snmpwalk-c public-v1 IP_DESTINATION

You need a Windows CD.

Install the SNMP service. To do this, to Start -> Run -> appwiz.cpl and run

Go to Windows Add/Remove features, in the management and monitoring options enter tools and SNMP (Simple Network Management Protocol).

After installation, go to Start -> Run -> services.msc and run Look for the SNMP service and set it up like this:

On the Security tab, check:
– Send an authentication capture;
Add the public community as READ ONLY;
You can arrange to receive the packet from any host (remember qa 161 port is open only to the internal network);
Start SNMP service and SNMP trap.
SNMP Directory for Windows: we need to install now:
http://www.snmp-informant.com/

No other configuration should be done there.

Your Windows server is now under investigation!

NOTE: For Windows monitor many other services are possible, setting zenwin, which is explained by the guys at Zenoss, but does not address your installation here.
Zenoss and adds comments on Zenoss
Tuning of Zenoss
Before we add servers, we update Zenoss with some plugins. We drop the ZENPACKS in

http://www.zenoss.com/community/projects/zenpacks/

In my case these were the only interesting things;
ImprovedLinux
Squid
ZenPacks.zenoss.ApacheMonitor
ZenPacks.zenoss.LDAPMonitor
Later we can also install plugins from nagios or cacti. Not in this article, because it has not been tested.

To install zenpacks, go to Settings, click on the hidden tab next to the title “Zen Packs Loaded” and “Install Pack Zen”. Read the file and wait.
Adding thoughts on Zenoss
We include machinery (servers, routers, etc.).

In the left menu, go to the devices, click on the hidden menu, enter IN MANAGER CARE and ADD.

Enter your ip.

Set your class (it’s important that Zenoss manages to monitor different classes. If you set the wrong category, fewer services will be alerted and you will receive different error messages).

SNMP

Public community (or put nonien servers in snmp).

Port 161 f.

Give OK to Zenoss to scan your project to find the features that will be captured. If it appears in the middle of the CPV “snmp settings are correct”, correct the configuration of the snmp server.

The device will be loaded and displayed. The blue event (information) is the start of the Event CONSOLE.

Note: If things appear in the heartbeat messages, configure the host, and the DNS server FQDN will be Zenoss and monitors. These commands can be cleared:

EXIT PROCESSOR
MENU —> All heartbeats.

Configuring the service for sending e-messages and alerts
We don’t use anything except to monitor the structure in real time, if we look at the console event up to date.

Of course we need to say.

To have ESMTP (this is with you, everyone has their own) is done;

SETTINGS

set up an army

Set username and password (if you need an internal one).

To save

I came in USERS:

Configure ADMIN (change the default password of course).

Enter your e-mail.

In the “Map Network Object Start” I recommend that you put your firewall, because when you enter the network map, almost the entire load on your network topology.

To save
Give! Good fun!

Leave a Reply

Your email address will not be published. Required fields are marked *