ok.  This is HIGHLY experimental.  But, this is what I did to get JFF doing
   64bit/SNMPv2c.


        1) edit php-4.3.4/ext/snmp/snmp.c

                Change session.version = SNMP_VERSION_1;  

                to 
                
                session.version = SNMP_VERSION_2c;

        2) Compile/Recompile PHP.

        3) Modify    jffnms/lib/api.network.inc.php

                In function function snmp_netsnmp_fix

                Add           if (strstr($value,"No Such Object")) return false;

                ex.

                <?
                        function snmp_netsnmp_fix ($value) {
                                //BUGFIXES FOR NET-SNMP 5
                                if (strstr($value,"No Such Object")) return 
false;
                                $value=preg_replace("/INTEGER: /","",$value);

        Im sure there is probably a couple of spots Ive missed, but this seems 
to 
        get 99% of it.  If you dont put in Step 3, you'll find that every device
        has IIS on it.  While IIS may be the shiznitz, I doubt a cisco router 
runs it.

        Now to hack up a smart scan for Nokia/Checkpoint firewall interfaces, 
clean up
        my hack for bluecoat proxys (instead of writting my own discovery, 
reuse Javiers)
        and sendmail queues.

-- 
Karl S. Hagen                                 email: [EMAIL PROTECTED]
Certifications: CISSP, CCNA                   http://www.greyhelm.com/~khagen/


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
jffnms-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jffnms-users

Reply via email to