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

#1
Hi guys,
my main Problem is, that the database Forgets all devices each time the Netxms Server Service starts.
I use Version 2.2.8, upgraded from 2.2.7, upgraded from 2.0.M2 in a Windows Environment with around 150 devices to monitor with MariaDB.
All Upgrades seem to work.
The Problem exists from 2.2.7 and is not fixed by upgrade.

The eventlog showed many db Errors, there were many links, which did not match.

I ran nxdbmgr check, which found many Errors. I let it fix them all.
I ran nxdbmgr check-data-tables and let it fix one error.

-> devices already do not survive a Restart of the netxms Server Service.
-> eventlog Shows an error "table nodes has no column named rack_image_front"

I suppose a Problem in nxdbmgr in this Version, which does not check this table correctly.

Now I wanted to create a new install with a new database. The Setup created an empty database file and the Service won't start.
I suppose another Problem with the Setup, which does not create a new database correctly.

What can I do now?

Thank you for your help.
Regards
Martin
#2
Hi,
I have to connect an ups to an agent machine.
With serial attached ups it works fine.
I need more detailed information for USB-attached ups.

http://wiki.netxms.org/wiki/Uninterruptible_Power_Supply_(UPS)_Monitoring
says I need a line like following:

Device = 0:<UPS serial number>:USB

What exactly is meant with <UPS serial number>?
Thank you for your help
Best Regards
Martin
#3
Hi there, after hours of googling I hope to get help here.
I just want to execute a command on the agent's computer, but it still ignores it.
- I successfully configured an alarm with somehow action (send an E-mail).
- I additionally configured an Agent's action named 'shutthisdown' and configured it to the same alarm, which sends the email.
- examined the log file, but I can not find an entry about any command to execute.
Only wevtapi.dll was not found.

Here is the Agent config file:

--8<--
#
# NetXMS agent configuration file
# Created by agent installer at Tue Jun 25 10:47:56 2013
#

DebugLevel = 9
Controlservers = netxms.lorenz-messtechnik.local
MasterServers = netxms.lorenz-messtechnik.local
ConfigIncludeDir = C:\NetXMS\etc\nxagentd.conf.d
#LogFile = {syslog}
LogFile = C:\NetXMS\debuglog.txt
FileStore = C:\NetXMS\var
SubAgent = ecs.nsm
SubAgent = ping.nsm
SubAgent = logwatch.nsm
SubAgent = portcheck.nsm
SubAgent = winperf.nsm
# Action= shutthisdown:cmd.exe /c "shutdown /s /t 180 /f"
Action= shutthisdown:cmd.exe /c "dir c:\ > c:\1.txt"
SubAgent = wmi.nsm
SubAgent = ups.nsm

# UPS subagent configuration section
*UPS
Device = 0:"COM2:":APC
-->8--

Many thanks for your help

Martin