Skip to content

Support

5.1k Topics 22.0k Posts

Questions about installing, configuring and using NetXMS.

  • SNMP Get disk free space

    12
    0 Votes
    12 Posts
    73k Views
    B
    @ytrasse said in SNMP Get disk free space: Hello andrey--k I tested your hdd-template. In general it seems to be ok. But there is no transforamtion script to display the values in GByte. So I decided to merge your hdd-template with filter and instances with my working transformation script (see above). But I had no real success, because it seems that {instance} is not allowed in transformation scripts. e.g. ...  oid = ".1.3.6.1.2.1.25.2.3.1.5." . {instance};  disksize = SNMPGetValue(transport,  oid);  // get Disk size I also created a template for getting the memory size/used/free/percent template similar to the disk templates. My calculation of free memory here is also not working. (Other calculations are working) transformation script: sub main() {   memused = GetDCIValueByName($node,(".1.3.6.1.2.1.25.2.3.1.6.".$1));   memsize = GetDCIValueByName($node,(".1.3.6.1.2.1.25.2.3.1.5.".$1));   memfree = (memsize - memused) * 64 / 1024;   return (memfree); } Attached there are my templates for Disk size/free/used/percent and Memory size/used/free/percent It would be nice if somebody could check what is wrong with my templates. Hi ytrasse, I have tried your transformation script and it's not working. Is there any updates?
  • database locked error

    7
    0 Votes
    7 Posts
    42k Views
    H
    Awesome Alex. Thank you very much. I'll migrate and post back. But seems easy and I guess there won't be problems. Also Just an update, The problem is solved following the steps from this post. http://techblog.dorogin.com/2011/05/sqliteexception-database-disk-image-is.html After re-creating my database that was 3.5GB, now it has 1.0Gb and pretty fast. I'll proceed with the database migration. Thanks again.
  • Couldn't get correct value of the SNMP OID "memTotalFree"

    6
    0 Votes
    6 Posts
    21k Views
    B
    @user54119 said in Couldn't get correct value of the SNMP OID "memTotalFree": hostmib is supported by Windows SNMP server (OID: .1.3.6.1.2.1.25). You can have a look there,maybe you found something usefull. Try also .1.3.6.1.4.1.77 (but I don't have installed the mib) In .1.3.6.1.2.1.2 you find network related things. Try also DCI with Origin 'Windows Performance Counters', but no, this needs the agent  Thank you very much. I will learn these OIDs.
  • SNMP Walk Error

    4
    0 Votes
    4 Posts
    17k Views
    V
    SNMP walk is an actual SNMP request which returns actual data. You cannot send request to template as it is just a configuration element. Best regards, Victor
  • Conversion from Zabbix to Netxms

    1
    0 Votes
    1 Posts
    12k Views
    R
    We are currently using the Zabbix v2 system to monitor our infrastructure across an MPLS for 3 sites.  We have approximately 500 nodes that are being monitored and the system work pretty well and we have grown familiar with working with the system. A couple of weeks ago a friend of a friend had turned us on to the Netxms monitoring system (windows version).  And so far we like what we have seen thus far.  My question is.. A.  For anyone that was using Zabbix Monitoring system previously, Is it your opinion worth the conversion process? B.  Has anyone had experience converting the zabbix template and reports to be used for Netxms? C.  Has anyone used commercial support in the initial setup of a production system for Netxms?  The reporting function is very important, and I am seeing some issue's with the report generation in the windows version. Thanks in advance for any information you care to share... Ron.
  • Freezing Agents

    6
    0 Votes
    6 Posts
    20k Views
    L
    Hi victor, i didn't get the chance to run one of the agents in debug mode but i have noticed that after a power failure or lost of communication to the server the agents changes their status either to "1" or just freeze and they do not restore their connection when the server is connected again. hope it will help you find something. Best Regards, Lindeamon
  • syslog parser

    3
    0 Votes
    3 Posts
    16k Views
    migaczM
    hi i have a problem with syslog too. netxms 1.2.14 on w2k8r2 dont catch any syslog message
  • Error on compiling MIB for H3C based devices

    3
    0 Votes
    3 Posts
    16k Views
    D
    I got this error message: NetXMS MIB Compiler  Version 1.2.14 Copyright (c) 2005-2013 Victor Kirhenshtein Parsing source files:   c:\netxms\var\addmib\hh3c-product-id.mib   c:\netxms\var\addmib\hh3c-oid.mib   c:\netxms\var\addmib\rfc1155.smi c:\netxms\var\addmib\rfc1155.smi: ERROR 003: Parser error - syntax error, unexpected UCASEFIRST_IDENT_SYM, expecting OBJECT_TYPE_SYM in line 20
  • Unmanaged nodes and push agent triggers alarm

    4
    0 Votes
    4 Posts
    18k Views
    V
    No, it's a bit different - I was thinking that you are talking about built-in syslog server. Anyway, it is possible to add an option to discard data push for unmanaged nodes. Best regards, Victor
  • agent on solaris derivitive

    3
    0 Votes
    3 Posts
    15k Views
    C
    This is what i get Not Found The requested URL /download/agent_packages/RADnxagent.1.2.14.i86pc.pkg.gz was not found on this server. Apache/2.2.16 (Debian) Server at www.netxms.org Port 80
  • String threshold not generating alarm?

    4
    1
    0 Votes
    4 Posts
    21k Views
    R
    Some progress being made. I removed the trigger that I converted to template, applied to the hosts and restarted the netxms server. Suddenly alarms work again. I believe I have hit some sort of bug but unsure what exactly. I'll try to recreate the problem.
  • Status Calculation not working in Maps

    4
    0 Votes
    4 Posts
    20k Views
    V
    I hope to made it available in a week or so. Best regards, Victor
  • Event processing, Configuration File Policies and Package Manager

    8
    0 Votes
    8 Posts
    33k Views
    V
    Hi! Bug with repeated threshold violation events was fixed in 1.2.14. I had to read our own change log first Issue 564 is relatively easy to implement, I think I can made it before 1.2.15 release. 563 is more complicated, and most likely it will not be before 1.2.16 release. Best regards, Victor
  • Image Library

    2
    0 Votes
    2 Posts
    14k Views
    V
    Hi, default map image size is 48x48. Best regards, Victor
  • Polling Options Under Node

    4
    0 Votes
    4 Posts
    7k Views
    V
    Hi! Valid options are: NF_DISABLE_DISCOVERY_POLL NF_DISABLE_TOPOLOGY_POLL NF_DISABLE_SNMP NF_DISABLE_NXCP (to disable agent) NF_DISABLE_ICMP NF_FORCE_ENCRYPTION NF_DISABLE_STATUS_POLL NF_DISABLE_CONF_POLL NF_DISABLE_ROUTE_POLL NF_DISABLE_DATA_COLLECT It's a bit mask, so you can combine multiple flags using bitwise OR operation, like this: newFlags = node.getFlags() | Node.NF_DISABLE_SNMP | Node.NF_DISABLE_ICMP Best regards, Victor
  • Ubuntu 14.04 / sqLite - Your database has format version -1, ...

    2
    0 Votes
    2 Posts
    8k Views
    A
    You need to create all required tables and load initial configuration. This can be done with "nxdbmgr init path_to_sql_file" command, for example: nxdbmgr init /opt/netxms/share/netxms/sql/dbinit_pgsql.sql You need to change path (/opt/netxms/share/netxms/sql/) to conform your installation, and please note, that file name is different for different database types: AirAlk:~() $ ls -l /opt/netxms/share/netxms/sql/dbinit_*.sql -rw-r--r-- 1 alk admin 120673 Jun 22 22:17 /opt/netxms/share/netxms/sql/dbinit_db2.sql -rw-r--r-- 1 alk admin 119910 Jun 22 22:17 /opt/netxms/share/netxms/sql/dbinit_mssql.sql -rw-r--r-- 1 alk admin 112856 Jun 22 22:17 /opt/netxms/share/netxms/sql/dbinit_mysql.sql -rw-r--r-- 1 alk admin 120498 Jun 22 22:17 /opt/netxms/share/netxms/sql/dbinit_oracle.sql -rw-r--r-- 1 alk admin 117540 Jun 22 22:17 /opt/netxms/share/netxms/sql/dbinit_pgsql.sql -rw-r--r-- 1 alk admin 118248 Jun 22 22:17 /opt/netxms/share/netxms/sql/dbinit_sqlite.sql In your case, most likely command will be nxdbmgr init /usr/share/netxms/sql/dbinit_sqlite.sql NB! We strongly suggest not to use SQLite for anything than testing or development
  • Transformation script and $dci object

    4
    0 Votes
    4 Posts
    11k Views
    V
    Hi! Currently there are no other way to show dashboard without giving read access to nodes where data is collected, so your approach is absolutely right. As for the script, it's actually a bug - in test mode $dci variable is not set. I'll fix it in the next release. Best regards, Victor
  • too much alarm

    13
    0 Votes
    13 Posts
    22k Views
    C
    it works! thanks a lot for your prompt reaction. now netxms 1.2.13 is running find on my server. thank you, christian
  • Database errors when DCI from templates deleted

    4
    0 Votes
    4 Posts
    17k Views
    Dani@M3TU
    Ok, everything clear. Thank's Alex
  • ExternalParameter ntpdate <<error>>

    2
    0 Votes
    2 Posts
    16k Views
    M
    Adjusting ExecTimeOut in nxagend.conf solved the issue.