Map Your Own IT Ecosystem
See how Zenoss fits into your IT ecosystem.
Start MAPPING NOW
Huntington Success Story
Learn how Huntington consolidated from 37 tools to a single monitoring solution.
Customer Support Portal
Zenoss Learning Center
Zenoss & Cisco: Changing IT with service assurance for hybrid data centers.
Zenoss Partner Portal
Become a Partner
BBC Success Story
The BBC chose Zenoss for three key reasons: scalability, flexibility and value for money.
Learn. Discuss. Participate.
Join thousands of Zenoss users and experts to learn, discuss and participate in the Zenoss Community.
Hybrid IT Monitoring
Zenoss provides complete visibility into physical, virtual, cloud and converged environments.
Request A Demo
This ZenPack monitors the Linux Operating System.
This ZenPack provided monitoring support for Linux, leveraging OpenSSH for data access. In addition to system health, disks, LVM, services, and processes are monitored.
This version of LinuxMonitor fully replaces EnterpriseLinux. To avoid related errors in zenhub logs, EnterpriseLinux ZP should be removed after the new LinuxMonitor has been applied.
The following entities will be automatically discovered. The attributes and collections will be updated on Zenoss normal remodeling interval which defaults to every 12 hours.
On some Linux flavors some fields (Loaded Status, Processes, Description) could be empty.
All Linux servers must have a device entry in an organizer below the /Devices/Server/SSH/Linux device class.
The SSH monitoring feature will attempt to use key-based authentication before using a configuration properties password value.
This ZenPack requires the ability to run the pvs, vgs, lvs, systemctl, initctl and service commands, remotely on your linux server(s) using SSH. By default, these commands are only allowed to be run locally. To remotely run these commands, the root user must not be required to use TTY.
Install the sudo package on your server.
Allow root user to execute commands via ssh without a TTY.
Edit the /etc/sudoers file.
Find the line containing root ALL=(ALL) ALL.
Add this line underneath it:
Save the changes and exit.
This ZenPack requires the ability to run the pvs, vgs, lvs, systemctl, initctl and service commands, remotely on your linux server(s) using SSH. By default, most of these commands are only allowed to be run by the root user. The output of systemctl, initctl and service commands depends on whether they are executed via sudo. Furthermore, this ZenPack expects these commands be in the user's path. Normally this is only true for the root user.
Assuming that you've created a user named zenmonitor on your linux servers for monitoring purposes, you can follow these steps to allow the zenmonitor user to run the commands.
Install the sudo package on your server
Allow the zenmonitor user to run the commands via ssh without a TTY
Edit /etc/sudoers.d/zenoss (Or /etc/sudoers if sudoers.d not supported) and add the following lines to the bottom of the file:
Cmnd_Alias ZENOSS_LVM_CMDS = /sbin/pvs, /sbin/vgs, /sbin/lvs, \
/usr/sbin/pvs, /usr/sbin/vgs, /usr/sbin/lvs
Cmnd_Alias ZENOSS_SVC_CMDS = /bin/systemctl list-units *, \
/bin/systemctl status *, /sbin/initctl list, /sbin/service --status-all, \
zenmonitor ALL=(ALL) NOPASSWD: ZENOSS_LVM_CMDS, ZENOSS_SVC_CMDS
Save, ensuring all paths for these commands are correct
Table: Linux Configuration Properties
zSshConcurrentSessions property by default equals to 5. In case of increasing this value user has change sshd daemon configuration on target device by increasing allowed session number and restart sshd daemon.
The following procedure assumes that credentials have been set.
Select Infrastructure from the navigation bar.
Select Add a Single Device from the Add Device list of options. The Add a Single Device dialog appears.
Enter the following information in the dialog:
Table: Adding Linux Device Details
Alternatively you can use zenbatchload to add Linux servers from the command line. To do this, you must create a text file with hostname, username and password of all the servers you want to add. Multiple endpoints can be added under the same /Devices/Server/Linux section. Here is an example...
LinuxDevice zCommandUsername="user", zCommandPassword="password"
You can then load the Linux servers into Zenoss Core or Resource Manager as devices with the following command.
Installing this ZenPack will add the following items to your Zenoss system.
Device (in /Devices/Server/SSH/Linux)
HardDisk (in /Devices/Server/SSH/Linux)
There were significant changes between 2.4 and 2.6 in the I/O subsystem. As a result, some statistic information disappeared. The translation from a disk address relative to a partition to the disk address relative to the host disk happens much earlier. All merges and timings now happen at the disk level rather than at both the disk and partition level as in 2.4. There are only *four* fields available for partitions on 2.6 machines and in this case few datapoints will be missed.
IpService (in /Devices)
FileSystem (in /Devices/Server/SSH/Linux)
ethernetCsmacd (in /Devices/Server/SSH/Linux)
SnaphotVolume (in /Devices/Server/SSH/Linux)
PhysicalVolume (in /Devices/Server/SSH/Linux)
VolumeGroup (in /Devices/Server/SSH/Linux)
LogicalVolume (in /Devices/Server/SSH/Linux)
OSProcess (in /Devices/Server/SSH/Linux)
When combined with the Zenoss Service Dynamics product, this ZenPack adds built-in service impact capability for services running on Linux. The following service impact relationships are automatically added. These will be included in any services that contain one or more of the explicitly mentioned entities.
Service Impact Relationships
The following Linux distributions are officially supported. Other distributions may also be supported, especially derivatives of Debian and Red Hat Enterprise Linux.
View the discussion thread.
This ZenPack is developed and supported by Zenoss Inc. Contact Zenoss to request more information regarding this or any other ZenPacks. Click here to view all available Zenoss Open Source ZenPacks.