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

Topics - gkaudewitz

#1
General Support / Accessrights for Maintenance Journal
February 16, 2024, 05:42:51 PM
It is possible configuring rights for editing Maintenancejournal from within objectproperties of "Infrastructure Services".
Is there a possibility editing these rights from within user and group definitions at "User and groups"?
#2
Hello together,

configuring different community-strings for read and write access is a common solution on SNMP-servers.
What is the way to implement the usage of a seperate community-string for SNMP-set-access to networkcomponents from within NetXMS.

Best regards

Georg
#3
Passiv PDUs that are mounted at front or back of the rack can be documented within "Passive Elements". PDUs that are 19"-mountable and active managed can be placed at the HE as mounted.

Many larger PDUs are mounted vertically within rack (managed or unmanaged). Would it be possible to expand the logic for rack-definitions the way that these PDUs are documentable for a rack?
#4
General Support / Using Scripts in Action Messagetext
November 08, 2023, 04:18:11 PM
Within action messsage text it is possible to use the %[name] macro for generating output to message-text. The called funktion can have parameters. That works fine.

The problem I want to solve is:
Who to use the values of other macros as parameter for the function. E.g. %[script/myfunct(%z,%a,%c)] with the values of %z, %a and %c. The first tests I did are resulting in the strings "%z", %a" and "%c" that are passed to called function.

Who can I achieve that values of macros are passed to the function?

Best regards

Goerg

#5
With NXSL it is possible to generate an output with "println" to the client.
Is there a possibility to create an input-window from an nxsl-script where an input can be requested with an individual description (value=readln("Please insert a value:")). Something like You have implemented with objecttools "InputFileds" but even generated as a result of some script-calculation.
Best regards
Georg
#6
General Support / Array returnd from Function
April 17, 2022, 12:03:49 PM
I'm not genius in script writing. As of this I do not know what I'm doing wrong.
Using Netxms 4.0-2227 calling a script from scriptlibrary out of Instance discovery filter I'm doing some analyzing of alias-string.
>>> 2022.04.15 22:38:50.538 *I* [nxsl.trace         ] NT_lib_InstDisc::int_InstDisc_01 called with: ##---#hjipeffebguo Fa0/4 (##---#hjipeffebguo)
Within the sub int_InstDisc_01 an other sub is called that should return an array consisting of three values and a string with three characters.
>>> 2022.04.15 22:38:50.538 *I* [nxsl.trace         ] NT_lib_Parsers::Parse_Interface_Alias_Prefix called with: ##---#hjipeffebguo
Using trace function I can figure out that the array will be constructed the right way within called sub Parse_Interface_Alias_Prefix.
>>> 2022.04.15 22:38:50.538 *I* [nxsl.trace         ] NT_lib_Parsers::Parse_Interface_Alias_Prefix returns Values (hashash has2hash hasparams param ):1;1;1;---;
But printing the resulting array within int_InstDisc_01 I only can identify the three values but there is no string to find
>>> 2022.04.15 22:38:50.538 *I* [nxsl.trace         ] In int_InstDisc_01 Return Values from Parse_Interface_Alias_Prefix: 1;1;1;;
Moving the three character-string from the last place in the array a little bit forward within sub Parse_Interface_Alias_Prefix just gave me analogous result without the string in returned array.

Is there a restriction concerning mixing of different types for the return array of a sub?

For production environment I have the two scripts in different libs. But I build up a test system where I put them in one library to reduce complexity.


Script snipplets:
sub int_InstDisc_01(ifalias,ifname)
{ trace(0,"NT_lib_InstDisc::int_InstDisc_01 called with: ".ifalias." ".ifname);
   
  inst_disc = false;
  array res1;

  res1 = Parse_Interface_Alias_Prefix(ifalias);
  trace(0,"In int_InstDisc_01 Return Values from Parse_Interface_Alias_Prefix: ".ArrayToString(res1,";").";");
.....
}

sub Parse_Interface_Alias_Prefix(ialias)
{ trace(0,"NT_lib_Parsers::Parse_Interface_Alias_Prefix called with: ".ialias);
 
  array retval;
....
  retval = %(hashash,has2hash,hasparams,param);
  trace(0,"NT_lib_Parsers::Parse_Interface_Alias_Prefix returns Values (hashash has2hash hasparams param ):".ArrayToString(retval,";").";");
  return(retval);



#7
Hello together,
I compiled netxms-server on debian from source.
When starting netxmsd I got the following problem:
1.) Starting with parameter -c /etc/netxmsd.conf I'm always gettng an error "Error loading config file"
2.) Starting without this parameter worked.
Configfile is a link within /etc-directory. Thus same file is used when calling with or without -c option.
Other parameters like -d or -D are working.
Best regards
Georg
#8
General Support / Values for Zonecolors for Gauge-Objects
February 07, 2021, 10:29:40 PM
Hello together,

defining a gauge for a dashboard it is possible to set values for different colorzones. Within properties form they will be defined by hand.
Is there a possibility to configure a calculation of these values from the values of an other DCI?
At our environmental monitoring we have defined individual warninglimits for some sensors. These limits are read out with a DCI and it would be great coloring the actual values regarding the individual warninglimits.

Best regards

Georg
#9
General Support / Problem after Upgrade to 3.4.232
July 30, 2020, 12:56:56 PM
Hello together,

I did a strange upgrade from version 2.0.5 with old mysql-database on openesuse to new mariadb 10.3 and netxms version 3.4.232 (with netxms dbupgrade and backgroundupgrade) on debian.

Using the GUI (via Tomcat and native gui on windows) first I was shoked, because from datacollection-configuration window I cannot display the linechart from a dci. Every time I'm trying this I will get "Cannot get value for DCI[0]:"<Name der DCI>" (Invalid object ID)".
But displaying last values from an object will work properly and within the "lastValues"-Window using linechart for a dci will display graph properly too. Same for normal DCi an table DCI. As I can see within lastvalues window datacollection is working regulary.
Editing a DCI from "Datacollection Window" I allways wil get the follwoing advice "This DCI was added by instance discovery Alllocal changes can be overwritten at any moment" but these DCIs are not edited with instance discovery!

Can anyone help me?

Best regards

Georg


#10
General Support / Imagelibrary with 3.2
February 26, 2020, 03:14:59 PM
Hello Victor,

thanks a lot for Your work providing netxms to the community!

I like the principles of your new implementation of image library, but I have some problmes to use it. First I have to tell You three things:
1.) I'm using images that are imported with version 2.0.5 of netxms-software. These images are copied from old imagelibrary to new system.
2.) I'm using source-code which is compiled on debian 10.
3.) As GUI I'm using windows 10-Console.

My problems are:
1.) Display of some images is not possible?
2.) Display of some images is broken, incomplet ore disrupted
This happens within imagelibrary and on the maps that are using these images.

Are there any needs of other packages to be installed with the new implementation of images?

Best regards

Georg
#11
General Support / Adding Predefined graphs to a dashboard
November 19, 2019, 10:17:16 AM
Hello together,

is it possible adding predefined graphs to a dashboard?

It would be great because you do not have to define same graph twice if you need the information to be displayed in a dashboard. On the other side you have different possibilties analyzing data with predefined graphs that you do not have with dashboards.

Best regards

Georg
#12
Hello together,

I have a problem getting connected mac-adresses for the ports of my Cisco switches. This occures on different models and software-releases.
CDP isn't activated at ports conected to enduser systems.
Same problems occure in my production environment with version 2.0.5 and my testenvironment with version 2.2.16.
As my production environment has old software implemented and I have to migrate the next weeks lets concentrate on version 2.2.16.
The switches are Cat 3850, 3650, 2960, 4500, 6500 and Nexus n5k.
Within NETxms I only see the MAC-Adresses of the peersystems when CDP is enabled on the interface. It seems that the Mac address table can not be read for the other systems.
Drivers for the systems are CISCO-GENERIC and CATLYST-Generic.
Is there a possibility detecting MAC-adresses for the endsystem ports without activating CDP on these ports at the switch so that they are searchable via tools?
Best regards
Georg
#13
General Support / Different behaviour format strings
March 19, 2019, 03:58:57 PM
Hello together,
Currently using Version 2.0.5 in production I have a map with a DCI container in it. DCI-Container is filled with values from a portchannel traffic counters. The values are formatted with "%*dbit/s" and I get a clean value with "638Kbit/s" or "673Mbit/s".
Using same formatstring with version 2.2.11 I get an errormessage "<INVALID FORMAT> /%d)bit/s". Only formatting with "%dbit/s" works but that gives me the raw value like "622600bit/s".
Has something changed concerning outputformatting or is there an error with my format string.
It would be great to have same output in version 2.2.11 as in 2.0.5 because it is much easier to read.
Best regards
Georg
#14
General Support / Compile Error on opensuse leap 15
July 09, 2018, 01:11:00 PM
Hello together,

compiling Your software on a fresh installed Opensuse Leap 15 system I get these errors:

  CXX      libnetxms_la-tp.lo
tp.cpp: In function 'void* WorkerThread(void*)':
tp.cpp:116:4: error: 'strlcat' was not declared in this scope
    strlcat(threadName, "/WRK", 16);
    ^~~~~~~
tp.cpp:116:4: note: suggested alternative: 'strncat'
    strlcat(threadName, "/WRK", 16);
    ^~~~~~~
    strncat
tp.cpp: In function 'void* MaintenanceThread(void*)':
tp.cpp:164:4: error: 'strlcat' was not declared in this scope
    strlcat(threadName, "/MNT", 16);
    ^~~~~~~
tp.cpp:164:4: note: suggested alternative: 'strncat'
    strlcat(threadName, "/MNT", 16);
    ^~~~~~~
    strncat
make[3]: *** [Makefile:1204: libnetxms_la-tp.lo] Error 1

Best regards

Georg
#15
General Support / Parameters for SMSEagle driver
October 02, 2017, 04:08:02 PM
Hello together,

what are the parameters to be configured when using a smseagle-device sending SMS directly from action configuration.

Best regards

Goerg
#16
Hello Netxms-team,

it is common usage installing components not only at the frontside of a rack but on the backside too.
As of this is it possible expanding the rack concept with an attribute like frontsidemount, backsidemount and frontandbacksidemount (for components that use both sides) and expanding the rackview to frontside view and backside view of the rack

Best regards

Georg
#17
Is there a possibility accessing custom attributes within the script of a condition Attribute?

Best regards

Georg
#18
Hello together,

writing a threshold condition for a table dci I would need to refer to a value of an other column in that table.

Example:
Having columns:
* Amps with an ampervalue describing actual power consumptions
* maxamps with an value for maximal allowed powerconsuption

I will need a condition like:
if (amps >= maxamps)
  Activationevent
else
  Deactivationevent;

Is there a way to implement such a condition with thersholds GUI?

As a workaround currently I create an activationevent within transformationscript.....

Best regards

Georg
#19
Hello,

does anyone has a solution for the following Problem?

At our datacenter we use Cisco Nexus-Switches with so called FEXes. FEX are used similar to linecards as they build one Switch for configuration with Nexus-Switches but are connected to the NEXUS with LWL-links. As of this they can be placed at different Locations than the NEXUS. It is not possible adressing the FEXes  separately.
Modelling the datacenter with racks it would be great also describing the position of FEXes and placing them into racks but not only the position of the NEXUS switch.

Does anyone has an idea how to do this with NETXMS?

Best regards

Georg
#20
General Support / Accessing Mapping Tables
July 28, 2016, 10:29:02 AM
Hello,

is there a possibility to walk through the mappingtable entries row by row with a NXSL-function within a script?

Best regards

Georg