-
Notifications
You must be signed in to change notification settings - Fork 4
nAttrMon Warnings
Nuno Aguiar edited this page Mar 14, 2018
·
5 revisions
This functionality is now provided directly on the ops channel, check output channels description.
If you have the nAttrMon internal warnings channels (nattrmon::warnings) exposed (see nOutput_Channels) with the right permissions you can clean a warning in two ways:
- Clean way through an openaf-console:
$ch("warns").createRemote("http://user:password@nattrmon.server:port/chs/warns");
var w = $ch("warns").get({ title: "The attribute I want to remove" });
w.level = "Closed";
$ch("warns").set({ title: w.title }, w);
- Dirty way through an openaf-console:
$ch("warns").createRemote("http://user:password@nattrmon.server:port/chs/warns");
$ch("warns").unset({ title: "The attribute I want to remove" });
-
Using the nAttrMon snapshot file with restart keeping everything else:
- Stop nAttrMon
- On the config folder move/rename nattrmon.snapshot to nattrmon.gz
- Gunzip nattrmon.gz and edit
- Remove the warning entry you want (be careful to still leave a valid JSON file)
- Gzip nattrmon and move/rename back again to nattrmon.snapshot
- Start nAttrMon
-
Using the nAttrMon snapshot file with restart losing all the snapshot:
- Stop nAttrMon
- On the config folder delete nattrmon.snapshot
- Start nAttrMon