Sie sind auf Seite 1von 9

14/8/2014

16 Zenoss Core Daemons Complete List of all ZenOSS Process

Monitoring Servers
pagerduty.com/Monitoring
Flexible Alerts & On-Call Schedules Fast & Reliable. Free 30 Day Trial.

Home
Free eBook
Contact
About
Start Here

16 Zenoss Core Daemons Complete List of all


ZenOSS Process
by Sandeep Krishnan on February 3, 2014
10

Me gusta

Tw eet

Zenoss Core has lot of daemons that can be used for various purpose.
While you might not use all of the daemons in your Zenoss environment, it is still essential for you to understand all
available zenoss daemons, which you can use to solve a specific enterprise monitoring requirement.
In Zenoss v4 all daemons interact with Mysql and zenhub. By default all the zenoss daemons run in info mode.

1. zeneventserver
In Zenoss 3.1.1 the event processing was managed by zenhub daemon because of that there was bottleneck in event
processing which has caused some performance related issues, so to avoid that in Zenoss 4.x they have introduced new
daemon zeneventserver.
zeneventserver daemon which is written in java, interact with Rabbitmq and fetch the events from zenevents
queue[zenoss.queues.zep.zenevents]and insert into the events tables that are in zenoss_zep database where the events
are getting stored.
Another responsibility of this daemon is to fetch the event related information like [resource, summary, last seen, first
seen, severity etc.], in Java Script Object Notation [JSON] format so that it get displayed in zenoss UI also moves the
event to zenoss zenoss.queues.zep.signal queue. Zenpack installation is taken care by this daemon. [Event Class
creation while installing zenpack]
cat /opt/zenoss/etc/zeneventserver.conf [config file of zeneventserver]
zep.jdbc.dbname=zenoss_zep
zep.jdbc.hostname=localhost
zep.jdbc.port=13306
zep.jdbc.password=xxxxxx
zep.jdbc.username=xxxxxx
http://www.thegeekstuff.com/2014/02/zenoss-core-daemons/

1/9

14/8/2014

16 Zenoss Core Daemons Complete List of all ZenOSS Process

Note: if we stop zeneventserver daemon and check rabbitmq queues by the command [rabbitmqctl -p /zenoss
list_queues], we could see value of queue zenoss.queues.zep.zenevents gets increasing.

# zeneventserver stop [Need to run as zenoss user]


# rabbitmqctl -p /zenoss list_queues
Listing queues ...
celery 0
zenoss.queues.zep.migrated.summary
zenoss.queues.zep.migrated.archive
zenoss.queues.zep.rawevents
0
zenoss.queues.zep.heartbeats
0
zenoss.queues.zep.zenevents
12
zenoss.queues.zep.modelchange 0
zenoss.queues.zep.signal
0
...done.

0
0

Once we start zeneventserver we can see the queue count get back to 0 [Zero]
If you are new to zenoss, install zenoss core and start exploring these daemons.

2. zenhub
zenhub daemon is written in python. Event processing gets triggered when zenhub daemon gets data from other
daemons. In paid version zenoss has included invalidation worker process for better performance. In distributed zenoss
architecture we normally deploy a Linux VM and which will be running zenhub daemon only. Its the central point of
failure of events getting displayed in zenoss.

3. zenping
zenping daemon does normal ping on interface and the polling interval is one-minute. If the interface is down zenoss
generate an alert with critical severity. If the interface comes up zenoss automatically clears the error event with a clear
message. zenping has ability to get data point for ping monitoring and can be used to generate availability graphs for the
monitored device [Feature in Zenoss4]. The following runs this daemon in debug mode against a device, and used
mainly for debugging.
zenping d x.x.x.x v10

4. zeneventd
zeneventd daemon has a major role in applying transforms [Python code written to manipulate events]. Daemon fetches
incoming events from zenoss.queues.zep.rawevents queue and applies transform add necessary device context such as
Device group/Device State [Production/Development] and some event related information such as [last seen, first seen]
http://www.thegeekstuff.com/2014/02/zenoss-core-daemons/

2/9

14/8/2014

16 Zenoss Core Daemons Complete List of all ZenOSS Process

time of event. If the daemon stops running, we could see size of rawevents queue getting increased. We can debug
execution of transform code by putting log.info(For Debug) statement inside the code which will be printed in
/opt/zenoss/log/zeneventd.log
# zeneventd stop
# rabbitmqctl -p /zenoss list_queues
Listing queues ...
celery 0
zenoss.queues.zep.migrated.summary
zenoss.queues.zep.migrated.archive
zenoss.queues.zep.rawevents
10
zenoss.queues.zep.heartbeats
0
zenoss.queues.zep.zenevents
0
zenoss.queues.zep.modelchange 0
zenoss.queues.zep.signal
0
...done.

0
0

# zeneventd run d x.x.x.x v10

5. zensyslog
zensyslog daemon process syslog messages [/var/log/messages] that are received from monitored device on to zenoss
on port UDP/514.

6. zenprocess
zenprocess daemon, process monitoring capability is integrated to zenoss by using HOST-RESOURCES MIB which
get loaded into zenoss as part of default installation. zenprocess uses snmp table and get process information like PID,
path to the binary that is being executed and number of running instances.
Etc. zenprocess daemon deafult polling interval is 3 min [180 seconds]. Not possible to customize the polling interval
per device level. The following runs this daemon in debug mode against a single device.
zenprocess run d x.x.x.x v10

7. zenstatus
zenstatus daemon monitors TCP/UDP services that are available on the device such as [http/https/net-bios/].

8. zentrap
zentrap daemon process the incoming traps that are send from hardware on port UDP/162. The daemon decodes the
incoming trap to a format that is understandable by zenoss [Python dictionary format] and handover to zeneventd for
further processing and to generate events.

9. zenactiond
zenactiond daemon the daemon interact with signal queue in Rabbitmq and trigger notification via Email/Paging/etc.
Signal queue get piled up if this daemon stops running.
# rabbitmqctl -p /zenoss list_queues
Listing queues ...
celery 0
zenoss.queues.zep.migrated.summary
zenoss.queues.zep.migrated.archive
zenoss.queues.zep.rawevents
0
zenoss.queues.zep.heartbeats
0
zenoss.queues.zep.zenevents
0
zenoss.queues.zep.modelchange 0
http://www.thegeekstuff.com/2014/02/zenoss-core-daemons/

0
0

3/9

14/8/2014

16 Zenoss Core Daemons Complete List of all ZenOSS Process

zenoss.queues.zep.signal
...done.

# zenactiond start

10. zenperfsnmp
zenperfsnmp daemon collects performance metrics such as CPU, Memory, File system Usage via snmpwalk and store
the information in RRD [Round Robin Database] files, the data collection interval is 300 sec by default. The poll time
interval is not customizable per device level, if we change it, it get reflected globally. The following runs this daemon in
debug mode against a single device.
zenperfsnmp run d x.x.x.x v10

11. zencommand
zencommand daemon is capable of running custom scripts against the device over ssh, to achieve this ssh
username/password need to be configured in zenoss for each monitored device, which is hard if we are monitoring a
huge DC. So performance monitoring is done by configuring net-snmp on client device.
zencommand run d x.x.x.x v10

12. zenmodeler
zenmodeler daemon gets initial device information such as interfaces/filesystem/ipservices etc. The daemon polling
interval is 12hrs by default. It mainly detects configuration changes that happen on device eg: Additional interface gets
added, new partition etc.
zenmodeller run d x.x.x.x v10

13. zenrrdcached
zenrrdcached daemon is a performance enhancer, helps to cache RRD metrics in the memory, which is used to generate
graphs in zenoss. If the daemon fails to fetch the metrics from the memory it will get the metrics from rrd files that is
stored in the file system.

14. zopectl
zopectl daemon is call zopeclient, used while developing zenpack. To reflect the code change that we make during
zenpack development this daemon need to be restarted.
zopectl restart

15. zenjobs
zenjobs daemon run background tasks like discovering network or adding device these tasks gets added to queue and
zenjobs process them. Once a device gets added successfully [Discovered] modeling happens with the help of
zenmodeler daemon and returns a job ID. If we want to add devices in a bulk we use zenbatchload command utility.

16. zenrdis
zenrdis daemon is used to collect distributed ping-tree data from collector to build a complete map.
In zenoss each daemon has a config file that is located in /opt/zenoss/etc/ directory. By default all daemons are in info
mode. There are two ways to enable debug mode for daemons.
http://www.thegeekstuff.com/2014/02/zenoss-core-daemons/

4/9

14/8/2014

16 Zenoss Core Daemons Complete List of all ZenOSS Process

1. Edit config file for daemon change logseverity 10


2. daemon name debug Eg: zeneventd debug [toggle daemon between Info and Debug mode]
By listing Rabbitmq queue one can easily determine whether zenoss is working without any problem or not. If we find
any events that get struck in any of the queue, restart the corresponding daemon that is responsible for fetching events.
10

Tw eet

Me gusta

5>

Add your comment

Linux provides several powerful administrative tools and utilities which will help you to
manage your systems effectively. If you dont know what these tools are and how to use them, you could be spending
lot of time trying to perform even the basic administrative tasks. The focus of this course is to help you understand
system administration tools, which will help you to become an effective Linux system administrator.
Get the Linux Sysadmin Course Now!

If you enjoyed this article, you might also like..


1. 50 Linux Sysadmin Tutorials
2. 50 Most Frequently Used Linux Commands (With
Examples)
3. Top 25 Best Linux Performance Monitoring and
Debugging Tools
4. Mommy, I found it! 15 Practical Linux Find
Command Examples
5. Linux 101 Hacks 2nd Edition eBook

Awk Introduction 7 Awk Print Examples


Advanced Sed Substitution Examples
8 Essential Vim Editor Navigation Fundamentals
25 Most Frequently Used Linux IPTables Rules
Examples
Turbocharge PuTTY with 12 Powerful AddOns

{ 1 comment read it below or add one }


1 Bob February 4, 2014 at 7:46 am
Thanks for the info.
Might be helpful to give a 1 sentence/paragraph description about zenoss since most people may not be familiar
http://www.thegeekstuff.com/2014/02/zenoss-core-daemons/

5/9

14/8/2014

16 Zenoss Core Daemons Complete List of all ZenOSS Process

with the concept.


Leave a Comment
Name
E-mail
Website

Notify me of followup comments via e-mail


Submit

Previous post: How to Use Node.js with MySQL using Example for Connection Pool
Next post: Hands-on Linux Sysadmin Training Workshop in Los Angeles
RSS | Email | Twitter | Facebook | Google+
Search

COURSE
Linux Sysadmin CentOS 6 Course - Master the Tools, Configure it Right, and be Lazy

EBOOKS
Linux 101 Hacks 2nd Edition eBook - Practical Examples to Build a Strong Foundation in Linux
Bash 101 Hacks eBook - Take Control of Your Bash Command Line and Shell Scripting
Sed and Awk 101 Hacks eBook - Enhance Your UNIX / Linux Life with Sed and Awk
Vim 101 Hacks eBook - Practical Examples for Becoming Fast and Productive in Vim Editor
http://www.thegeekstuff.com/2014/02/zenoss-core-daemons/

6/9

14/8/2014

16 Zenoss Core Daemons Complete List of all ZenOSS Process

Nagios Core 3 eBook - Monitor Everything, Be Proactive, and Sleep Well


The Geek Stuff
Me gusta

A 7220 personas les gusta The Geek Stuff.

Plug-in social de Facebook

POPULAR POSTS
12 Amazing and Essential Linux Books To Enrich Your Brain and Library
50 UNIX / Linux Sysadmin Tutorials
50 Most Frequently Used UNIX / Linux Commands (With Examples)
How To Be Productive and Get Things Done Using GTD
30 Things To Do When you are Bored and have a Computer
Linux Directory Structure (File System Structure) Explained with Examples
Linux Crontab: 15 Awesome Cron Job Examples
Get a Grip on the Grep! 15 Practical Grep Command Examples
Unix LS Command: 15 Practical Examples
15 Examples To Master Linux Command Line History
Top 10 Open Source Bug Tracking System
Vi and Vim Macro Tutorial: How To Record and Play
Mommy, I found it! -- 15 Practical Linux Find Command Examples
15 Awesome Gmail Tips and Tricks
15 Awesome Google Search Tips and Tricks
RAID 0, RAID 1, RAID 5, RAID 10 Explained with Diagrams
Can You Top This? 15 Practical Linux Top Command Examples
Top 5 Best System Monitoring Tools
Top 5 Best Linux OS Distributions
How To Monitor Remote Linux Host using Nagios 3.0
Awk Introduction Tutorial 7 Awk Print Examples
How to Backup Linux? 15 rsync Command Examples
The Ultimate Wget Download Guide With 15 Awesome Examples
Top 5 Best Linux Text Editors
Packet Analyzer: 15 TCPDUMP Command Examples
The Ultimate Bash Array Tutorial with 15 Examples
3 Steps to Perform SSH Login Without Password Using ssh-keygen & ssh-copy-id
Unix Sed Tutorial: Advanced Sed Substitution Examples
UNIX / Linux: 10 Netstat Command Examples
The Ultimate Guide for Creating Strong Passwords
6 Steps to Secure Your Home Wireless Network
Turbocharge PuTTY with 12 Powerful Add-Ons

CATEGORIES
Linux Tutorials
http://www.thegeekstuff.com/2014/02/zenoss-core-daemons/

7/9

14/8/2014

16 Zenoss Core Daemons Complete List of all ZenOSS Process

Vim Editor
Sed Scripting
Awk Scripting
Bash Shell Scripting
Nagios Monitoring
OpenSSH
IPTables Firewall
Apache Web Server
MySQL Database
Perl Programming
Google Tutorials
Ubuntu Tutorials
PostgreSQL DB
Hello World Examples
C Programming
C++ Programming
DELL Server Tutorials
Oracle Database
VMware Tutorials

Ramesh Natarajan
Seguir

About The Geek Stuff

My name is Ramesh Natarajan. I will be posting instruction guides, how-to, troubleshooting


tips and tricks on Linux, database, hardware, security and web. My focus is to write articles that will either teach
you or help you resolve a problem. Read more about Ramesh Natarajan and the blog.

Support Us
Support this blog by purchasing one of my ebooks.
Bash 101 Hacks eBook
Sed and Awk 101 Hacks eBook
Vim 101 Hacks eBook
Nagios Core 3 eBook

Contact Us

http://www.thegeekstuff.com/2014/02/zenoss-core-daemons/

8/9

14/8/2014

16 Zenoss Core Daemons Complete List of all ZenOSS Process

Email Me : Use this Contact Form to get in touch me with your comments, questions or suggestions about this
site. You can also simply drop me a line to say hello!.
Follow us on Google+
Follow us on Twitter
Become a fan on Facebook
Copyright 20082014 Ramesh Natarajan. All rights reserved | Terms of Service

http://www.thegeekstuff.com/2014/02/zenoss-core-daemons/

9/9