Ad Widget

Collapse

smal tool for create host xml from snmp enabled switch/router

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • slavik
    Junior Member
    • Feb 2011
    • 15

    #16
    Originally posted by efrain02
    Maybe a more clear explanation would help.
    efrain02, please explain your idea

    Comment

    • efrain02
      Banned
      • Apr 2011
      • 81

      #17
      Sorry... now i understand... the only thing is that i have this error and i don't know how to solve it:
      Code:
      PHP Fatal error:  Call to undefined function snmpwalk() in /var/www/html/snmp-zabbix.php on line 318
      Hope you could tell me... big thanks

      Comment

      • slavik
        Junior Member
        • Feb 2011
        • 15

        #18
        Originally posted by efrain02
        Sorry... now i understand... the only thing is that i have this error and i don't know how to solve it:
        Code:
        PHP Fatal error:  Call to undefined function snmpwalk() in /var/www/html/snmp-zabbix.php on line 318
        Hope you could tell me... big thanks
        you should enable snmp support in php

        Comment

        • kronis
          Member
          • Jul 2011
          • 41

          #19
          Hi, Slavik!

          This is very usefull script, tnx.
          Can I use script for SNMPv3?

          Sorry for my English

          Comment

          • slavik
            Junior Member
            • Feb 2011
            • 15

            #20
            Originally posted by kronis
            Hi, Slavik!

            This is very usefull script, tnx.
            Can I use script for SNMPv3?

            Sorry for my English
            I haven't access to snmpv3 enabled devices, so you should alter code and replace functions by yourself
            PS: or you can provide access for me

            Comment

            • kronis
              Member
              • Jul 2011
              • 41

              #21
              Ok, I will try to alter code...
              Thanks for utility!

              Comment

              • nazmulhaque
                Junior Member
                • Oct 2022
                • 5

                #22
                Originally posted by slavik
                hi
                I wrote small utility which create host xml from live snmp-enabled switch or router.
                donload php source
                feel free to comment if you find this tool useful or useless, or share with me ideas or OID to monitor.
                Hi Slavik, could you please provide the instructions on how to use this ? Right now I am monitoring the bandwidth of tenant linux and windows machines by monitoring the ethernet interfaces of those machines via snmp but we need them to install snmp and share with us the community string for monitoring but I am wondering whether using your script is it possible to monitor the internet bandwidth without their intervention , without their involvement ?
                Last edited by nazmulhaque; 06-11-2022, 11:23.

                Comment

                • slavik
                  Junior Member
                  • Feb 2011
                  • 15

                  #23
                  new link https://github.com/avirus/snmp-zabbix

                  Comment

                  • slavik
                    Junior Member
                    • Feb 2011
                    • 15

                    #24
                    Originally posted by nazmulhaque

                    Hi Slavik, could you please provide the instructions on how to use this ? Right now I am monitoring the bandwidth of tenant linux and windows machines by monitoring the ethernet interfaces of those machines via snmp but we need them to install snmp and share with us the community string for monitoring but I am wondering whether using your script is it possible to monitor the internet bandwidth without their intervention , without their involvement ?
                    That's possible if you plug customers into switch with snmp support. Or get snmp from router if there any ppp involved.
                    instructions provided in github repo https://github.com/avirus/snmp-zabbix

                    Comment

                    • nazmulhaque
                      Junior Member
                      • Oct 2022
                      • 5

                      #25
                      Originally posted by slavik

                      That's possible if you plug customers into switch with snmp support. Or get snmp from router if there any ppp involved.
                      instructions provided in github repo https://github.com/avirus/snmp-zabbix
                      Thank you for your reply. We still need to install snmp on the customer vm and put ip of zabbix server to grant access and start monitoring right ?

                      Comment

                      Working...