[Xymon] QNAP
David Baldwin
david.baldwin at ausport.gov.au
Wed Feb 13 23:52:08 CET 2013
Joseph,
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.
David.
NAS-MIB::IfIndex.1 = INTEGER: 1
NAS-MIB::IfIndex.2 = INTEGER: 2
NAS-MIB::IfDescr.1 = STRING: "eth0"
NAS-MIB::IfDescr.2 = STRING: "eth1"
NAS-MIB::IfPacketsReceived.1 = Counter32: 1278907
NAS-MIB::IfPacketsReceived.2 = Counter32: 1199329
NAS-MIB::IfPacketsSent.1 = Counter32: 852477
NAS-MIB::IfPacketsSent.2 = Counter32: 852471
NAS-MIB::IfErrorPackets.1 = Counter32: 0
NAS-MIB::IfErrorPackets.2 = Counter32: 0
NAS-MIB::HdIndex.1 = INTEGER: 1
NAS-MIB::HdIndex.2 = INTEGER: 2
NAS-MIB::HdIndex.3 = INTEGER: 3
NAS-MIB::HdIndex.4 = INTEGER: 4
NAS-MIB::HdIndex.5 = INTEGER: 5
NAS-MIB::HdDescr.1 = STRING: "HDD1"
NAS-MIB::HdDescr.2 = STRING: "HDD2"
NAS-MIB::HdDescr.3 = STRING: "HDD3"
NAS-MIB::HdDescr.4 = STRING: "HDD4"
NAS-MIB::HdDescr.5 = STRING: "HDD5"
NAS-MIB::HdTemperature.1 = STRING: "40 C/104 F"
NAS-MIB::HdTemperature.2 = STRING: "41 C/105 F"
NAS-MIB::HdTemperature.3 = STRING: "41 C/105 F"
NAS-MIB::HdTemperature.4 = STRING: "40 C/104 F"
NAS-MIB::HdTemperature.5 = STRING: "40 C/104 F"
NAS-MIB::HdStatus.1 = INTEGER: ready(0)
NAS-MIB::HdStatus.2 = INTEGER: ready(0)
NAS-MIB::HdStatus.3 = INTEGER: ready(0)
NAS-MIB::HdStatus.4 = INTEGER: ready(0)
NAS-MIB::HdStatus.5 = INTEGER: ready(0)
NAS-MIB::HdModel.1 = STRING: "ST2000DM001-9YN1"
NAS-MIB::HdModel.2 = STRING: "ST2000DM001-9YN1"
NAS-MIB::HdModel.3 = STRING: "ST2000DM001-9YN1"
NAS-MIB::HdModel.4 = STRING: "ST2000DM001-9YN1"
NAS-MIB::HdModel.5 = STRING: "ST2000DM001-9YN1"
NAS-MIB::HdCapacity.1 = STRING: "1.82 TB"
NAS-MIB::HdCapacity.2 = STRING: "1.82 TB"
NAS-MIB::HdCapacity.3 = STRING: "1.82 TB"
NAS-MIB::HdCapacity.4 = STRING: "1.82 TB"
NAS-MIB::HdCapacity.5 = STRING: "1.82 TB"
NAS-MIB::HdSmartInfo.1 = STRING: "GOOD"
NAS-MIB::HdSmartInfo.2 = STRING: "GOOD"
NAS-MIB::HdSmartInfo.3 = STRING: "GOOD"
NAS-MIB::HdSmartInfo.4 = STRING: "GOOD"
NAS-MIB::HdSmartInfo.5 = STRING: "GOOD"
NAS-MIB::SysFanIndex.1 = INTEGER: 1
NAS-MIB::SysFanDescr.1 = STRING: "System FAN 1"
NAS-MIB::SysFanSpeed.1 = STRING: "760 RPM"
NAS-MIB::SysVolumeIndex.1 = INTEGER: 1
NAS-MIB::SysVolumeDescr.1 = STRING: "[RAID5 Disk Volume: Drive 1 2 3 4 5]"
NAS-MIB::SysVolumeFS.1 = STRING: "EXT4"
NAS-MIB::SysVolumeTotalSize.1 = STRING: "7.21 TB"
NAS-MIB::SysVolumeFreeSize.1 = STRING: "7.21 TB"
NAS-MIB::SysVolumeStatus.1 = STRING: "Ready"
> Xymon Users & Admins,
>
> Are there any xymon custom scripts / monitors for monitoring QNAP
> systems? My QNAP system is behind a private switch so I have two options:
>
> 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)
> or
> 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.
>
> 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.
>
> Thanks for any help or input.
> *_ _*
> */Joseph De Nicolo/*
> /Secure Database Administrator
> /
> /Center for Complex Network Research <http://www.barabasilab.com>/
> /Northeastern University/
>
>
> _______________________________________________
> Xymon mailing list
> Xymon at xymon.com
> http://lists.xymon.com/mailman/listinfo/xymon
--
David Baldwin - Senior Systems Administrator (Datacentres + Networks)
Information and Communication Technology Services
Australian Sports Commission http://ausport.gov.au
Tel 02 62147830 Fax 02 62141830 PO Box 176 Belconnen ACT 2616
david.baldwin at ausport.gov.au Leverrier Street Bruce ACT 2617
-------------------------------------------------------------------------------------
Keep up to date with what's happening in Australian sport visit http://www.ausport.gov.au
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.
-------------------------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20130214/ae495d66/attachment.html>
More information about the Xymon
mailing list