Hello! I'm trying to get cumulative metrics by tracking daily renewing one. So every increase of a daily metric raises an event. Then this increase must be appended to cumulative metric's meaning and ... I just can't give arguments to adding script. I checked:
1. script is working with arguments in server console and works with defined one
2. arguments are right because email action can recognize them
3. selecting Run NXSL Script give has no result in case of arguments addition to script name even if the last one does not use arguments at all. I'm very sad...
4. any walked roundabout way of script execution doesn't work
5. I haven't found a way to get current value of PushAgent characteristics from .bat command file
6. script can't get any object reference another way but arguments OR may be I'm wrong?
			1. script is working with arguments in server console and works with defined one
2. arguments are right because email action can recognize them
3. selecting Run NXSL Script give has no result in case of arguments addition to script name even if the last one does not use arguments at all. I'm very sad...
4. any walked roundabout way of script execution doesn't work
5. I haven't found a way to get current value of PushAgent characteristics from .bat command file
6. script can't get any object reference another way but arguments OR may be I'm wrong?
Quoteobj = FindObject($1); //get objectCan you suggest any way to push increase of cumulative metric, please? I have no right ideas
cur = GetDCIValue(obj, FindDCIByName(obj, "TotalCount")); //get current value
if (cur == null)
cur = 0;
PushDCIData(obj, FindDCIByName(obj, "TotalCount"), cur + $2); //increase it