Menu

Show posts

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 Menu

Messages - Alex Kirhenshtein

#61
General Support / Re: Scheduled Task: Execute.Action?
September 19, 2022, 02:09:54 PM
You can execute any action which is provided by the ageng (e.g. System.Restart). Also you need to select target object (where action will be executed).

List of actions can be queried from the agent, either with "nxget -l AGENT_IP Agent.ActionList" or in the GUI - right click on the node, then select Tools -> Info->Agent->Supported actions
#62
Hi.

"pass" should be "password" in your config. Also debug tag "nc.*" should be "nc".

Correct confiration:

host=10.0.0.1
secondaryHost=10.0.0.2
login=user1
password=password1
mode=TEXT

mode can be either "TEXT" or "PDU". Secondary host is optional.

Sample session attached (added new notification channel and tried to send message to non-existing device):

Screenshot 2022-09-19 at 13.59.25.png
#63
I've build nddload which should be compatible with 4.1.420 packages. Please download it here: https://cloud.radensolutions.com/s/Y8AS9HWgXNb6BfY.
#64
It's missing from packages, I'll add it to next release.
#65
General Support / Re: Tip: Proxmox zpool status
August 25, 2022, 10:14:41 AM
thanks
#66
General Support / test
August 19, 2022, 11:26:26 AM
test
#67
General Support / Re: Report server - Windows
August 13, 2022, 11:22:33 PM
Jasper Reports is a 3rd-party product. All custom extensions (parameter types for GUI, etc.) are described the repository i've shared earlier.

Report designer is unrelated to the NetXMS and you should see TIBCO's guides.
Check section "Resources" at https://www.jaspersoft.com/products/jaspersoft-studio, specifically this video: https://www.youtube.com/watch?v=yRLvJgz9Dxk.

Alternatively, we can offer you custom development or training on both NetXMS and reporting. Plese contact [email protected] for offer.

Quote from: blairmc96 on August 12, 2022, 06:23:49 PM
Can I please get some help with this?
#68
General Support / Re: Report server - Windows
August 01, 2022, 09:26:18 PM
Simplest way is to copy any sample report, change name in file .project, then import into jaspersoft studio. Another way - copy, import, then rename project in the studio.
Once done, edit pom.xml and change "buildUuid" to any other UUID (it's used to distinguish between deployed reports).

Then open main.jrxml and start designing.

DB connection is provided by the reporting server or jaspersoft studio during development phase.
Fields are either defined manually, or you can click "read" in query editor.
#69
General Support / Re: Report server - Windows
August 01, 2022, 01:12:42 PM
You need to copy just .jar (or .zip) files to definitions folder. These files will be unpacked by the reporting server and deployed automatically.
#70
General Support / Re: Report server - Windows
July 31, 2022, 01:47:36 PM
#71
in Script Library there is a script call Hook::CreateInterface. You can put any code there, which will be executed when new interface is about to be created. If you return "true" (or hook is empty) - interface will be created, if false - it will be ignored.

This will not affect existing interfaces, and you'll have to delete them either by hand (filter them by name, for example, and bulk delete) or using script

for (n : GetAllNodes()) {
    println(n->name . "(" . n->id . ")");
    for (i : n->interfaces) {
        println("\t" . i->name);
        if (...) { i->delete(); }
    }
}


Check NXSL documentation for more information: https://www.netxms.org/documentation/nxsl-latest/
#72
Script-based DCI will be the best soluion here, I think.

Script should be something like (pseudo code):


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;
#73
Hello, dear NetXMSers!

It's that moment when we ask something from you. Please, tell more people just about how powerful and flexible NetXMS system is and leave your review (big or small — anything counts) on Trustpilot and G2.

We hope it's not much and we also hope you can do it with pleasure, as NetXMS really deserves it!
>>> Stay cool and thank you so much in advance.

Sincerely,
Team NetXMS
#74
try node #2277 (you can search by node id in object browser)