The grid of Alarm Browser or Alarm Viewer should allow column reordering by drag column header or something.
ntnam
Posts
-
Alarm Column Reordering -
Network Map add to link aggregationNetXMS should display Node Name and Interface Alias in this case.
It's hard when i add more physical link to link aggregation.
-
Add custom parameter to Event Template?I create the script GetInterfaceAlias
if ($dci==null) return "?"; else return GetInterfaceObject($node, $dci->instanceData)->alias;and using macro in message %[GetInterfaceAlias] but this return "?"
my threshold script run correctifo = GetInterfaceObject($node, $dci->instanceData); speed = ifo->speed; if (speed!=null) if ($1/speed*100 > $2) return true; return false;I'am using NETXMS 3.0.2287.
Can you tell me my mistake. -
Add custom parameter to Event Template?Event SYS_THRESHOLD_REACHED don't have parameter index of interface.
Can i store it from Threshold Script and get it in Event?
Can you show me another way to get it? -
Return threshold value and actual value in Threshold scriptI create Data Collection Configuration with threshold value is not fixed
Transformation:
return 10*log10($1/1000);Script:
transport = CreateSNMPTransport($node); value = SNMPGetValue(transport, ".1.3.6.1.4.1.9.9.91.1.2.1.1.4." . $dci->instanceData . ".1"); threshold = 10*log10($value/1000); return (threshold > $1);I think it's better when i can return threshold value and actual value to the Event Message:
return %(threshold > $1, format(threshold,1,2), format($1,1,2)); -
Get interface speed in Threshold Script ?Thanks you.
I replace {instance} by $dci->instanceData is ok. -
Create node with physical interface only?You click one node
Open and view in Object Details > Interfaces
You can see the column name "ifType" -
Get interface speed in Threshold Script ?I monitor traffic in Data Collection Configuration
Description: {instance-name} - Traffic Out (bits/s)
Parameter : .1.3.6.1.2.1.31.1.1.1.10.{instance}
Origin: SNMP - Unsigned Integer 64bit
Transformation : Average delta per second
Transformation script: $1 * 8
Instance Discovery : SNMP Walk - OIDs
Base SNMP OID: .1.3.6.1.2.1.31.1.1.1.1It's work ok.
I need add event when percent bandwidth reach.
I create Threshold script below but the "{instance}" seem to fail.$ifo = GetInterfaceObject($node, {instance}); $speed = $ifo->speed; if ($1/$speed*100 > $2) return true; else return false;How can i get {instance} value? or get interface speed from variables $dci, $node, $object?
-
Add custom parameter to Event Template?Yes. Thanks you very much.
-
Add custom parameter to Event Template?Event SYS_IF_DOWN has default message Interface "%2" changed state to DOWN (IP Addr: %3/%4, IfIndex: %5)
How can i add %6 or %? with interface ifAlias? -
Create node with physical interface only?Thanks you. It's simple.
if ($1->ifType == 6) return true; else return false; -
Create node with physical interface only?How can i create node only show physical interfaces (ifType = 6)