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 - rainerh

#31
General Support / Transform string to integer
September 07, 2017, 04:01:37 PM
Hello,

I get the disk temperature in string format:
Temperature Disk HDD4 = 40 C/104 F
The value is 40 C/104 F (string)
How can I transform these value for Thresholds to integer? And I only want to get 40 without "C/ 104 F"
For Example warning if temperature is grater then 50 C

Thank you
Rainer
#32
General Support / Re: transfom SNMP Server UpTime
June 09, 2017, 04:34:59 PM
? ? ?
#33
General Support / transfom SNMP Server UpTime
June 06, 2017, 11:10:56 AM
Hello,

I got the following Value, when I ask for Server UpTime via SNMP (Walk 1.3.6.1.2.1.25.1.2)
07 E1 06 05 15 0F 11 0D 0A

07 E1 means 2017, 06 means Month 6, 05 menas day 5

Is there a transformation in NETXMS like strtotime?

A date-time specification.

            field  octets  contents                  range
            -----  ------  --------                  -----
              1      1-2   year*                     0..65536
              2       3    month                     1..12
              3       4    day                       1..31
              4       5    hour                      0..23
              5       6    minutes                   0..59
              6       7    seconds                   0..60
                           (use 60 for leap-second)
              7       8    deci-seconds              0..9
              8       9    direction from UTC        '+' / '-'
              9      10    hours from UTC*           0..13
             10      11    minutes from UTC          0..59


Thank you
#34
Hello,

I tried to use HP.xml for Import from Hanfelt (Post April 06, 2017).
* HP.xml (78.52 kB - downloaded 23 times.)

The Import ends with error:

Cannot import configuration: Configuration cannot be imported because of validation errors

How can I import the XML-File?

I use version 2.1-RC1

Thank you
:)
#35
General Support / Re: Windows updates
May 26, 2017, 02:32:52 PM
With new Version nxagent-2.1-RC1-x64 I will have the same error:
Cannot get current parameter value: Operation cannot be completed due to agent error
#36
General Support / Re: Web Interface does not work
May 15, 2017, 10:51:05 PM
I solved the problem:

- uninstall all old versions, I found it with:  dpkg --get-selections | less | grep jdk | java | tomcat
example: # apt-get remove openjdk-7-jre-headless:amd64
# apt-get remove openjdk-7-jre:amd64
# apt-get remove tomcat7
In Logfile /var/log/tomcat8/catalina.out I found a missing JAVA servlet 2.3
solved with # apt-get install libservlet3.1-java
# service tomcat8 restart
# delete nxmc.war and folder
deployed with tomcat web admin page the new nxmc.war
And now it runs.

I have a new problem in LogFile:
[/nxmc] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache

Who can I manage / increase the cache level?
#37
General Support / Re: Web Interface does not work
May 15, 2017, 09:58:29 PM
Thanky to Kevo  :)
I did everythin and will have this configuraion on DEBIAN:
java version "1.8.0_131"
tomcat8
tomcat-admin
I delete all old files (nxmc.war) and directories (nxmc) in /var/lib/tomcat8/webapps
Then I started Tomcat Web Application Manager an deployed the nxmc.war file.
After a few seconds the /nxmc was listed in Applications
But when I click on this Applikation I will have a new message and the NETXMS GUI will not work:
HTTP Status 404 – Not Found
Type Status Report
Message ProxyServlet: /
Description The origin server did not find a current representation for the target resource or is not willing to disclose that one exists.
Apache Tomcat/8.5.12 (Debian)

#38
General Support / Web Interface does not work
May 15, 2017, 03:42:27 PM
Hello,

I made an update from V 2.0.6 to 2.1-M3
Everything works fine

Today I made the update from 2.1-M3 to 2.1-RC1
I think the server works fine, I can us it with my local Management Installation.

I made the update with WEB Interface on my DEBIAN (nxmc-2.1-RC1.war --> nxmc.war)
The neccessary folder (nxmc) was cerate automaticaly.

I cannot reach the side by http://server:8080/nxmc/ or http://server:8080/nxmc/nxmc/
Message:
HTTP Status 404 - ProxyServlet: /
type Status report
message ProxyServlet: /
description The requested resource is not available.
Apache Tomcat/7.0.56 (Debian)
#39
General Support / Re: CPU instance discovery
March 19, 2017, 02:19:24 PM
Thank you, now the script and instance discovery works fine
#40
General Support / Re: Windows updates
March 19, 2017, 11:09:57 AM
I have a Windows Server 2016 but this DCI will not work: System.Update.LastInstallTime
Error: Cannot get current parameter value: Communication failure
#41
Hello,

I have the Problem to find the Name for the Discovery data, when I try to get the "Average disk queue length of device {instance} for last Minute" = System.IO.DiskQueue({instance}).

Instance Discovery:
   Instance discovery method: Agent List
   List Name: ??? wehre can I get all available Names with a short description who to use ???
                  Here I am looking for the correct Name of the possible devices to get disk Queue length
   Instance discovery filter script: ???

Here Is an example which will work for File System and free disk space:
"Percentage of free space on file system {instance}" = FileSystem.FreePerc({instance})

Instance Discovery:
   Instance discovery method: Agent List
   List Name: FileSystem.MountPoints
   Instance discovery filter script:
          if (rindex($1,":")>0)
          {
             type = AgentReadParameter($node, "FileSystem.Type(" . $1 . ")");
             return (type != null) && (type != "CDFS"); 
          }
          return false;

This solution I found in NetXMS Support Forum - Thank you!

Thanks!
#42
General Support / Re: CPU instance discovery
October 06, 2016, 05:28:35 PM
Hello,

I tried the script, but it does not work:

Configuration like this:

General:
   Description = Average CPU {instance} utilization for last Minute
   Data Parameter = System.CPU.Usage({instance})    from NetXMS Agent (Integer)

Instance Discovery:
   Instance Discovery method = Script
   next line = System.CPU.Count
   Instance discovery filter script = your script

Thank you
Rainer
#43
General Support / Re: MIB Browser problem
September 13, 2016, 09:14:14 AM
Hello,
I have the same Problem.
I want to see the OID as text and not as number.
What have you done?
Thank you
#44
General Support / MIB conversation Numbers to Names
September 12, 2016, 12:56:11 PM
Hello,

I have installed and converted all MIB files to netxms.mib.
When I open MIB Explorer on a node, only the Numbers (OID), seperated by dot (.) will appear.
I think, that when the netxms.mib file is present, the OID Numbers will be converted to the Name.
For example:
OID .1.3.6.1.2.1.1.7.0 = sonicCurrentCPUUtil.0
OID .1.3.6.1.2.1.31.1.1.1.6.1 = Inbound traffic on X0 (bytes/sec)

only with the ". Number" it is very difficult to generate a data Collection item

For this example I addes 4 MIB files from DELL (SonicWALL)
I have the same Problem with allready installed MIB files from NetXMS, when I test a HP Procurve Switch

The NetXMS is intalled on DEBIAN GNU/Linux 8 (64Bit)
the netxms.mib file is located at /var/lib/netxms/
(I tested it located in /usr/share/netxms/mibs/ - same Problem)

Thank you
Rainer