Skip to content

Support

5.1k Topics 22.0k Posts

Questions about installing, configuring and using NetXMS.

  • Debian Wheezy repo expired GPG key error

    5
    0 Votes
    5 Posts
    44k Views
    N
    Hi all the apt-key process seems to have fixed it on the jessie machines I have, but installing the netxms relase package on stretch doesn't seem to help. apt update Ign:1 http://ftp.iinet.net.au/debian/debian stretch InRelease Hit:2 http://ftp.iinet.net.au/debian/debian stretch-updates InRelease Hit:3 http://ftp.iinet.net.au/debian/debian stretch Release Hit:4 http://security.debian.org/debian-security stretch/updates InRelease Ign:5 http://packages.netxms.org/debian stretch InRelease Get:7 http://packages.netxms.org/debian stretch Release [2,671 B] Get:8 http://packages.netxms.org/debian stretch Release.gpg [819 B] Ign:8 http://packages.netxms.org/debian stretch Release.gpg Reading package lists... Done N: Ignoring file 'netxms.list.old' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension W: GPG error: http://packages.netxms.org/debian stretch Release: The following signatures were invalid: EXPKEYSIG 179C0A80CDFADDB1 NetXMS Automatic Signing Key <[email protected]> E: The repository 'http://packages.netxms.org/debian stretch Release' is not signed. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details.
  • CentOS Make Errors - agent_tunnel.h

    6
    0 Votes
    6 Posts
    39k Views
    V
    Probably it's not documented, but list is quite short actually. You definitely need openssl, for SSH support you need libssh, libmosquitto for MQTT support, libcurl for Jira integration and some SMS drivers, and JDK for Java subagents. Best regards, Victor
  • Netxms 2.2.4 - Default Windows Template DCI errors

    9
    0 Votes
    9 Posts
    50k Views
    L
    thank you very much
  • Schedule Node Restart

    2
    0 Votes
    2 Posts
    19k Views
    V
    Hi, you can use function AgentExecuteAction to execute action on remote agent. So script which will cause remote node to restart will looks like this: AgentExecuteAction($node, "System.Restart"); you can create scheduled task which will call this script. Best regards, Victor
  • Overlapping text in chart legend

    3
    1
    0 Votes
    3 Posts
    22k Views
    I
    Current version(2.2.4).
  • Subagent utilization and Summary notification

    6
    0 Votes
    6 Posts
    29k Views
    V
    I suppose you mean NXSL script? Then you can use function PostEvent (https://wiki.netxms.org/wiki/NXSL:PostEvent). Best regards, Victor
  • Creating an alarm/treshold to network traffic

    5
    0 Votes
    5 Posts
    21k Views
    D
    Thx again, in that case I don't need the alarms to stay since I can just go to the event log to know wen it happened and all the information regarding that moment.
  • Business Services disappear after server restart.

    2
    0 Votes
    2 Posts
    15k Views
    V
    Hi, it's a bug in a server. We will fix in in 2.2.5 release. Best regards, Victor
  • False SYS_NODE_DOWN alarms

    2
    2
    0 Votes
    2 Posts
    11k Views
    V
    Hi, in this debug output you see internal rule index, which is 0-based, so it's rule number 1. Node down was likely generated because agent was unresponsive and there are no other communication means for that node, so server consider it as down. There should be debug log records related to status poll of that node upper in the log. Best regards, Victor
  • Netxsms Backup need to be restored

    2
    0 Votes
    2 Posts
    8k Views
    V
    Hi, there are no standard procedure for that. You can though carefully insert necessary records into NetXMS DB from backup DB (while NetXMS server is stopped). What exactly for that device you need to restore? Best regards, Victor
  • error install netxms on debian 9 database

    2
    0 Votes
    2 Posts
    10k Views
    V
    Hi, I suppose it has something to do with selected database encoding, because it says that length of integer + varchar(255) key exceeds 767 bytes. As a workaround try to edit init script and reduce size of attr_name column in userdb_custom_attributes to 127 (you will not encounter any issues during server operation). Best regards, Victor
  • Show link between containers

    2
    0 Votes
    2 Posts
    9k Views
    T
    Ok I found it myself: Click on first Object, Ctrl-Click on the second object press Ctrl-L (or click on the Link selected object symbol on the right)
  • SNMP get temperature

    2
    0 Votes
    2 Posts
    13k Views
    T
    Hi, Based on what I can see at http://www.oidview.com/mibs/3417/SENSOR-MIB.html, the value you are trying to poll is part of a table. That means you should probably create a single template using Instance Discovery using .1.3.6.1.4.1.3417.2.1.1.1.1.1.1 as Base SNMP OID, instead of creating two different templates. You could probably also poll 1.3.6.1.4.1.3417.2.1.1.1.1.1.9 as part of your Instance Discovery script to return the name of the sensor for the DCI. The filter script would look similar to this: transport = CreateSNMPTransport($node); if (transport == null) return null; sensorName = SNMPGetValue(transport, ".1.3.6.1.4.1.3417.2.1.1.1.1.1.9." . $1); if (sensorName == null) return false; return %(true,$1,sensorName); I have no idea if the sensor name will always exist on this device or not. The code above will not create a DCI if a name does not exist. In fact, it will remove it if it can't find a name. You can then reference the sensor name in your DCI description as {instance-name} and the instance itself in the DCI parameter as {instance}. The parameter should therefore look like this: .1.3.6.1.4.1.3417.2.1.1.1.1.1.5.{instance} The description could be this: Bluecoat Temperature Sensor ({instance-name}) Cheers
  • SNMPSet

    3
    0 Votes
    3 Posts
    16k Views
    A
    Tursiops, Thanks for the reply! I had a chance to try your script. I followed the instructions to implement the script and I all received was a message that it executed successfully. The camera did not reset and I also tried it on a switch. I double checked the write community string. I'm going to have to double check again and make sure I have everything set up correctly. Thanks!!
  • Specific Interfaces send email to another additional address

    3
    0 Votes
    3 Posts
    11k Views
    I
    I've done it little different, What I was trying to do, is from a new event policy I selected the specific interfaces I wanted as source objects, but it was not working for some reason, It excecuted the general policy I had. What I mean, I had that specific policy if it match to send an email to one account. The general policy for interface down has another email account as action. When the interface changed state it only send email to the general policy. What I then did is in the event policy I removed the source object and add a filtering script. What I've written down is: IF ((($node ==Node-Name) && ($object == Interface-Name)) || (($node == Node-Name) && ($object == Interface-Name))) well this works fine as I want, it sends email on both email addresses as I want but netxms gives me a Minor Alarm. Event: SYS_SCRIPT_ERROR message :Script(EPP::6) execution error: Error 11 in line 1:Function not found Do you have any idea why this is an error as function not found, despite the fact the the policy works fine. Also why the policy does not work when I select the source objects from the Source object field Thank you in advance 1st Problem Found: the function should be in lowercases: if if ((($node ==Node-Name) && ($object == Interface-Name)) || (($node == Node-Name) && ($object == Interface-Name))) Well I speaked too soon, the problem is now that for whatever interface that gets down the second emails gets all alerts, so it does not work as expected Found the solution: if (($1 == Interface-ID)||($1 == Interface-ID)||($1 == Interface-ID)) return true; return false; So now it works as it should. When on those interfaces it sends on both emails, on every other interface it sends only on the general email
  • netxms > Tomcat7

    2
    0 Votes
    2 Posts
    8k Views
    V
    Hi, "connection refused" means that web application cannot connect to NetXMS server (netxmsd). Check that it is running. Best regards, Victor
  • Is there a way to group email alerts?

    5
    0 Votes
    5 Posts
    9k Views
    T
    Some very basic links regarding event processing and scripting: https://www.netxms.org/documentation/adminguide/event-processing.html https://www.netxms.org/documentation/adminguide/scripting.html#scripting There are several event processing policies related to interface state changes, which you can either change or disable and configure your own. You could for example add a filtering script that checks if a node is reachable via SNMP prior to triggering an alert. That way, if the node was down, you would receive the node down, but not the interface down alerts. If the node was up, the interface down alerts would still come through: snmpTransport = CreateSNMPTransport($node); if ( snmpTransport == null ) return false; return true; Technically NetXMS should be detecting that the node is down and thus not alert on the interfaces going down as well. I am not sure if that works or doesn't work - as I said, we are not alerting on that. That also still doesn't help you if you have a whole bunch of interfaces go down while the node is still up. Not sure how NetXMS is supposed to group those into a single email alert, as the events come in individually. To group them, NetXMS would have to delay sending the email for the first event while waiting to see if any additional events come in. Maybe the AlarmSummaryEmailSchedule, AlarmSummaryEmailRecipients and EnableAlarmSummaryEmails Server Configuration options can help you with that. I am not sure how much flexibility you require in regards to email recipients for different devices. We have never used these summaries, so I actually do not know how they look like at all.
  • Oracle Subagent windows server cannot load

    3
    0 Votes
    3 Posts
    11k Views
    M
    @victor said in Oracle Subagent windows server cannot load: Hi, oracle.ddr from Windows installer is built for Oracle client 12. You can use Oracle Instant Client - put it into NetXMS bin folder or add to system PATH. Best regards, Victor Thank you, i copied content of instantclient-basic-windows.x64-11.2.0.4.0.zip to nxagent bin folder , set up credentials, copied tnsnames.ora to bin folder *ORACLE ID = USER TNSName = XYZ.WORLD Username = USER Password = PASS Connected and queries are retrieved, Working ok.  
  • SNMP Traps configuration

    8
    0 Votes
    8 Posts
    16k Views
    L
    Hi Kirhenshtein, Thank you very much for your assistance. I'll wait until the next releases. Best Reguard
  • syslog parser rules from unknown source

    2
    1
    0 Votes
    2 Posts
    9k Views
    V
    Hi, currently it's not possible. Feel free to register a feature request for that. Best regards, Victor