Hi!
I have preset with event 4 VALUE CHANGE. In log I see this event every 5 min, but my provision not work. What me need add in my preset?
You probably need to include log entries showing the event and your provision script if you’d like help…
It’s my log
2023-10-04T07:50:13.834Z [INFO] ::ffff:28.1.30.13 000000-LNC%2D2101-65740300A2900003L: Inform; cpeRequestId="2" informEvent="4 VALUE CHANGE" informRetryCount=0
2023-10-04T07:50:13.935Z [WARN] ::ffff:28.1.30.13 000000-LNC%2D2101-65740300A2900003L: Missing or invalid XML node; attribute="type" parameter="InternetGatewayDevice.ManagementServer.ConnectionRequestURL"
2023-10-04T07:50:13.936Z [WARN] ::ffff:28.1.30.13 000000-LNC%2D2101-65740300A2900003L: Missing or invalid XML node; attribute="type" parameter="InternetGatewayDevice.DeviceInfo.SoftwareVersion"
2023-10-04T07:50:13.936Z [WARN] ::ffff:28.1.30.13 000000-LNC%2D2101-65740300A2900003L: Missing or invalid XML node; attribute="type" parameter="InternetGatewayDevice.DeviceInfo.HardwareVersion"
2023-10-04T07:50:13.936Z [WARN] ::ffff:28.1.30.13 000000-LNC%2D2101-65740300A2900003L: Missing or invalid XML node; attribute="type" parameter="InternetGatewayDevice.DeviceInfo.X_VENDOR_FEATURE_CODE"
2023-10-04T07:50:13.936Z [WARN] ::ffff:28.1.30.13 000000-LNC%2D2101-65740300A2900003L: Missing or invalid XML node; attribute="type" parameter="InternetGatewayDevice.DeviceInfo.X_VENDOR_DEVICE_TYPE"
2023-10-04T07:50:13.936Z [WARN] ::ffff:28.1.30.13 000000-LNC%2D2101-65740300A2900003L: Missing or invalid XML node; attribute="type" parameter="InternetGatewayDevice.Services.FAPService.1.CellConfig.LTE.RAN.RF.EARFCNDL"
2023-10-04T07:50:13.939Z [INFO] ::ffff:28.1.30.13 000000-LNC%2D2101-65740300A2900003L: Inform; cpeRequestId="3" informEvent="4 VALUE CHANGE" informRetryCount=0
2023-10-04T07:52:09.550Z [WARN] ::ffff:28.1.30.13 000000-LNC%2D2101-65740300A2900003L: Missing or invalid XML node; attribute="type" parameter="InternetGatewayDevice.ManagementServer.ConnectionRequestURL"
2023-10-04T07:52:09.551Z [WARN] ::ffff:28.1.30.13 000000-LNC%2D2101-65740300A2900003L: Missing or invalid XML node; attribute="type" parameter="InternetGatewayDevice.DeviceInfo.SoftwareVersion"
2023-10-04T07:52:09.551Z [WARN] ::ffff:28.1.30.13 000000-LNC%2D2101-65740300A2900003L: Missing or invalid XML node; attribute="type" parameter="InternetGatewayDevice.DeviceInfo.HardwareVersion"
2023-10-04T07:52:09.551Z [WARN] ::ffff:28.1.30.13 000000-LNC%2D2101-65740300A2900003L: Missing or invalid XML node; attribute="type" parameter="InternetGatewayDevice.DeviceInfo.X_VENDOR_FEATURE_CODE"
2023-10-04T07:52:09.551Z [WARN] ::ffff:28.1.30.13 000000-LNC%2D2101-65740300A2900003L: Missing or invalid XML node; attribute="type" parameter="InternetGatewayDevice.DeviceInfo.SerialNumber"
2023-10-04T07:52:09.551Z [WARN] ::ffff:28.1.30.13 000000-LNC%2D2101-65740300A2900003L: Missing or invalid XML node; attribute="type" parameter="InternetGatewayDevice.DeviceInfo.ManufacturerOUI"
2023-10-04T07:52:09.551Z [WARN] ::ffff:28.1.30.13 000000-LNC%2D2101-65740300A2900003L: Missing or invalid XML node; attribute="type" parameter="InternetGatewayDevice.DeviceInfo.X_VENDOR_DEVICE_TYPE"
2023-10-04T07:52:09.551Z [WARN] ::ffff:28.1.30.13 000000-LNC%2D2101-65740300A2900003L: Missing or invalid XML node; attribute="type" parameter="InternetGatewayDevice.Services.FAPService.1.FaultMgmt.ExpeditedEvent.1.EventTime"
2023-10-04T07:52:09.551Z [WARN] ::ffff:28.1.30.13 000000-LNC%2D2101-65740300A2900003L: Missing or invalid XML node; attribute="type" parameter="InternetGatewayDevice.Services.FAPService.1.FaultMgmt.ExpeditedEvent.1.AlarmIdentifier"
2023-10-04T07:52:09.551Z [WARN] ::ffff:28.1.30.13 000000-LNC%2D2101-65740300A2900003L: Missing or invalid XML node; attribute="type" parameter="InternetGatewayDevice.Services.FAPService.1.FaultMgmt.ExpeditedEvent.1.NotificationType"
2023-10-04T07:52:09.551Z [WARN] ::ffff:28.1.30.13 000000-LNC%2D2101-65740300A2900003L: Missing or invalid XML node; attribute="type" parameter="InternetGatewayDevice.Services.FAPService.1.FaultMgmt.ExpeditedEvent.1.ManagedObjectInstance"
2023-10-04T07:52:09.551Z [WARN] ::ffff:28.1.30.13 000000-LNC%2D2101-65740300A2900003L: Missing or invalid XML node; attribute="type" parameter="InternetGatewayDevice.Services.FAPService.1.FaultMgmt.ExpeditedEvent.1.EventType"
2023-10-04T07:52:09.551Z [WARN] ::ffff:28.1.30.13 000000-LNC%2D2101-65740300A2900003L: Missing or invalid XML node; attribute="type" parameter="InternetGatewayDevice.Services.FAPService.1.FaultMgmt.ExpeditedEvent.1.ProbableCause"
2023-10-04T07:52:09.551Z [WARN] ::ffff:28.1.30.13 000000-LNC%2D2101-65740300A2900003L: Missing or invalid XML node; attribute="type" parameter="InternetGatewayDevice.Services.FAPService.1.FaultMgmt.ExpeditedEvent.1.SpecificProblem"
2023-10-04T07:52:09.551Z [WARN] ::ffff:28.1.30.13 000000-LNC%2D2101-65740300A2900003L: Missing or invalid XML node; attribute="type" parameter="InternetGatewayDevice.Services.FAPService.1.FaultMgmt.ExpeditedEvent.1.PerceivedSeverity"
2023-10-04T07:52:09.551Z [WARN] ::ffff:28.1.30.13 000000-LNC%2D2101-65740300A2900003L: Missing or invalid XML node; attribute="type" parameter="InternetGatewayDevice.Services.FAPService.1.FaultMgmt.ExpeditedEvent.1.AdditionalText"
2023-10-04T07:52:09.551Z [WARN] ::ffff:28.1.30.13 000000-LNC%2D2101-65740300A2900003L: Missing or invalid XML node; attribute="type"
It’s my provision
log("test log testLoadFile2");
//let configOrigin = getParameterValue('InternetGatewayDevice.DeviceInfo.X_CLEARACCESS_COM_Origin');
//let username = getParameterValue('InternetGatewayDevice.ManagementServer.Username');
//log("configOrigin: " + configOrigin);
//log("username: " + username);
//log("model: " + model)
let file = upgradeFiles[0];
let basePath = "Downloads.[FileType:" + file.type + "]";
log("basePath: " + basePath);
log("file.filename: " + file.filename);
log("file.type: " + file.type);
log("now: " + now);
log("--------------------------------------------------------");
Two things.
First, remove the 4 VALUE CHANGE
entry in the preset. Its not necessary for what you are trying to accomplish.
Second, if what you pasted is the entirety of your provision script, then you have an error in there. On line 7, the variable upgradeFiles
is not assigned anywhere in your provision.
1 Like