Hi John,<br><br><div class="gmail_quote">2011/8/11 John Huong <span dir="ltr"><<a href="mailto:jahuong@gmail.com" target="_blank">jahuong@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



Ok now I've specified the MIB file you've asked me to use for snmpwalk.<br></blockquote><div> <br>perfect<br><br></div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex">




This is the output for -OS walk:<br>
<br>
<...snip...><br>
End of MIB<br>
<div><div></div><div><br>
<br>
On Mon, Aug 8, 2011 at 2:53 AM, Arnaud Quette <<a href="mailto:aquette.dev@gmail.com" target="_blank">aquette.dev@gmail.com</a>> wrote:<br>
><br>
> 2011/8/4 John Huong <<a href="mailto:jahuong@gmail.com" target="_blank">jahuong@gmail.com</a>><br>
>><br>
>> Ok. Here we go:<br>
>><br>
>> SNMPv2-SMI::enterprises.935.1.1.1.1.1.1.0 = STRING: "Intelligent<br>
>> LiebertPSI"<br>
>> SNMPv2-SMI::enterprises.935.1.1.1.1.1.2.0 = ""<br>
>> (...)<br>
><br>
> this first walk is not useful if you don't have the MIB file installed.<br>
> interestingly, your MIB (.935) is not the same as Philip's one (.476), and<br>
> seems to be from Phoenixtec.<br>
> you should already have it underhand, otherwise you can download it here for<br>
> example:<br>
> <a href="http://www.icamview.com/pub/pub/netagent%20utility/Upsmate.rar" target="_blank">http://www.icamview.com/pub/pub/netagent%20utility/Upsmate.rar</a><br>
><br>
> install it in /usr/share/mibs/netsnmp/ or equivalent on your system.<br>
> then do the '-OS' walk again.<br>
> and check this thread for a procedure to create a new mib to nut mapping:<br>
> <a href="http://lists.alioth.debian.org/pipermail/nut-upsdev/2011-February/005272.html" target="_blank">http://lists.alioth.debian.org/pipermail/nut-upsdev/2011-February/005272.html</a><br>
><br>
> at least, identify the more possible matches, and I'll help you creating and<br>
> integrating the files when I have some spare time...<br></div></div></blockquote></div><br clear="all">these last remarks are still valid.<br><br>you will find attached a patch, that includes the necessary files, with a base content and build rules.<br>



apply it from within the nut source dir using:<br>$ patch -p0 < /path/to/xpcc-mib.diff<br><br>then edit drivers/xpcc-mib.c and complete it as much as possible using the above pointed procedure.<br>then send back a diff for review.<br>



<br>cheers,<br>Arnaud<br><br>