If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to REGISTER before you can post. To start viewing messages, select the forum that you want to visit from the selection below.
XML attached. It's a little bit disappointing, many of the values that you'd like to evaluate & create triggers from are returned as a string rather than values.
XML Contains:
CPU, Fan, Network IO, Temperature
Discovery for Disks:
-HD Model, SMART Status, Disk Status, Temp
Discovery for Volumes:
-Filesystem, FreeSize, Status, Total Size
This template only contains items enumerated in the QNAP MIB. There's additional info you can pull from standard snmp if you so desire.
Free memory in bytes is broken--it returns a very low value. You can switch to .1.3.6.1.4.1.24681.1.2.3.0 as a char value, but it returns a text value of XXXMB.
Free memory in bytes is broken--it returns a very low value. You can switch to .1.3.6.1.4.1.24681.1.2.3.0 as a char value, but it returns a text value of XXXMB.
I remember reading some posts on the Qnap forums where other people complained about this as well. That's unfortunate. Thanks for the template!
You'll need to use negative numbers. For whatever reason the SNMP returns 0 & negative values. Because zabbix uses unsigned integers, if you don't have the value mapping done this way, it will record very large numbers instead. (64 bit unsigned max value - X)
For the "Cannot find value map "QNAP Drive Status" used for item prototype "{#SNMPVALUE} Status" of discovery rule "Discovered Disks" on "QNAP"." Error, just add following to your Database:
INSERT INTO `valuemaps` (`valuemapid`,`name`) values ('12','QNAP Drive Status');
INSERT INTO `mappings` (`mappingid`,`valuemapid`,`value`,`newvalue`) values ('72','12','-4','Unknown');
INSERT INTO `mappings` (`mappingid`,`valuemapid`,`value`,`newvalue`) values ('73','12','-5','No Disk');
INSERT INTO `mappings` (`mappingid`,`valuemapid`,`value`,`newvalue`) values ('74','12','-6','Invalid');
INSERT INTO `mappings` (`mappingid`,`valuemapid`,`value`,`newvalue`) values ('75','12','-0','Read/Write Error');
INSERT INTO `mappings` (`mappingid`,`valuemapid`,`value`,`newvalue`) values ('76','12','0','Ready');
Comment