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

Messages - Egert143

#241
General Support / Re: help with aggregate DCI
September 15, 2019, 02:41:55 PM
Hello

Sorry for digging up an old topic. Is this script supposed to work with current version ?

I made new script out of it and changed line:

"foreach (dci : FindAllDCIs($node,"\\MSExchange ADAccess Domain Controllers(*)\\LDAP Search Time") )"
to
"foreach (dci : FindAllDCIs($node,"Cpu *") )".

then added new dci with origin script and parameter selected as above script, i get result: -nan(ind) / result 0.

data looks like:

Cpu 1, Cpu 2, Cpu 3 etc. What am i dooing wrong ?
#242
General Support / Re: scripting and ssh commands
September 10, 2019, 10:36:44 AM
Any help with last question ? :)
#243
General Support / Re: scripting and ssh commands
September 05, 2019, 03:14:20 PM
Node 2493 is router. i changed it to netxms server and now the script is working.

AgentReadList(FindNodeObject($node, "NetXms-Server"), "SSH.Command(192.168.1.10, username ,password,put [/system reboot])");

When i create tool to run this script, how can i insert dynamic values to script, that are taken from node where tool is used (ip, username, password)?

Egert
#244
General Support / scripting and ssh commands
September 04, 2019, 07:55:45 PM
Could realy use some help with scripting, just starting out with it and could use some guidance.

i have peaced together a sample script that is supposed to ssh into device and reboot it, i wanna use it through tool menu. So far i havent got it working yet.

Script: AgentReadList(FindNodeObject($node, 2493), "SSH.Command(192.168.1.10,user,password,put [/system reboot])");

Device never recives any ssh logins
#245
General Support / Statistical info on custom map
September 02, 2019, 03:34:06 PM
Hello

Is it possible to include some statistical info on custom map? For example count down nodes on spesific subnet. Any quick examples perhaps ? :)

Egert
#246
Hello

Millenium7, did you get ssh script working ? I could use some examples also, how to get basic ssh commands working.

Egert
#247
General Support / switch port search for down node
August 01, 2019, 09:26:41 PM
Hello

Maybe a dumb question, but havent found easy solution yet. Lets imagine 200 ip cameras or other kind of devices connected to 10 x 24 port swithes. When a node or multiple nodes go down, what would be the easiest way to find out to what port they belong to? at the beginning switch will remember the device, but after some times it will forget it and netxms will show blank interface.

Some ideas:
* dig throught logs to see what port went down (not very usefull when 20 devices go down roughtly at same time.)
* add interface descriptions to switch ports (but what if the ports are moved around and forgot to change description)

Any button like: "find switch port" last seen port or somthing ? :)
#248
General Support / Manual parent defining for node
July 23, 2019, 12:11:44 PM
Hello

Is it possible to manualy define node parent? Currently i have few devices on some subnets that dont provide neccesary information for netxms to figure it out how nodes are connected, but if some dummy device fails  i get alot of node down messages.

#249
General Support / Re: Moving NetXms to new server
July 19, 2019, 08:56:36 AM
Not exactly, i upgraded old server to latest version and tryed to export database, but that stage already failed.

I got database to new server with migrate tool, now its succesfully running. :)

Egert
#250
General Support / Moving NetXms to new server
July 18, 2019, 10:34:11 AM
Hello

Old test server is getting slow (was not ment to be permanent), now when i have more capable server ready i have run into problems with moving installation.

I upgraded old server to latest version (2.2.6), its running under win 7 and database is mysql. I have searched around to find best way how to save db and import into new server. Currently i have tryed with "nxdbmgr export export_file" but i get following error: "ERROR: Schema version mismatch between dbschema_sqlite.sql and your database. Please check that NetXMS server installed correctly. Database export failed."

And for future in mind, how could one automate the backup process ? At the moment it seems its requirement to shutdown server for export.

Egert
#251
Hello

Having some trouble with nexus 3548 switch, i would like to see attached neighbours (fdb) but netxms fails to read the database. Its only detecting 2 other cisco switches via LLDP, but not devices directly attached to switch.

[20.06.2019 10:08:37] **** Poll request sent to server ****
[20.06.2019 10:08:37] Poll request accepted
[20.06.2019 10:08:37] Starting topology poll for node Sw 1
[20.06.2019 10:08:37] VLAN list successfully retrieved from node
[20.06.2019 10:08:37] Failed to get switch forwarding database
[20.06.2019 10:08:37] Link layer topology retrieved (2 connections found)
[20.06.2019 10:08:37] Updating peer information on interfaces
[20.06.2019 10:08:37]    Local interface Ethernet1/47 linked to remote interface Core 1
[20.06.2019 10:08:37]    Local interface Ethernet1/48 linked to remote interface Core 2
[20.06.2019 10:08:37] Link layer topology processed
[20.06.2019 10:08:37] Finished topology poll for node Sw 1
[20.06.2019 10:08:37] **** Poll completed successfully ****
#252
That was simple solution, thanks :)
#253
General Support / Alert based on syslog amount
June 18, 2019, 02:52:16 PM
Hello

Wanted to ask if its possible to alert based on how much node has logged syslog messages? For example if switch is usualy quiet and then suddenly starts generating alot of logs, is it possible to detect?

Egert
#254
Any ideas why netxms is crashing with ssh as data source?