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 - chris.petree

#1
General Support / Re: cURL command from server
September 06, 2019, 01:10:13 AM
Hey.
Just FYI, I put the executable in the System32 folder and it executed. This inquiry is resolved. Thanks!
#2
General Support / Re: cURL command from server
September 05, 2019, 12:48:24 AM
Hey,
Thanks for the quick response. I ended up having a child right after I posted that. So I was out for a little bit getting him and his mom settled in.
Anyway, that SEEMS to work. Just got to do some adjusting. I was wondering though, which directory is that command fired from? If it's on a Windows machine would it be launched from the NetXMS\bin folder? C:\NetXMS\bin
#3
General Support / cURL command from server
August 23, 2019, 08:55:58 PM
From the NetXMS server I'm monitoring a node using both standard SNMP OIDs as well as proprietary SNMP OIDs and through some of the proprietary OIDs I can see a critical outage with the node still being online. The node I am monitoring does not have an operating system where I could install anything or even run an automated script. I could put in a secondary device next to the node that I could send a cURL command to which could run a script from there. So I was wondering if anyone had an idea of a way to launch a bash script or send a cURL command based on an event in NetXMS.
#4
Feature Requests / Dark Mode
April 12, 2019, 06:24:42 PM
Any thoughts about implementing a dark mode for the WebUI?
#5
General Support / WebAPI
November 12, 2018, 10:01:24 PM
Is it possible to call the WebAPI outside of Grafana? Is there anywhere that lists the calls and endpoints so we could maybe integrate NetXMS with our own front end user interface?
#6
Feature Requests / Web Services
September 29, 2017, 08:56:16 PM
Is there scripting language in NXSL to call a SOAP or REST service? Are there any plans to implement this?
#7
Hey Victor, I was messing with it yesterday, and that was actually the primary reason it wasn't working. I had the DCI set as a string instead of a float. I also found the reference to all of the math related commands as well. Like format(variable, 1, 2); So if the variable was 34.5731 the result would be 34.57. Works great. Currently, I think I'm all set in this area. Thanks.
#8
I understand that the dashboard elements won't display partial numbers. I have some custom attributes that go to the 1/1,000,000 so... 11.111111
The problem is that it seems if the custom attribute is anything but a whole number, it displays it as 0. What is available in the script maybe or something else to cast the attribute as an integer instead of a float? Or is there something in the dashboard configuration that could make this even simpler?
#9
General Support / Re: agent tunneling
August 03, 2017, 10:00:32 PM
So, I did some more research. It seems like there may be a compatibility issue? Regardless of whether or not this is running on a Windows server these certificates need to be made using Linux compatibility?
#10
General Support / Re: agent tunneling
August 03, 2017, 09:13:08 PM
Hey Tursiops,
I'm getting the same error, but I did build out the certs on the NetXMS server.
[03-Aug-2017 12:38:36.561] [ERROR] Cannot load server certificate from [location I put in] (error:0906D06C:PEM routines:PEM_read_bio:no start line)
Do you, or anyone else know what "start line" they are looking for? I've seen people post that some certs are written in a sort of XML style, JSON style, example
<ca>
-----BEGIN CERTIFICATE-----
stuff here
-----END CERTIFICATE-----
</ca>
#11
General Support / Re: Agent requirements.
June 29, 2017, 10:32:58 PM
Thanks! This all answers what I needed perfectly!
#12
General Support / Re: Agent requirements.
June 23, 2017, 03:00:32 PM
We have a pfSense server as our firewall for our data center. That operates three data servers, two report servers, and three website servers with a total of seven websites. I think our bandwidth is 50mb up and 50mb down. I'm not planning on pushing this until the stable release. I was just doing prep work for it. We do have something like 120 PCs currently that we're wanting to set up these agent tunnels. By next year we'll probably have added over 300-400 more, and in two years, the ideal plan is probably several thousand.
If these tunnels are anything like IPSEC tunnels then each bit of communication has an added (more or less) 100 bytes of data. A standard of SNMP packet sizes are 1500 bytes. So if the agent matches these and is doing a constant push, opposed to a heartbeat, you can guess roughly 1600 bytes per unit. At 2000 units this would be a CONSTANT 32 megabyte draw on the bandwidth.
So, it all may sound negligible, but it adds up.
#13
General Support / Agent requirements.
June 22, 2017, 10:42:08 PM
So, the push agents installed on the clients establish a tunnel with the server. Is there a constant bandwidth demand on the server side per client? Does it make intermittent pushes? How exactly would I calculate the load on the firewall/server?
#14
General Support / Re: Map Appearance Images
June 22, 2017, 05:10:37 PM
Well, through some self exploration, I realized that I needed to change the DataDirectory in the config file. This fixed several things, but the image icons still don't show up on the world map where the GPS coordinates point them to. Any thoughts?
#15
General Support / Map Appearance Images
May 26, 2017, 10:02:20 PM
I think we were on version 1.8 until recently when we upgraded to 2.08. At that point we lost all of our world map icons. Through some research, I saw it's because the image folder changed. I was waiting for this 2.1RC1 release before worrying about it, because we were going to use custom, dynamic images anyway. Now that I have updated it, and set the script to update the images. Whenever I go to a node and click on "Map Appearance" I get an error "Could Not Accept Changes" "The currently displayed page contains invalid values." When I click out of that error and actually go to the Map Appearance tab I have the "Presentation image" inputs, but the input field is about a fifth of the size as normal and the Dropdown appearance option is missing.
Additionally, what I've noticed is that no matter what I do with the network object images, when I look at the image table in the SQL server the GUID never changes. Does anyone have any ideas? The world map is completely empty. We lost our icons in the update. The only way I got them back in the network objects was by manually editing the SQL table and removing the protected status. Then changing the image back to the default image. But it's like they're still not there.