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

#1
Trying to do as the subject states.

Following the steps on the download page produces the errors below.  What am I missing?

Thanks

stratum@stratum-desktop:~/Downloads$
stratum@stratum-desktop:~/Downloads$
stratum@stratum-desktop:~/Downloads$ wget https://packages.netxms.org/netxms-release-latest.deb
--2024-04-04 20:59:59--  https://packages.netxms.org/netxms-release-latest.deb
Resolving packages.netxms.org (packages.netxms.org)... 104.21.52.110, 172.67.198.50, 2606:4700:3031::6815:346e, ...
Connecting to packages.netxms.org (packages.netxms.org)|104.21.52.110|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 5600 (5.5K) [application/octet-stream]
Saving to: 'netxms-release-latest.deb'

netxms-release-latest.deb                  100%[=========================================================================================>]  5.47K  --.-KB/s    in 0.001s

2024-04-04 21:00:00 (4.03 MB/s) - 'netxms-release-latest.deb' saved [5600/5600]

stratum@stratum-desktop:~/Downloads$ sha256sum netxms-release-latest.deb
18db187d42946041ff5edfccd53982f309747420bf1374432713ace0029e34fa  netxms-release-latest.deb
stratum@stratum-desktop:~/Downloads$ sudo dpkg -i netxms-release-latest.deb
Selecting previously unselected package netxms-release.
(Reading database ... 151279 files and directories currently installed.)
Preparing to unpack netxms-release-latest.deb ...
Unpacking netxms-release (1.12) ...
Setting up netxms-release (1.12) ...
sed: can't read /etc/apt/sources.list.d/netxms.list: No such file or directory
sed: can't read /etc/apt/sources.list.d/netxms.list: No such file or directory
stratum@stratum-desktop:~/Downloads$
#2
General Support / Report server - Windows
July 30, 2022, 03:42:50 AM
This is a continuation of this thread:
https://www.netxms.org/forum/general-support/install-report-server/15/

Based on what I can find, the report server is now included in the main NetXMS installation.  I'm currently on 4.0.2157 and after reading one of the other threads (not the documentation), learned that I had to install Java 15 on the server itself.  I now have a report navigator window (again, something I learned from a forum post, not the documentation) that looks like the attached image.

The last response on the thread linked above said I had to create the reports myself.  I have no idea how to do that, or where to put the files (on Windows) that previous post is referencing to even begin to try and make my own.

The documentation that is available: https://www.netxms.org/documentation/adminguide/reporting.html, references using Jaspersoft Studio, although the documentation states "Simplest way to create jar files are using Maven, empty project is provided in samples archive.".  Which is it?

Samples archive is not linked, where is this archive?  The documentation only talks about the format of the file expected, and not how to create it.

I downloaded Jaspersoft Studio, and have no idea what do do from this point.  Am I supposed to connect to the NetXMS DB with a data adapter?

Thanks
#3
General Support / MIB parsing errors
June 16, 2022, 04:02:42 AM
Having issues loading an MIB for EnGenius WiFi AP.

I've had these in the past with other devices, and I remove a few offending lines, and it seems to work.  However, when I do that, it just keeps failing.

What am I missing?

Thanks!

C:\NetXMS\share\mibs\ENGENIUS-PRIVATE-MIB-EAP1300.mib.txt: WARNING 007: Object identifier started with uppercase letter in line 363
C:\NetXMS\share\mibs\ENGENIUS-PRIVATE-MIB-EAP1300.mib.txt: WARNING 007: Object identifier started with uppercase letter in line 527
C:\NetXMS\share\mibs\ENGENIUS-PRIVATE-MIB-EAP1300.mib.txt: ERROR 003: Parser error - syntax error, unexpected RIGHT_BRACE_SYM in line 1279
#4
General Support / WebAPI v4
April 13, 2022, 05:03:31 PM
After moving to version 4 of NetXMS, the API no longer works connecting Grafana to NetXMS.

I've completely removed and reinstalled it according to the wiki page:

https://wiki.netxms.org/wiki/Deploy_NetXMS_WebAPI_using_the_WebUI_Windows_installer_(Windows_only!)

The windows installer puts all of the files in C:\NetXMS-WebUI.

The instructions weren't 100% specific, like what to do with the nxmc-4.0.2227.war file that is downloaded.  I assume you rename it to webapi.war, as has been done in the past and noted in the jetty-web.xml file.  If we can get the wiki updated with this information, that would be helpful.

I've got it working somewhat, and when I go to http://localhost:8080/webapi, it redirects to http://localhost:8080/webapi/nxmc-clarity and provides the web login page.

What am I missing?

Thanks!
#5
I am receiving constant (about every 2-3 minutes) email notifications about New peer for interface.

I see it as an event (SYS_IF_PEER_CHANGED), but don't see a way to turn off emails regarding this.  There is no corresponding item in event processing policy.

I have Cisco Meraki switches / routers / APs.

I tried to delete that item in event configuration, and it said access denied.  I found it in the database itself, but wanted to ask here before attempting to delete that entry in the database.

This started a few versions ago, I don't remember which one, I'm currently on 3.7.145.

Any help is appreciated!
#6
On each node there is a location section, allowing you to specify, the geographical location of the device.

I cannot find a way to make this display on a map where I set the background to a Geographic map.

I can add nodes any way I want, Layer2, topology, custom and they're on the map - but how do I get it to snap to the actual geographic location, or is this just not a feature?

If I right click a single node and select geolocation, it does drill it down right to where I specified, but how do I show all of them on a larger map, snapped to their location?

Also, is there a way to specify the map to be centered on the coordinates given, and not at the top left?

Thanks for a great product!
#7
I have set up a DCI with instance discovery for traffic on all ports of a Cisco switch.

4 OIDs always come back as unsupported.

I have managed to get the filter script to filter out one of them with one specific OID, but how do I properly filter out unsupported OIDs?  Is there a way to tell it to ignore them if they are unsupported?

I've tried searching and my setup is similar to this:
https://www.netxms.org/forum/configuration/instance-discovery-filter-scrip/msg10449/#msg10449

This successfully filters one result:
return $1 != "5139";

These are the attempts I have made - none of them filter multiple results: (the three using SNMPGetValue don't work at all with the individual OID)
snmp = CreateSNMPTransport($node);
return SNMPGetValue(snmp, ".1.3.6.1.2.1.31.1.1.1.6." . $1) != 5139;

snmp = CreateSNMPTransport($node);
return SNMPGetValue(snmp, ".1.3.6.1.2.1.31.1.1.1.6." . $1) != 0;

snmp = CreateSNMPTransport($node);
return SNMPGetValue(snmp, ".1.3.6.1.2.1.31.1.1.1.6." . $1) != "5139";

if($1 == "5139")
return false;
if($1 == "5138")
return false;
if($1 == "5137")
return false;
if($1 == "12001")
return false;


I'm sure I'm missing something obvious, any help is appreciated!

Thanks!
#8
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:~ $
#9
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!
#10
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!
#11
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!
#12
General Support / DCI with Operating systems
February 13, 2018, 10:17:13 PM
I found System.Uname in the agent parameters and can generate a DCI summary table with that.

Is there another way to get the parameters like version and name / build, all separate?

System.Uname lumps the system name, version, revision, build, etc, all together into one string.

Just wondering if there is a better / easier way to get this information.

I'm pretty sure I could run a report, but I'm currently unable to get reporting running.

https://www.netxms.org/forum/profile/?area=showposts;u=59517

Thanks!