Hi guys
I got the same problem too, and would like to get some help about this.
Since I have lots of router to monitor, each router have to monitor different interface.
I create several probe to match each interface, each probe use a matching function.
ex.
function
<?xml version="1.0" ?>
<dude version="4.0beta2">
<Function>
<sys-type>57</sys-type>
<sys-id>557421</sys-id>
<sys-name>IntChk_Serial0</sys-name>
<code>oid_raw(concatenate("1.3.6.1.2.1.2.2.1.8.",array_element(oid_column("1.3.6.1.2.1.2.2.1.1"),array_find(oid_column("1.3.6.1.2.1.2.2.1.2"),"Serial0"))))</code>
</Function>
</dude>
probe
<?xml version="1.0" ?>
<dude version="4.0beta2">
<Probe>
<sys-type>13</sys-type>
<sys-id>557437</sys-id>
<sys-name>Serial0</sys-name>
<typeID>8</typeID>
<functionError>if(IntChk_Serial0()=1, "", "down")</functionError>
</Probe>
</dude>
So, seem negative cache time cause a probe down for about 5 mins down time.
I tried to modify my founction below
<?xml version="1.0" ?>
<dude version="4.0beta2">
<Function>
<sys-type>57</sys-type>
<sys-id>557421</sys-id>
<sys-name>IntChk_Serial0</sys-name>
<code>oid_raw(concatenate("1.3.6.1.2.1.2.2.1.8.",array_element(oid_column("1.3.6.1.2.1.2.2.1.1"),array_find(oid_column("1.3.6.1.2.1.2.2.1.2"),"Serial0"))),3,3)</code>
</Function>
</dude>
But it seems not working, probe still show down status for nearly 5 mins @@"
Can any one give some ideas about this?
Thanks a lot~!!