DCI based on SNMP trap.
-
-
Hi,
currently it's not possible. I'll add a feature request for NXSL data push function - then you'll be able to use action script for pushing DCI data.
Best regards,
Victor -
-
-
Functionality implemented and will be available in next release.
Function looks like this: PushDCIData(node, dciId, value) -
Thank you for this great feature.
Looks like there is little problem somewhere.
I have 2 scripts.
First runs on problem snmp trap:PushDCIData($node,444,1); PushDCIData($node,444,0); return true;Second runs on restore snmp trap:
PushDCIData($node,444,0); PushDCIData($node,444,1); return true;So I should get beautiful graph with status from 0 to 1.
But sometimes line goes aslant from one event to another instead of forming rectangular shape. Looks like sometimes PushDCIData($node,444,0) in second script does nothing. How this can be fixed? -
Hi,
server do not expect two values within one second. You can try to put sleep call (https://wiki.netxms.org/wiki/NXSL:sleep) between two push calls to guarantee at least second interval between values.
Best regards,
Victor
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login