<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Joseph,<br>
<br>
QNAP exposes a fair bit of stuff with SNMP. I have a bunch of perl
scripts that build a xymon client report from various stuff
retrieved by SNMP. There is also extra QNAP specific hardware
stuff which is well worth setup monitoring for but I haven't done
yet (see sample data below) - I will probably do a devmon
template. SNMP traps are also handy but are even more convoluted
to monitor. If you've never played with SNMP it's fiddly to get
right.<br>
<br>
David.<br>
<br>
<tt>NAS-MIB::IfIndex.1 = INTEGER: 1</tt><tt><br>
</tt><tt>NAS-MIB::IfIndex.2 = INTEGER: 2</tt><tt><br>
</tt><tt>NAS-MIB::IfDescr.1 = STRING: "eth0"</tt><tt><br>
</tt><tt>NAS-MIB::IfDescr.2 = STRING: "eth1"</tt><tt><br>
</tt><tt>NAS-MIB::IfPacketsReceived.1 = Counter32: 1278907</tt><tt><br>
</tt><tt>NAS-MIB::IfPacketsReceived.2 = Counter32: 1199329</tt><tt><br>
</tt><tt>NAS-MIB::IfPacketsSent.1 = Counter32: 852477</tt><tt><br>
</tt><tt>NAS-MIB::IfPacketsSent.2 = Counter32: 852471</tt><tt><br>
</tt><tt>NAS-MIB::IfErrorPackets.1 = Counter32: 0</tt><tt><br>
</tt><tt>NAS-MIB::IfErrorPackets.2 = Counter32: 0</tt><tt><br>
</tt><tt>NAS-MIB::HdIndex.1 = INTEGER: 1</tt><tt><br>
</tt><tt>NAS-MIB::HdIndex.2 = INTEGER: 2</tt><tt><br>
</tt><tt>NAS-MIB::HdIndex.3 = INTEGER: 3</tt><tt><br>
</tt><tt>NAS-MIB::HdIndex.4 = INTEGER: 4</tt><tt><br>
</tt><tt>NAS-MIB::HdIndex.5 = INTEGER: 5</tt><tt><br>
</tt><tt>NAS-MIB::HdDescr.1 = STRING: "HDD1"</tt><tt><br>
</tt><tt>NAS-MIB::HdDescr.2 = STRING: "HDD2"</tt><tt><br>
</tt><tt>NAS-MIB::HdDescr.3 = STRING: "HDD3"</tt><tt><br>
</tt><tt>NAS-MIB::HdDescr.4 = STRING: "HDD4"</tt><tt><br>
</tt><tt>NAS-MIB::HdDescr.5 = STRING: "HDD5"</tt><tt><br>
</tt><tt>NAS-MIB::HdTemperature.1 = STRING: "40 C/104 F"</tt><tt><br>
</tt><tt>NAS-MIB::HdTemperature.2 = STRING: "41 C/105 F"</tt><tt><br>
</tt><tt>NAS-MIB::HdTemperature.3 = STRING: "41 C/105 F"</tt><tt><br>
</tt><tt>NAS-MIB::HdTemperature.4 = STRING: "40 C/104 F"</tt><tt><br>
</tt><tt>NAS-MIB::HdTemperature.5 = STRING: "40 C/104 F"</tt><tt><br>
</tt><tt>NAS-MIB::HdStatus.1 = INTEGER: ready(0)</tt><tt><br>
</tt><tt>NAS-MIB::HdStatus.2 = INTEGER: ready(0)</tt><tt><br>
</tt><tt>NAS-MIB::HdStatus.3 = INTEGER: ready(0)</tt><tt><br>
</tt><tt>NAS-MIB::HdStatus.4 = INTEGER: ready(0)</tt><tt><br>
</tt><tt>NAS-MIB::HdStatus.5 = INTEGER: ready(0)</tt><tt><br>
</tt><tt>NAS-MIB::HdModel.1 = STRING: "ST2000DM001-9YN1</tt><tt>"</tt><tt><br>
</tt><tt>NAS-MIB::HdModel.2 = STRING: "ST2000DM001-9YN1</tt><tt>"</tt><tt><br>
</tt><tt>NAS-MIB::HdModel.3 = STRING: "ST2000DM001-9YN1</tt><tt>"</tt><tt><br>
</tt><tt>NAS-MIB::HdModel.4 = STRING: "ST2000DM001-9YN1</tt><tt>"</tt><tt><br>
</tt><tt>NAS-MIB::HdModel.5 = STRING: "ST2000DM001-9YN1</tt><tt>"</tt><tt><br>
</tt><tt>NAS-MIB::HdCapacity.1 = STRING: "1.82 TB"</tt><tt><br>
</tt><tt>NAS-MIB::HdCapacity.2 = STRING: "1.82 TB"</tt><tt><br>
</tt><tt>NAS-MIB::HdCapacity.3 = STRING: "1.82 TB"</tt><tt><br>
</tt><tt>NAS-MIB::HdCapacity.4 = STRING: "1.82 TB"</tt><tt><br>
</tt><tt>NAS-MIB::HdCapacity.5 = STRING: "1.82 TB"</tt><tt><br>
</tt><tt>NAS-MIB::HdSmartInfo.1 = STRING: "GOOD"</tt><tt><br>
</tt><tt>NAS-MIB::HdSmartInfo.2 = STRING: "GOOD"</tt><tt><br>
</tt><tt>NAS-MIB::HdSmartInfo.3 = STRING: "GOOD"</tt><tt><br>
</tt><tt>NAS-MIB::HdSmartInfo.4 = STRING: "GOOD"</tt><tt><br>
</tt><tt>NAS-MIB::HdSmartInfo.5 = STRING: "GOOD"</tt><tt><br>
</tt><tt>NAS-MIB::SysFanIndex.1 = INTEGER: 1</tt><tt><br>
</tt><tt>NAS-MIB::SysFanDescr.1 = STRING: "System FAN 1"</tt><tt><br>
</tt><tt>NAS-MIB::SysFanSpeed.1 = STRING: "760 RPM"</tt><tt><br>
</tt><tt>NAS-MIB::SysVolumeIndex.1 = INTEGER: 1</tt><tt><br>
</tt><tt>NAS-MIB::SysVolumeDescr.1 = STRING: "[RAID5 Disk Volume:
Drive 1 2 3 4 5]"</tt><tt><br>
</tt><tt>NAS-MIB::SysVolumeFS.1 = STRING: "EXT4"</tt><tt><br>
</tt><tt>NAS-MIB::SysVolumeTotalSize.1 = STRING: "7.21 TB"</tt><tt><br>
</tt><tt>NAS-MIB::SysVolumeFreeSize.1 = STRING: "7.21 TB"</tt><tt><br>
</tt><tt>NAS-MIB::SysVolumeStatus.1 = STRING: "Ready"</tt><tt><br>
</tt><br>
</div>
<blockquote
cite="mid:CAKnd-xCHY8652+wR0EqNO-OGNqU7H4sBrk+atA7LUVw57owcOA@mail.gmail.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
Xymon Users & Admins,<br>
<br>
Are there any xymon custom scripts / monitors for monitoring QNAP
systems? My QNAP system is behind a private switch so I have two
options:<br>
<br>
1. Install an xymon client + any custom services scripts on the
QNAP itself. (I'm not sure if this is possible as I am fairly new
to QNAP systems)<br>
or<br>
2. Install a QNAP custom xymon script / monitor on an existing
xymon client(which has 1 NIC connected to the private network for
qnap services and 1 NIC on the regular subnet which can
communicate with the xymon server) that will run the script to
probe the QNAP and then relay the results to the xymon server.<br>
<br>
If there is no such monitor for QNAP systems, I can settle for a
NFS monitor since this is probably the most important service I
run on the QNAP.<br>
<br>
Thanks for any help or input.<br clear="all">
<div>
<div><font color="#000099" face="georgia, serif" size="4"><b><u>
</u></b></font></div>
<div><font color="#000099" face="georgia, serif" size="4"><b><i>Joseph
De Nicolo</i></b></font></div>
<div><i><font color="#333333" face="courier new, monospace">Secure
Database Administrator<br>
</font></i></div>
<div><i><font color="#333333" face="courier new, monospace"><a
moz-do-not-send="true" href="http://www.barabasilab.com"
target="_blank">Center for Complex Network Research</a></font></i></div>
<div><i><font color="#333333" face="courier new, monospace">Northeastern
University</font></i></div>
<div><img moz-do-not-send="true"
src="http://i7.photobucket.com/albums/y265/SsLaZiO77/icon_sciarpa01.gif"></div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Xymon mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Xymon@xymon.com">Xymon@xymon.com</a>
<a class="moz-txt-link-freetext" href="http://lists.xymon.com/mailman/listinfo/xymon">http://lists.xymon.com/mailman/listinfo/xymon</a>
</pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
David Baldwin - Senior Systems Administrator (Datacentres + Networks)
Information and Communication Technology Services
Australian Sports Commission <a class="moz-txt-link-freetext" href="http://ausport.gov.au">http://ausport.gov.au</a>
Tel 02 62147830 Fax 02 62141830 PO Box 176 Belconnen ACT 2616
<a class="moz-txt-link-abbreviated" href="mailto:david.baldwin@ausport.gov.au">david.baldwin@ausport.gov.au</a> Leverrier Street Bruce ACT 2617
</pre>
<br>
<hr>
Keep up to date with what's happening in Australian sport visit <a href="http://www.ausport.gov.au">www.ausport.gov.au</a>
<br><br>
<font size="-2" face="arial">This message is intended for the addressee named and may contain confidential and privileged information. If you are not the intended recipient please note that any form of distribution, copying or use of this communication or the information in it is strictly prohibited and may be unlawful. If you receive this message in error, please delete it and notify the sender.</font>
<hr>
</body>
</html>