I installed Zenoss 3 on an Ubuntu server and I configured the package net-snmp on another Ubuntu machine.
I configured, as specified in the manual, the file snmpd.conf as follows:
|com2sec notConfigUser default||public|
|group notConfigGroup v1||notConfigUser|
|group notConfigGroup v2c||notConfigUser|
|access notConfigGroup ""||any||noauth|
exact systemview none none
With this configuration I have the default events alarm on the Zenoss console (IP Services, Network Routes, Processes, Interfaces, File Systems).
I looked at the official Zenoss manual, but the snmp part is not very detailed.
I need, for my multi-platform infrastructure (HP-UX, Solaris, SUSE, RHEL), to have particular controls, like disk health, zfs status, Veritas status.
The question is how can I fill the snmpd.conf file in order to implement the controls above?
You can extend net-snmp, read up on that feature. It basically allows you to run any shell script of your choice and return the data on the OID branch of your choice. This way you can add any feature you need. If you are using software RAIDs, you can add a mdadm script that returns the health status of your RAID on an OID branch of your choosing. You want to know if a file was modified, you can write the script that will be triggered on the OID query and get that data as well.
This allows you to customize the result of your SNMP queries to specifically get the data you need, this works on linux and OS X.
thanks for the quick reply ....... so if I were to configure net-snmp on solaris 10 I do not work? only works on Linux as I've said and not on Unix platforms?
Extending with scripts is a feature of Net-SNMP, not a flavor of linux, if you server uses Net-SNMP you should be able to extend it. I am not familiar with Solaris 10 and what it uses as an SNMP service. You could also run this as a remote command script if you needed to instead of using the SNMP protocol as your vehicle.
article on installing Net-SNMP on solaris, I'll state again I have never tried this or touched solaris before.
Follow Us On Twitter »
||Latest from the Zenoss Blog »||Community||Products||Services||Customers||About Us|
Copyright © 2005-2011 Zenoss, Inc.