News:

We really need your input in this questionnaire

Main Menu
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 - VMGuy

#1
General Support / Regex problem
January 26, 2015, 09:57:45 PM
Hi,

to extract the interface name from Net.InterfaceList I use this regular expression: "^(.+?)\s+(.+?)\s+(.+?)\s+(.+?)\s+(.+)$"
The reason is that Windows could contain spaces in the interface name: 13 10.141.120.11/23 6 000C29F2B70D LAN-Verbindung 2

It seems like NetXMS doesn't honor the non-greedy operator, because the result is:
$1 = 13 10.141.120.11/23
$2 = 6
$3 = 000C29F2B70D
$4 = LAN-Verbindung
$5 = 2

Actually $5 should be: LAN-Verbindung 2

Thanks, VMGuy
#2
General Support / Instance discovery
January 24, 2015, 03:37:24 AM
Hi,

I added some file system DCI using instance discovery.

When I use Agent List -> FileSystem.MountPoints it also discovers CD-ROM drives which results in an error value.
At least when I use the drive letters as the volume name is kind of unreadable.

So I tried using Agent Table -> FileSystem.Volumes but I couldn't figure out how to access this table in the filter script.
I also found a forum entry that said Agent Table wouldn't work.

Is this still true?
If not could someone please give me a hint on how to access the columns of this table?

Thanks, VMGuy
#3
General Support / Several problems (v2.0-M1)
January 13, 2015, 01:33:19 AM
Hi,

I played around a lot lately with NetXMS and here's a summary of where I have problems at the moment.
Don't know if they're caused by me or not.

- Creating a new user
  > Objects is completely empty
    > Doesn't matter if I set the permissions manually or if I add the user to an admin group
    > Checked with same permissions as admin user

- Deleting a user and recreating it with the same name
  > Always says the user already exists, but it's not in the user list anymore (also checked with refresh)
  > I need to restart the server to be able to create the user again

- Script library
  > Save button is disabled
    > The only way to save is closing the script and answer the next question with yes

- Edit agent's configuration file
  > Always get "Cannot open agent config: Access denied"
  > Appears on Linux and Windows
  > Other agent stuff works, e.g. software inventory

So that's what I remember :)

Thanks,
VMGuy

P.S.: Really like this product. Much easier to handle and to configure than others...
#4
Hi,

I just had/have a strange issue where the backend crashed and isn't able to start anymore.

That's what happened:
- I created a new script in the script library
- When I was finished I closed the script and was asked to save it
- I clicked yes and got an error - Something like "Broken pipe"
- Then the backend crashed and wasn't reachable anymore

And now I can't even start it.
The last entry in the log file is this:
...
[05-Jan-2015 22:42:18.366] [DEBUG] Script Filter::SNMP added to library
[05-Jan-2015 22:42:18.366] [DEBUG] Script Filter::Agent added to library
[05-Jan-2015 22:42:18.366] [DEBUG] Script Filter::AgentOrSNMP added to library
[05-Jan-2015 22:42:18.366] [DEBUG] Script DCI::SampleTransform added to library
[05-Jan-2015 22:42:18.366] [DEBUG] Script Hook::ConfigurationPoll added to library


After the last loaded script there should be the newly created one. I assume it can't be loaded and crashes the server.
I already did a DB check, but no problem was found.

What can I do to fix that?
Any chance to remove it from the database?

Thanks, VMGuy
#5
General Support / NetXMS and SNOM phones
December 19, 2014, 03:28:42 AM
Hi,

I'm currently trying add data collection parameters for our SNOM phones.
But unfortunately they support only snmpget and their agent is very limited (see: http://wiki.snom.com/Category:HowTo:SNMP).

I already tried to add a custom snmp.testoid parameter.
After that it gets recognized as an snmp device (side effect is that the hostname disappears).

But data collection parameters don't work (with or without snmp.testoid). The value is just "<<ERROR>>"
Linux snmpget (e.g. snmpget -v1 -c public a.b.c.d .1.3.6.1.2.1.7526.2.4) works.

Is there any way how to make data collection work?

Thanks, VMGuy