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

#31
Sorry to reply to an older thread, but this is very much in line with the problem I'm having now.

I have some nodes that had active alarms when I deleted them, and I can clear those alarms out, but they always come back when I restart the core service on the server.

My alarm_events table shows what I see in F8 or ALT+SHIFT+A when I have entire network selected.

I think I've managed to delete the alarms, however, I get email alerts about these when I restart the service.

Is there another table that holds these orphaned alarms?

Thanks!
#32
Thanks, I just tried copying & pasting again but got the same error, see attached.  One of the machines I'm testing on has the FileSystem.Used({instance}) enumerated on it just fine and last values reports the data correctly.

I'm not sure what I'm doing wrong.
#33
Thanks for the help, that seemed to work, but I've got many other Windows servers with the exact same settings that work just fine.

I appreciate the help.
#34
Thanks!

What node do I create the DCI on?  Am I just missing something?

I did just copy & paste it into a new script.
#35
Thanks Victor.

When I try to run it against a node, I get this:

Error 14 in line 10: Function or operation argument is not an object

The server in question has the DCI FileSystem.Used on it and shows all the drives.

Also, how do I create a script DCI?  Where do I create that?

Thanks
#36
Here it is.  It's the same as all the rest.

Thanks!

#
# NetXMS agent configuration file
# Created by agent installer at Wed May 29 09:41:58 2019
#

MasterServers = ###.###.###.### (NetXMS server IP)
ConfigIncludeDir = C:\NetXMS\etc\nxagentd.conf.d
LogFile = {syslog}
FileStore = C:\NetXMS\var
SubAgent = ecs.nsm
SubAgent = filemgr.nsm
SubAgent = ping.nsm
SubAgent = logwatch.nsm
SubAgent = portcheck.nsm
SubAgent = winperf.nsm
SubAgent = wmi.nsm
#37
General Support / Installing agent on Raspbian
June 07, 2019, 09:55:55 PM
I'm trying to install the agent on a Raspberry pi (see version below), and am following instructions from the Wiki.

https://wiki.netxms.org/wiki/Using_APT_Repository

Please let me know what I am doing wrong.

Thanks!

pi@piaware:~ $ sudo wget http://packages.netxms.org/netxms-release_1.2_all.deb
--2019-06-07 18:38:59--  http://packages.netxms.org/netxms-release_1.2_all.deb
Resolving packages.netxms.org (packages.netxms.org)... 5.9.112.213
Connecting to packages.netxms.org (packages.netxms.org)|5.9.112.213|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 6878 (6.7K) [application/octet-stream]
Saving to: 'netxms-release_1.2_all.deb.2'

netxms-release_1.2_all.deb.2                     100%[==========================================================================================================>]   6.72K  --.-KB/s    in 0s

2019-06-07 18:38:59 (30.9 MB/s) - 'netxms-release_1.2_all.deb.2' saved [6878/6878]

pi@piaware:~ $ sudo dpkg -i netxms-release_1.2_all.deb
(Reading database ... 42332 files and directories currently installed.)
Preparing to unpack netxms-release_1.2_all.deb ...
Unpacking netxms-release (1.2) over (1.2) ...
Setting up netxms-release (1.2) ...
pi@piaware:~ $ sudo apt-get update
Hit:1 http://flightaware.com/mirror/raspbian/raspbian stretch InRelease
Hit:2 http://flightaware.com/adsb/piaware/files/packages stretch InRelease
Hit:3 http://flightaware.com/mirror/raspberrypi/debian stretch InRelease
Hit:4 http://packages.netxms.org/debian stretch InRelease
Reading package lists... Done
N: Skipping acquire of configured file 'main/binary-armhf/Packages' as repository 'http://packages.netxms.org/debian stretch InRelease' doesn't support architecture 'armhf'
pi@piaware:~ $ cat /etc/os-release
PRETTY_NAME="Raspbian GNU/Linux 9 (stretch)"
NAME="Raspbian GNU/Linux"
VERSION_ID="9"
VERSION="9 (stretch)"
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"
pi@piaware:~ $
#38
I have a Windows Server 2008 box with the 2.2.15 agent installed and get an alarm after adding the node "Problem with agent log: could not open"

I've removed and reinstalled and installed it just like all my other servers, but am not sure why this one is failing.  I also tried to reapply the permissions down the tree from c:\netxms, but that didn't work either.

If I run the agent manually, I get this below.

C:\NetXMS\bin>nxagentd -D6
ERROR: Cannot open log file, logs will be written to syslog with debug level 1


When I do a full poll, everything seems to run fine (see below)

[2019.06.06 10:18:28] **** Poll request sent to server ****
[2019.06.06 10:18:28] Poll request accepted
[2019.06.06 10:18:28] Starting configuration poll for node CHRONOS
[2019.06.06 10:18:28] Capability reset
[2019.06.06 10:18:28] Checking node's capabilities...
[2019.06.06 10:18:28]    Checking NetXMS agent...
[2019.06.06 10:18:28]    NetXMS native agent is active
[2019.06.06 10:18:28]    NetXMS agent version changed to 2.2.15
[2019.06.06 10:18:28]    Platform name changed to windows-x64
[2019.06.06 10:18:28]    System description changed to Windows CHRONOS 6.1.7601 Windows Server 2008 R2 Build 7601 Service Pack 1 AMD-64
[2019.06.06 10:18:28]    Reading list of available Windows Performance Counters...
[2019.06.06 10:18:38]    75 counters read
[2019.06.06 10:18:39]    Checking SNMP...
[2019.06.06 10:19:01] Capability check finished
[2019.06.06 10:19:01] Checking interface configuration...
[2019.06.06 10:19:01] Interface configuration check finished
[2019.06.06 10:19:01] Checking node name
[2019.06.06 10:19:01] Node name is OK
[2019.06.06 10:19:01] Reading list of installed software packages
[2019.06.06 10:19:01] Got information about 71 installed software packages
[2019.06.06 10:19:02] Finished configuration poll for node CHRONOS
[2019.06.06 10:19:02] Node configuration was changed after poll
[2019.06.06 10:19:02] **** Poll completed successfully ****


Any help is appreciated!
#39
Thanks Victor!

Where would I put this?  Does this go in the script library?

Also, every time I use FileSystem.Used(*) it never works to enumerate all the instances.  I thought it had to be FileSystem.Used({instance})?
#40
We are planning a move to cloud based servers and I need to gather information about how much disk space is used in total on all disks on all of my servers.

I have been able to add a DCI as a template that uses FileSystem.Used({instance}) as the parameter and queries the FileSystem.MountPoints Agent list to add a DCI to every server that enumerates the filesystems and produces the used space in bytes.

My ultimate goal is to run this as a DCI summary table on all servers at once, but I have two issues:

  • The DCI I built and applied only works on Windows servers, it doesn't show up for the Linux servers, although the Linux servers do show the system-generated DCIs of "File system: used space on /", etc.
  • The DCI Summary table won't take {instance} as you can with the DCI.
Even if it's just something like this, I can work with that and just total everything up in Excel, but it would be nice if I could do this all at once.

Server 1 drive c: xxx bytes
Server 1 drive d: xxx bytes
Server 2 drive / xxx bytes
Server 2 drive /etc xxx bytes

What is the best way to accomplish what I need?

Thanks for a great product!
#41
General Support / Re: Install report server
May 30, 2019, 10:01:31 PM
I am still unable to get reporting server running on Windows.

On step 7: Put report definition jars into workspace/definitions/, where do I get the definition jars from?
#42
General Support / Re: Install report server
February 25, 2019, 11:58:55 PM
Thanks for the info.

However, I think we're all looking for a good step by step guide to setting up reporting on NetXMS on a Windows server.

Quote from: troffasky on February 23, 2019, 11:24:30 AM
If it's the SQL script you're looking for in Git, see post #2:

https://www.netxms.org/forum/installation/reporting-server-on-window-2012-mysql-(ubuntu-18-4-virtualbox)/msg25355/#msg25355
#43
General Support / Re: Install report server
February 21, 2019, 08:54:15 PM
I'm trying to do this again, the documentation still refers to a page on git that does not exist and I am still unable to make this work.

Any help is appreciated.
#44
General Support / Re: Upgrading agents
April 17, 2018, 09:14:39 PM
Thank you for the reply!

I tried that, but even as admin, I didn't have access to stop some of those.

So far, if I just click ok and close twice when installing, it runs through and installs and I can poll the agent with no problem.
#45
General Support / Upgrading agents
April 10, 2018, 12:00:41 AM
I upgraded the server to the latest version (2.2.4) and tried to push out a package of the new agent to all clients.

Some worked, but many didn't.

When I try to download and install the agent manually, I get this error:

"The program can't start because libcrypto.dll is missing from your computer.  Try reinstalling the program to fix this problem".

I've tried it on several servers, and all give me the same error.

I also tried an earlier agent version (2.1.2) and it gives me the same error.

Any help would be appreciated!