1
0
-1

So all of our printers are getting replaced and we are using same hostname. I want to keep the previous printer info and have the new. What is the proper way of doing this. I thought I could just add -old to all the following fields. Name, IP, Hostname, dns_hostname, domain, dns_domain, fqdn and have it work but it seems to want to overwrite the previous device.

    CommentAdd your comment...

    2 answers

    1.  
      1
      0
      -1

      Set match_sysname to N resolved the issue.


      Also you can set the device to deleted then undelete after.

        CommentAdd your comment...
      1.  
        1
        0
        -1

        You should disable the matching rules

        • match_hostname
        • match_ip
        • match_dns_fqdn
        • match_dns_hostname
        • match_fqdn
        • match_sysname

        Unsure about the last one, but if the hostnames are the same, then it's like the sysNames are as well.

        You should still match the new devices against themselves because of match_hostname_serial and match_sysname_serial and match_mac. I am assuming these devices have working SNMP.

        Mark.

          CommentAdd your comment...