Thanks !
After changing
timeout = 5.5 max-repetitions = 3
The job run correctly
2017-01-03 20:07:36,445 [INFO schedule.netboxjobscheduler] [1minstats 192.168.0.1] 1minstats for 192.168.0.1 completed in 0:00:00.007180. next run in 0:00:59.992834. 2017-01-03 20:08:45,077 [WARNING plugins.dnsname.dnsname] [dns 192.168.0.1] DNS lookup error for 192.168.0.1: DNSNameError 2017-01-03 20:08:45,078 [WARNING plugins.dnsname.dnsname] [dns 192.168.0.1] Unable to find PTR record for 192.168.0.1 (1.4.100.100.in-addr.arpa.) 2017-01-03 20:08:45,157 [INFO schedule.netboxjobscheduler] [dns 192.168.0.1] dns for 192.168.0.1 completed in 0:00:00.116310. next run in 0:09:59.883704. 2017-01-03 20:08:45,183 [INFO schedule.netboxjobscheduler] [snmpcheck 192.168.0.1] snmpcheck for 192.168.0.1 completed in 0:00:00.131922. next run in 0:29:59.868090. 2017-01-03 20:08:45,185 [WARNING plugins.typeoid.typeoid] [inventory 192.168.0.1] Netbox has changed type from unknown to unknown (sysObjectID 1.3.6.1.4.1.1991.1.3.48.7.3) 2017-01-03 20:08:45,187 [INFO schedule.netboxjobscheduler] [1minstats 192.168.0.1] 1minstats for 192.168.0.1 completed in 0:00:00.131281. next run in 0:00:59.868730. 2017-01-03 20:08:46,190 [DEBUG nav.mibs.bridge_mib.multibridgemib] [topo 192.168.0.1] now querying None 2017-01-03 20:08:46,538 [DEBUG nav.mibs.bridge_mib.multibridgemib] [topo 192.168.0.1] now querying None 2017-01-03 20:08:46,731 [INFO schedule.netboxjobscheduler] [statuscheck 192.168.0.1] statuscheck for 192.168.0.1 completed in 0:00:01.722808. next run in 0:04:58.277210. 2017-01-03 20:08:48,627 [INFO schedule.netboxjobscheduler] [topo 192.168.0.1] topo for 192.168.0.1 completed in 0:00:03.705158. next run in 0:14:56.294856. 2017-01-03 20:08:49,050 [INFO schedule.netboxjobscheduler] [5minstats 192.168.0.1] 5minstats for 192.168.0.1 completed in 0:00:04.015586. next run in 0:04:55.984429. 2017-01-03 20:08:49,661 [DEBUG plugins.dot1q.dot1q] [inventory 192.168.0.1] Collecting 802.1q VLAN information 2017-01-03 20:08:49,855 [DEBUG plugins.dot1q.dot1q] [inventory 192.168.0.1] PVID mapping: {1: 4000L, 2: 4000L, 3: 4000L, 4: 4000L, 5: 4000L, 6: 4000L, 7: 4000L, 8: 4000L, 9: 4000L, 10: 4000L, 11: 4000L, 12: 4000L, 13: 164L, 14: 4000L, 15: 4000L, 16: 4000L, 17: 4000L, 18: 4000L, 259: 4000L, 20: 4000L, 21: 3L, 22: 3L, 23: 3L, 24: 3L, 25: 3L, 26: 3L, 27: 3L, 28: 3L, 29: 3L, 30: 3L, 31: 3L, 33: 4000L, 34: 4000L, 35: 4000L, 36: 4000L, 37: 4000L, 38: 4000L, 39: 4000L, 40: 4000L, 41: 4000L, 42: 4000L, 43: 4000L, 44: 4000L, 45: 4000L, 46: 4000L, 47: 4000L, 48: 4000L, 65: 4000L, 69: 4000L, 73: 4000L, 77: 4000L, 81: 4000L, 85: 4000L, 19: 4000L, 276: 4000L, 277: 3L, 295: 4000L, 32: 4000L, 257: 4000L, 258: 4000L, 260: 4000L, 261: 4000L, 262: 4000L, 263: 4000L, 264: 4000L, 265: 4000L, 266: 4000L, 267: 4000L, 268: 4000L, 269: 161L, 270: 4000L, 271: 4000L, 272: 4000L, 273: 4000L, 274: 4000L, 275: 4000L, 302: 4000L, 278: 3L, 279: 3L, 280: 3L, 281: 3L, 282: 3L, 283: 3L, 284: 3L, 285: 3L, 286: 3L, 287: 4000L, 289: 4000L, 290: 4000L, 291: 4000L, 292: 4000L, 293: 4000L, 294: 4000L, 296: 4000L, 297: 4000L, 298: 4000L, 299: 4000L, 300: 4000L, 301: 4000L, 303: 4000L, 304: 4000L, 321: 4000L, 325: 4000L, 329: 4000L, 333: 4000L, 337: 4000L, 341: 4000L, 288: 4000L} 2017-01-03 20:08:49,971 [DEBUG plugins.dot1q.dot1q] [inventory 192.168.0.1] vlan: 1632 egress: [1, 2, 3, 4, 5, 18, 47, 257, 258, 259, 260, 261, 274] untagged: [] 2017-01-03 20:08:49,977 [DEBUG plugins.dot1q.dot1q] [inventory 192.168.0.1] vlan: 161 egress: [1, 2, 3, 4, 5, 18, 47, 257, 258, 259, 260, 261, 269, 274] untagged: [269] 2017-01-03 20:08:49,982 [DEBUG plugins.dot1q.dot1q] [inventory 192.168.0.1] vlan: 162 egress: [1, 2, 3, 4, 5, 18, 47, 257, 258, 259, 260, 261, 274] untagged: [] 2017-01-03 20:08:49,988 [DEBUG plugins.dot1q.dot1q] [inventory 192.168.0.1] vlan: 3 egress: [18, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 47, 274, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286] untagged: [21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286] 2017-01-03 20:08:49,998 [DEBUG plugins.dot1q.dot1q] [inventory 192.168.0.1] vlan: 164 egress: [1, 2, 3, 4, 5, 13, 18, 47, 257, 258, 259, 260, 261, 274] untagged: [13] 2017-01-03 20:08:50,005 [DEBUG plugins.dot1q.dot1q] [inventory 192.168.0.1] vlan: 1700 egress: [1, 2, 3, 4, 5, 6, 18, 43, 46, 47, 257, 258, 259, 260, 261, 274, 299, 302] untagged: [] 2017-01-03 20:08:50,010 [DEBUG plugins.dot1q.dot1q] [inventory 192.168.0.1] vlan: 1825 egress: [1, 2, 3, 4, 5, 18, 47, 257, 258, 259, 260, 261, 274] untagged: [] 2017-01-03 20:08:50,017 [DEBUG plugins.dot1q.dot1q] [inventory 192.168.0.1] vlan: 1610 egress: [1, 2, 3, 4, 5, 18, 47, 257, 258, 259, 260, 261, 274] untagged: [] 2017-01-03 20:08:50,023 [DEBUG plugins.dot1q.dot1q] [inventory 192.168.0.1] vlan: 1612 egress: [1, 2, 3, 4, 5, 18, 47, 257, 258, 259, 260, 261, 274] untagged: [] 2017-01-03 20:08:50,030 [DEBUG plugins.dot1q.dot1q] [inventory 192.168.0.1] vlan: 1826 egress: [1, 2, 3, 4, 5, 6, 18, 43, 46, 47, 257, 258, 259, 260, 261, 274, 299, 302] untagged: [] 2017-01-03 20:08:50,035 [DEBUG plugins.dot1q.dot1q] [inventory 192.168.0.1] vlan: 4000 egress: [7, 8, 9, 10, 11, 12, 14, 15, 16, 17, 19, 20, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 44, 45, 48, 69, 73, 81, 85, 262, 263, 264, 265, 266, 267, 268, 270, 271, 272, 273, 275, 276, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 300, 301, 303, 304, 325, 329, 337, 341] untagged: [7, 8, 9, 10, 11, 12, 14, 15, 16, 17, 19, 20, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 44, 45, 48, 69, 73, 81, 85, 262, 263, 264, 265, 266, 267, 268, 270, 271, 272, 273, 275, 276, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 300, 301, 303, 304, 325, 329, 337, 341] 2017-01-03 20:08:50,040 [DEBUG plugins.dot1q.dot1q] [inventory 192.168.0.1] vlan: 4094 egress: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 69, 73, 81, 85, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 325, 329, 337, 341] untagged: [7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, 20, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 44, 45, 48, 69, 73, 81, 85, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 275, 276, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 300, 301, 303, 304, 325, 329, 337, 341] 2017-01-03 20:08:50,046 [DEBUG plugins.dot1q.dot1q] [inventory 192.168.0.1] vlan: 4 egress: [1, 2, 3, 4, 5, 6, 18, 43, 46, 47, 257, 258, 259, 260, 261, 274, 299, 302] untagged: [] 2017-01-03 20:08:50,052 [DEBUG plugins.dot1q.dot1q] [inventory 192.168.0.1] vlan: 1816 egress: [1, 2, 3, 4, 5, 18, 47, 257, 258, 259, 260, 261, 274] untagged: [] 2017-01-03 20:08:50,057 [DEBUG plugins.dot1q.dot1q] [inventory 192.168.0.1] vlan: 100 egress: [1, 2, 3, 4, 5, 6, 18, 47, 257, 258, 259, 260, 261, 274] untagged: [] 2017-01-03 20:08:50,063 [DEBUG plugins.dot1q.dot1q] [inventory 192.168.0.1] vlan: 4091 egress: [] untagged: [] 2017-01-03 20:08:50,069 [DEBUG plugins.dot1q.dot1q] [inventory 192.168.0.1] vlan: 1821 egress: [1, 2, 3, 4, 5, 18, 47, 257, 258, 259, 260, 261, 274] untagged: [] 2017-01-03 20:08:50,074 [DEBUG plugins.dot1q.dot1q] [inventory 192.168.0.1] vlan: 1822 egress: [1, 2, 3, 4, 5, 18, 47, 257, 258, 259, 260, 261, 274] untagged: [] 2017-01-03 20:08:50,079 [DEBUG plugins.dot1q.dot1q] [inventory 192.168.0.1] vlan: 1827 egress: [1, 2, 3, 4, 5, 6, 18, 43, 46, 47, 257, 258, 259, 260, 261, 274, 299, 302] untagged: [] 2017-01-03 20:08:50,080 [DEBUG plugins.dot1q.dot1q] [inventory 192.168.0.1] trunkports: {1: [1632, 161, 162, 164, 1700, 1825, 1610, 1612, 1826, 4094, 4, 1816, 100, 1821, 1822, 1827], 2: [1632, 161, 162, 164, 1700, 1825, 1610, 1612, 1826, 4094, 4, 1816, 100, 1821, 1822, 1827], 3: [1632, 161, 162, 164, 1700, 1825, 1610, 1612, 1826, 4094, 4, 1816, 100, 1821, 1822, 1827], 4: [1632, 161, 162, 164, 1700, 1825, 1610, 1612, 1826, 4094, 4, 1816, 100, 1821, 1822, 1827], 5: [1632, 161, 162, 164, 1700, 1825, 1610, 1612, 1826, 4094, 4, 1816, 100, 1821, 1822, 1827], 6: [1700, 1826, 4094, 4, 100, 1827], 257: [1632, 161, 162, 164, 1700, 1825, 1610, 1612, 1826, 4094, 4, 1816, 100, 1821, 1822, 1827], 274: [1632, 161, 162, 3, 164, 1700, 1825, 1610, 1612, 1826, 4094, 4, 1816, 100, 1821, 1822, 1827], 43: [1700, 1826, 4094, 4, 1827], 258: [1632, 161, 162, 164, 1700, 1825, 1610, 1612, 1826, 4094, 4, 1816, 100, 1821, 1822, 1827], 46: [1700, 1826, 4094, 4, 1827], 47: [1632, 161, 162, 3, 164, 1700, 1825, 1610, 1612, 1826, 4094, 4, 1816, 100, 1821, 1822, 1827], 18: [1632, 161, 162, 3, 164, 1700, 1825, 1610, 1612, 1826, 4094, 4, 1816, 100, 1821, 1822, 1827], 259: [1632, 161, 162, 164, 1700, 1825, 1610, 1612, 1826, 4094, 4, 1816, 100, 1821, 1822, 1827], 302: [1700, 1826, 4094, 4, 1827], 260: [1632, 161, 162, 164, 1700, 1825, 1610, 1612, 1826, 4094, 4, 1816, 100, 1821, 1822, 1827], 299: [1700, 1826, 4094, 4, 1827], 261: [1632, 161, 162, 164, 1700, 1825, 1610, 1612, 1826, 4094, 4, 1816, 100, 1821, 1822, 1827]} 2017-01-03 20:08:52,642 [INFO schedule.netboxjobscheduler] [inventory 192.168.0.1] inventory for 192.168.0.1 completed in 0:00:07.582601. next run in 5:59:52.417419. 2017-01-03 20:09:45,096 [INFO schedule.netboxjobscheduler] [1minstats 192.168.0.1] 1minstats for 192.168.0.1 completed in 0:00:00.031251. next run in 0:00:59.968763. 2017-01-03 20:10:45,112 [INFO schedule.netboxjobscheduler] [1minstats 192.168.0.1] 1minstats for 192.168.0.1 completed in 0:00:00.046224. next run in 0:00:59.953790. 2017-01-03 20:11:45,079 [INFO schedule.netboxjobscheduler] [1minstats 192.168.0.1] 1minstats for 192.168.0.1 completed in 0:00:00.010821. next run in 0:00:59.989194. 2017-01-03 20:12:45,091 [INFO schedule.netboxjobscheduler] [1minstats 192.168.0.1] 1minstats for 192.168.0.1 completed in 0:00:00.021879. next run in 0:00:59.978135. 2017-01-03 20:13:45,076 [INFO schedule.netboxjobscheduler] [1minstats 192.168.0.1] 1minstats for 192.168.0.1 completed in 0:00:00.006949. next run in 0:00:59.993067. 2017-01-03 20:13:46,098 [INFO schedule.netboxjobscheduler] [statuscheck 192.168.0.1] statuscheck for 192.168.0.1 completed in 0:00:01.089695. next run in 0:04:58.910323. 2017-01-03 20:13:49,319 [INFO schedule.netboxjobscheduler] [5minstats 192.168.0.1] 5minstats for 192.168.0.1 completed in 0:00:04.283542. next run in 0:04:55.716476.
Regards
Michele
Da: Morten Brekkevold morten.brekkevold@uninett.no Inviato: martedì 3 gennaio 2017 11.55 A: Michele Moscatelli Cc: nav-users@uninett.no Oggetto: Re: Brocade ICX 7750 Stack On Mon, 2 Jan 2017 19:50:01 +0000 Michele Moscatelli michele.moscatelli@outlook.com wrote:
2017-01-02 19:34:05,901 [ERROR jobs.jobhandler] [inventory 192.168.0.1] Job 'inventory' for 192.168.0.1 aborted: Plugin dot1q reported a timeout
Indeed, the inventory job is unable to complete because 192.168.0.1 is timing out on the requests sent by the dot1q plugin.
If you set the plugin (and the used MIB handlers) to do debug-level logging, we might figure out exactly which request is timing out.
To enable debug logging from the relevant parts, add these lines to the `[levels]` section of `logging.conf`, and restart ipdevpoll:
nav.ipdevpoll.plugins.dot1q = DEBUG nav.mibs.bridge_mib = DEBUG nav.mibs.qbridge_mib = DEBUG
The device could be timing out because of a poor implementation of the SNMP GETBULK operation, in which case you might benefit from reducing the number of `max-repetitions` in `ipdevpoll.conf`.