thanks
We really need your input in this questionnaire
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts MenuQuote from: blairmc96 on August 12, 2022, 06:23:49 PM
Can I please get some help with this?
for (n : GetAllNodes()) {
println(n->name . "(" . n->id . ")");
for (i : n->interfaces) {
println("\t" . i->name);
if (...) { i->delete(); }
}
}
value = null;
if (CURRENT_NAME@$node != null) { // custom attribute CURRENT_NAME on current node
value = $node->readAgentParameter("..." . CURRENT_NAME@$node);
}
if (value == null) {
for (item : $node->readAgentList("...")) {
if (item match "...") {
// correct element found
$node->setCustomAttribute(CURRENT_NAME, item);
}
}
if (CURRENT_NAME@$node != null) { // custom attribute CURRENT_NAME on current node
value = $node->readAgentParameter("..." . CURRENT_NAME@$node);
}
}
return value;
2022.04.21 11:52:37.320 *D* [init.curl ] cURL supported protocols: dict file ftp ftps gopher gophers http https imap imaps ldap ldaps mqtt pop3 pop3s rtsp smb smbs smtp smtps telnet tftpQuote from: normalcy on April 06, 2022, 02:50:09 PM
Hi, I tried updating using the package, and using the netxms-keyring.gpg however I found I still got the old version expiring on the 24/3 with those.
...
Err:4 http://packages.netxms.org/debian bullseye InRelease
The following signatures were invalid: EXPKEYSIG 179C0A80CDFADDB1 NetXMS Automatic Signing Key <[email protected]>
Reading package lists... Done
W: GPG error: http://packages.netxms.org/debian bullseye InRelease: The following signatures were invalid: EXPKEYSIG 179C0A80CDFADDB1 NetXMS Automatic Signing Key <[email protected]>
E: The repository 'http://packages.netxms.org/debian bullseye InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
curl --proto '=https' --tlsv1.2 -O https://packages.netxms.org/netxms-release_1.10_all.deb
dpkg -i netxms-release_1.10_all.deb
apt update
curl --proto '=https' --tlsv1.2 -o /etc/apt/trusted.gpg.d/netxms-keyring.gpg https://packages.netxms.org/netxms-keyring.gpg # adjust file location
apt update
apt-key del 179C0A80CDFADDB11 # repease until apt-key list shows no key
curl --proto '=https' --tlsv1.2 -sSf https://packages.netxms.org/netxms.gpg | apt-key add -