Zenoss data gathering
Today I figured out how to check the various stats that are gathered by Zenoss. Took me a little while to figure out just what it does out of the box, how to turn on the rest, and where to look to see the pretty graphs.First off, I kept getting errors in different logs saying "Column count doesn't match value count at row 1". This even came up when I tried to delete some auto-discovered workstations that I didn't want monitored. Turns out that some MySQL triggers needed to be reset, despite some posts that the 1.1 release was not affected (i blew away my install and started fresh with 1.1). So I just ran the included zenmigrate script, and it took care of everything. And thus all the errors went away!Out of the box, if a device is discovered via SNMP, Zenoss will setup statistic gathering for ethernet and (if available) host resources such as disk, cpu, etc. Strangly it didn't pick up the serial interfaces on the Cisco devices, even though it uses all the same OIDs. The reason is that the preconfigured checks look for an interface name of ethernetCsmacd. The fix is easy: Just copy the performance template and name for the interface needed, in this case propPointToPointSerial. Zenoss then starts gathering the necessary stats.As for where to view the information, there is not (by default) a single page containing all the graphs, such as you can get with Cacti. For interface graphs, you have to navigate to the device you want, then click the OS tab, then click the name under the Interfaces section. All other stats (memory, load, etc) are access through the Perf tab.Next up will be gathering stats on a custom command ... Zenoss can leverage (and even includes many of) the Nagios plugins, so I want to setup a check of the ping latencies around our network, using check_fping.

Comments
Post new comment