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 - Dawid Kellerman

#1
General Support / Metrics from logwatch events
April 12, 2022, 09:46:33 PM
Hi
I am hoping someone could point me into a direction. Still new and I would like to get some insights on the best angle to do what I want..  graphs/dials on the performance tab but from events in log files with logwatch. eg ssh login failures for the last day. Or from cfengine logs how many promises kept, how may repaired and how many failed.

What would be the best?
Use the agent with some external commands / custom parsing scripts for the ssh login failures or whatever log.
Or is there a way I can get the metric/dci values from events that came from event processing? with the parameter values captured.

It feels like there should be a way to get the events from logs as values to use like with dci's and last values for a time line.

Thank You
Dawid
#2
General Support / Silent Windows agent install 3.9.235
September 23, 2021, 04:59:51 PM
Hi
I am adding this in the hopes that it  would save someone time.  Another older post from Alex put me on the right track.

We are installing the windows agent with opsi a software deployment package, so a silent unattended install. The following two options are available in the manual install and not selected by default. We wanted them on and  could not see a way to select it with the silent options.

[ ]Install session agent (will run in every user session)
To see who is logged in and take a screen shot.

[ ]Install user support application (will run in every user session)
To send a application support message.

Part of our silent string:
files1\nxagent-3.9.235-x64.exe" /sp- /silent /norestart /nocancel /SUPPRESSMSGBOXES /LOG "$LogDir$\$ProductId$.install_log.txt" /SERVER=netxms.xxx.com.na /TUNNEL /LOGFILE=C:\NetXMS\log\nxagentd.log /SUBAGENT=FILEMGR

The following black registry were needed especially the second dword one if that is not in no sending messages.

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run]
NetXMSSessionAgent    REG_SZ    C:\NetXMS\bin\nxsagent.exe -c C:\NetXMS\etc\nxagentd.conf -H
NetXMSUserAgent    REG_SZ    C:\NetXMS\\bin\\nxuseragent.exe


This part was setup by the silent install.

[HKEY_LOCAL_MACHINE\SOFTWARE\NetXMS\Agent]
InstallPath    REG_SZ    C:\\NetXMS
ConfigFile    REG_SZ    C:\NetXMS\etc\nxagentd.conf
ConfigIncludeDir    REG_SZ    C:\NetXMS\etc\nxagentd.conf.d
ReloadFlag    REG_DWORD    0x00000001(1)

WithUserAgent REG_DWORD 0x00000001 (1)

Regards Dawid

#3
Hi,
I have upgraded to the latest Version 3.9.235 on Debian also did it on Ubuntu at work.
When I want to assign a node to rack or chassis I get the following error :

Failed to update rack/chassis placement: Variable not found

I only tried on Rack only as I don't have chassis.. Nodes that are in the rack can also not be moved same error on apply.
Any help or direction would be greatly appreciated !

I have done
nxdbmgr
   check                : Check database for errors
   check-data-tables    : Check database for missing data ta
both went fine.

Thanks You