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

#16
General Support / Web API on external linux server
February 22, 2022, 05:19:57 PM
Hello,

I have installed both the website and api on an external linux server. They are in the same network as the Netxms Server. I was able to get the webserver running by putting the nxmc.properties file in the tomcat directory and it's working great. The api website on the otherhand is not. I used the nxapisrv.properties file and set "netxms.server.address" to the server name for the Netxms Server. Restarted tomcat and the /info page gives me back data but when I try to log in with my account I get connection refused and a 500 error. I've tried basic authentication, sessions, and authenticate. I tried the ip address and the FQDN instead of just the hostname of the Netxms Server. I also tried removing the properties file as the webserver and the api site are on the same box. All give me the same response. Any help would be appreciated.
#17
General Support / Re: Webserver on a seperate server
February 09, 2022, 10:30:11 PM
Nevermind, I moved the file up to the root folder for tomcat and it started working.
#18
General Support / Webserver on a seperate server
February 09, 2022, 08:37:14 PM
Howdy,

I have been trying to get the nxmc website up and running on a seperate tomcat server. I know I'm suppose to put a file called nxmc.properties into the lib folder of tomcat but I just keep getting "The server session timed out" when I try to load the webpage. I also tried putting the file under the webapp folder inside the nxmc folder and in the tomcat config folder but got the same results. All I have in the nxmc.properties file is "server={IP of NetXMS Server}" and the servers are in the same network together.

Any help would be appreciated.

Thank you!

#19
General Support / Re: 3.8 reporting server
April 20, 2021, 12:48:56 AM
Thank you!
#20
General Support / 3.8 reporting server
April 08, 2021, 03:21:29 AM
I saw that with version 3.8 the reporting server was being bundled with the server. My question, how do we setup the reporting server on a linux box? We are running the core server in Ubuntu and install/update it with apt-get. I couldn't find the files or a services to start to get the reporting server running.

Thank you
#21
Thank you Filipp, I changed the DCI to request /cellularBandwidth/unit and it immediately pulled the value down in that field so it is the array that is stopping it. I'll go with plan b and create a powershell script that uses nxpush to import the values into the DCIs.
#22
General Support / Cannot figure out web service DCI
March 29, 2021, 07:04:47 PM
Hello all,

We are trying to create a DCI that will read an Rest API json response for a value. We set up a web definition called "Test" with the api url, we added the authorization token and application/json headers. I set up the DCI according to the admin guide with "Test:/cellularBandwidth/values/total_usage" but the DCI returns <ERROR>. Here is an example of the json response:

{"cellularRssi":{"unit":"dBm","values":[{"name":"AT\u0026T","data":[{"timestamp":1616719359000,"value":"-27.0"},{"timestamp":1616721157000,"value":"-55.0"},{"timestamp":1616722951000,"value":"-48.0"},{"timestamp":1616724761000,"value":"-36.0"},{"timestamp":1616726556000,"value":"-45.0"},{"timestamp":1616728358000,"value":"-63.0"},{"timestamp":1616730161000,"value":"-52.0"},{"timestamp":1616731961000,"value":"-68.0"},{"timestamp":1616733762000,"value":"-32.0"},{"timestamp":1616735576000,"value":"-39.0"}]}]},"cellularBandwidth":{"unit":"MB","values":[{"name":"AT\u0026T","total_usage":"42.88 MB","data":[{"timestamp":1616722200000,"value":8.62},{"timestamp":1616725800000,"value":9.51},{"timestamp":1616729400000,"value":8.98},{"timestamp":1616733000000,"value":10.82},{"timestamp":1616736600000,"value":4.94}]}]}}

I think it's going to be something simple but I can't seem to find what we are doing wrong. Any help would be appreciated. Thank you!
#23
General Support / Multiple Nodes Same DCI report
February 10, 2021, 12:32:03 AM
Howdy,

Has anyone figured out how to report a DCI for multiple nodes with nxreporting? We have cellular routers that are reporting their data usages to netxms and our management would like a report that is emailed to them every monday morning. The issues is I haven't figured out how to create the postgresql query to put into jaspersoft to create the report. Full disclosure I'm a IT Security Admin and not a DB Admin so basic queries I can do but not more technical ones. I was hoping to not having to create a dataset for each of the routers as there is about 110 of them. Thank you in advanced
#24
General Support / Re: Nodes missing from console
February 04, 2021, 03:47:01 PM
Quote from: Filipp Sudanov on February 04, 2021, 02:04:57 PM
One possible option is that there is an issue with access right to these nodes. Try enabling "system" user
nxdbmgr reset-system-account
(it's password will be "netxms"). This account has access rights to all objects in the system. Could be that the nodes will be visible (may be in the root of object tree).

Thank you! That allowed me to see the nodes and found someone set access rights for everyone to just allow "Push Data" on all the missing nodes. They were still under the correct subnets just not visible. After asking around to the other admins, I will be giving one of them a little harder time then the others :D and maybe removing some of their access.
#25
General Support / Nodes missing from console
February 03, 2021, 04:33:29 PM
Howdy all,

I've upgrade my server to 3.7.145 and I've noticed in my console that my computer's node is missing. I haven't done a deep dive to see if any other nodes are missing yet. What makes this weird is if I look in the database for my computer, it's there and it's updating it's information like the agent is communicating just not showing up in the consoles. It was there before the server upgrade. Has anybody seen this before?

Thank you

Update: I was able to get my computer to show back in the console but I had to manually remove it from the database and restart the server. i have identified other nodes that are in the database and updating but are not in the console. The are randomly spread out among our subnets. At this point I may have to get a list from the database and go through the console to see what's missing.
#26
General Support / Re: Cisco MIBs
November 20, 2020, 09:15:06 PM
I am downloading and importing that one as well. I went back and looked though it and you are right, the AP-TC-MIB says it has them but it really doesn't. I will work this out with Cisco.

Thank you for catching that.
#27
General Support / Cisco MIBs
November 17, 2020, 09:22:58 PM
Does anyone know how to fix MIBs that throw an error like "Import Symbol "xyz" unresolved"? I'm trying to import MIBs for our firewalls and 4 of the files throw this error. I've tried fixing them myself but nothing I do seems to work. If I remove them, the rest of the files will import fine. I have attached the MIBs

CISCO-FIREPOWER-AP-EQUIPMENT-MIB: ERROR 001: Import symbol "CfprApEquipmentPsuOperability" unresolved
CISCO-FIREPOWER-AP-PROCESSOR-MIB: ERROR 001: Import symbol "CfprApProcessorUnitId" unresolved
#28
That worked. Thank you!
#29
General Support / NXShell - Create Node and Interfaces
November 09, 2020, 08:37:21 PM
Howdy,

I have been using Nxshell to create switches that we don't manage and it is creating the switch nodes great. When I try to get it to create the interfaces on the switch, it will create them but it's not setting the flags or the description for each node. It won't set the flags as all and the description is set to the name of the interface even though I use setDescription command. Does anyone know why the following script won't set the flags or description? Other than those, it has been working great.


for i in xrange(0, 48):
    name = "Gi1/0/%d" % (i + 1, )
    cd = NXCObjectCreationData(objects.GenericObject.OBJECT_INTERFACE, name, <parentnodeID>);
    cd.setCreationFlags(flags);
    cd.setDescription("GigabitEthernet1/0/%d");
    cd.setPhysicalPort(True);
    cd.setIfType(6);
    nodeId = session.createObject(cd);
    print '"%s" created, id=%d' % (name, nodeId)


Thank you,
Josh
#30
Howdy,

We have a VMWare server that is not being mapped via CDP on our Cisco C9300 switch. I have confirmed that the the switch can see the server with "sh cdp neighbor" but the Netxms Server is not making the connection. The VMWare server is SNMP active on v2c and the interfaces are populated. My current thought is because the server is connected via a Port-Channel in the switch, the MAC addresses for the physical ports are associated with the port channel and not the interface the cable is plugged into. Is there something I am missing that would help make the connection without the MAC address being in the MAC address table?