<HTML><BODY>Hi John, do you have the device (which one? An old SNMP WEB or new UNITY DP or something else?) Or you like to buy one?<br><br>If you have (or you can buy) the old one SNMP WEB - then nut should work fine with it via generic snmp driver and you don't need anything else.<br>If you have (or you must buy) the new one UNITY DP - then I can share my snmp subdriver for it, and you should insert this subdriver sources to your nut's source code (it's very simple - add a few string, and this procedure is described in nut documentation) and recompile the nut binaries.<br>If you have some different snmp card which doesn't work with nut, you should to create the new snmp subdriver. This procedure isn't so complicated and described in nut documentation.<br><br>Regards,<br>Dmitri Stepanov<br><br><br><blockquote style="border-left:1px solid #0857A6; margin:10px; padding:0 0 0 10px;">
        Среда, 17 августа 2016, 10:50 +03:00 от John Huong <jahuong@gmail.com>:<br>
        <br>
        <div id="">


















        












<div class="js-helper js-readmsg-msg">
        <style type="text/css"></style>
        <div>
                <base target="_self" href="https://e.mail.ru/">
                
            <div id="style_14714202040000000096_BODY"><p dir="ltr">So what should I do? It doesn't seem to work. </p>
<div><br><div>On Aug 17, 2016 3:32 PM, "Dmitri Stepanov" <<a href="mailto:dstep@mail.ru">dstep@mail.ru</a>> wrote:<br type="attribution"><blockquote style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><p style="margin-top:0px" dir="ltr">Hi John</p> 
<p dir="ltr">For me an old Liebert WEB SNMP card works fine with generic snmp driver, but new one Liebert IS UNITY DP card makes me to create my own snmp subdriver.</p> 
<p dir="ltr">Regards,<br> Dmitri Stepanov</p> 
<div>
 <p dir="ltr">--<br> Отправлено из Mail.Ru для Android</p>
</div>среда, 17 августа 2016г., 03:54 +0300 от John Huong <a href="mailto:jahuong@gmail.com">jahuong@gmail.com</a>:<br><br><blockquote style="border-left:1px solid #0857a6;margin:0px 0px 0px 10px;padding:0px 0px 0px 10px" cite="http://14713953130000000679">


















        












<div>
        
        <div>
                
                
            <div><p dir="ltr">Hi Arnaud, </p>
<p dir="ltr">Can this be used with the latest NUT build? </p>
<div><br><div>On Sep 22, 2011 6:28 AM, "Arnaud Quette" <<a href="mailto:aquette.dev@gmail.com">aquette.dev@gmail.com</a>> wrote:<br type="attribution"><blockquote style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi John,<br><br><div>2011/8/11 John Huong <span dir="ltr"><<a href="mailto:jahuong@gmail.com">jahuong@gmail.com</a>></span><br><blockquote 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 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">aquette.dev@gmail.com</a>> wrote:<br>
><br>
> 2011/8/4 John Huong <<a href="mailto:jahuong@gmail.com">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>
</blockquote></div></div>
</div>
            
                
                    <div>_______________________________________________<br>
Nut-upsuser mailing list<br>
<a href="https://e.mail.ru/compose?To=Nut%2dupsuser@lists.alioth.debian.org" target="_blank">Nut-upsuser@lists.alioth.debian.org</a><br>
<a href="http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser" target="_blank">http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser</a><br data-mce-bogus="1"></div>
                
             
        
                
        </div>

        
</div>


</blockquote></div>
</blockquote></div></div>
</div>
            
        
                <base target="_self" href="https://e.mail.ru/">
        </div>

        
</div>


</div>
</blockquote>
<br></BODY></HTML>