Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Zenoss Core 3.x Network and System Monitoring

You're reading from   Zenoss Core 3.x Network and System Monitoring A step-by-step guide to configuring, using, and adapting this free Open Source network monitoring system

Arrow left icon
Product type Paperback
Published in Apr 2011
Publisher Packt
ISBN-13 9781849511582
Length 312 pages
Edition 1st Edition
Concepts
Arrow right icon
Author (1):
Arrow left icon
Michael Badger Michael Badger
Author Profile Icon Michael Badger
Michael Badger
Arrow right icon
View More author details
Toc

Table of Contents (21) Chapters Close

Zenoss Core 3.x Network and System Monitoring
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
1. Network and System Monitoring with Zenoss Core 2. Discovering Devices FREE CHAPTER 3. Device Setup and Administration 4. Monitor Status and Performance 5. Custom Monitoring Templates 6. Core Event Management 7. Collecting Events 8. Settings and Administration 9. Extending Zenoss Core with ZenPacks 10. Reviewing Built-in Reports 11. Writing Custom Device Reports Event Attributes
Device Attributes
Example snmpd.conf
Index

Creating custom User Commands


User Commands are a convenient way to troubleshoot a device from the user interface and Zenoss Core includes a few such commands by default, such as ping, snmpwalk, and traceroute. By combining shell commands and TALES expressions, we can run commands against our devices from within the Zenoss Core web portal.

The following screenshot shows the defined commands, which you can see by navigating to Advanced | Settings | Commands:

Note

Although the terminology is similar, User Commands are different than Event Commands. We can run user commands against a device. An event command is a shell script that gets executed as a result of an event.

Let's examine the ping command. The actual command Zenoss Core executes against the device is ping -c2 ${device/manageIp}. The first half of the command construction (ping -c2) is a ping command that sends no more than two ping requests. The second half of the command (${device/manageIp} is a TALES expression that substitutes the...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image