I'm unable to create a new LLD using the API call 'discoveryrule.create'. The parameters I'm setting are:
hostid: 10091
key_: 'vfs.fs.discovery'
name: 'Mounted filesystem discovery'
delay: 3600
lifetime: 30
type: 7
hostid is valid (I'm using to create a bunch of items, which works fine). The only thing I can see is that I don't set "interfaceid", since it doesn't seem to make sense, yet is marked required (it was also marked required for items however).
----
Update: I set 0 on interfaceid now and it doesn't help. This is what another such rule is reporting however.
hostid: 10091
key_: 'vfs.fs.discovery'
name: 'Mounted filesystem discovery'
delay: 3600
lifetime: 30
type: 7
hostid is valid (I'm using to create a bunch of items, which works fine). The only thing I can see is that I don't set "interfaceid", since it doesn't seem to make sense, yet is marked required (it was also marked required for items however).
----
Update: I set 0 on interfaceid now and it doesn't help. This is what another such rule is reporting however.
Comment