Ad Widget

Collapse

nmap2zabbix

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • steveh
    Junior Member
    • Jan 2006
    • 9

    #1

    nmap2zabbix

    Has anybody written the equivalent for zabbix of nmap2nagios?

    If you've never seen it, it scans the network and produces a list of equipment and port/service definitions.
  • elkor
    Senior Member
    • Jul 2005
    • 299

    #2
    not that I know of, but it certainly would be handy for adding new network segments.

    I nominate you for the task!

    Comment

    • steveh
      Junior Member
      • Jan 2006
      • 9

      #3
      Is there documentation of the import format somewhere and I'll give it a crack?

      Comment

      • Mark Rijckenberg
        Junior Member
        • Jan 2006
        • 3

        #4
        NagMIN and nPulse are nmap based monitoring tools

        Hi,

        Excellent idea. I am not a programmer, but I also think it would be a very good idea to partially rewrite Zabbix so that it is based on nmap so that Zabbix can quickly learn the active services, active ports and active servers available in a given network. That way, we can avoid tediously entering each servername, IP, etc etc... ourselves.

        I found 2 other projects that are nmap-based and that intelligently map / learn the network:

        1. nPulse http://www.horsburgh.com/h_npulse.html (old perl-based project from 2001)
        2. NagMIN (from 2004)
        = a kind of webmin based graphical plugin for Nagios that uses nmap to learn network and store newly found hosts, services and other network data in MySQL database.

        It might be a good idea to let Zabbix use the nmap features in NagMIN, because both solutions use MySQL for storing network data.

        Alexei, or someone else, can you do us this favor?

        Regards,

        Mark R.

        Comment

        • Alexei
          Founder, CEO
          Zabbix Certified Trainer
          Zabbix Certified SpecialistZabbix Certified Professional
          • Sep 2004
          • 5654

          #5
          Originally posted by Mark Rijckenberg
          Alexei, or someone else, can you do us this favor?
          The autodiscovery functionality (design is not ready yet) is planned for ZABBIX 1.2 or 2.0.
          Alexei Vladishev
          Creator of Zabbix, Product manager
          New York | Tokyo | Riga
          My Twitter

          Comment

          • elkor
            Senior Member
            • Jul 2005
            • 299

            #6
            there is a file format for bulk loading, do a search on the forums for it.. I don't have a handy link.

            It's implimented through the php front end which reads the file and makes the database insertions so you might need to add some logic in order to insert port monitoring and such (or just get the hosts first, the template functionality is almost fixed and even if just the hosts get inserted you can always link them to a template).

            Comment

            • vlam
              Senior Member
              Zabbix Certified Specialist
              • Jun 2009
              • 166

              #7
              Has anybody looked at this again for ver 2.2 perhaps.

              I am urgently looking for some way to do propper network discovery for all types of devices on the networks and also the OS and or host name of them.
              4 Zabbix Frontend Servers (Load balanced)
              2 Zabbix App Servers (HA)
              2 Zabbix Database Servers (HA)
              18 Zabbix Proxy Servers (HA)
              3897 Deployed Zabbix Agents
              6161 Values per second
              X-Layer Integration
              Jaspersoft report Servers (HA)

              Comment

              • elkato
                Junior Member
                • Jun 2015
                • 3

                #8
                Originally posted by vlam
                Has anybody looked at this again for ver 2.2 perhaps.

                I am urgently looking for some way to do propper network discovery for all types of devices on the networks and also the OS and or host name of them.
                Hi vlam, have you resolved this in any way?

                thanks!

                Comment

                • bbrendon
                  Senior Member
                  • Sep 2005
                  • 870

                  #9
                  This sounds like it would be easy to script up with nmap + zabbix api.

                  Not sure, but that's where I would start.
                  Unofficial Zabbix Expert
                  Blog, Corporate Site

                  Comment

                  Working...