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

#16
General Support / Re: Netxms for Ubiquiti
July 26, 2020, 02:44:36 AM
Check the templates thread. I know there are a few things there. I don't think anyone has created or collected templates for all their gear though. It should at least get you started.
#17
Quote from: meshnet on February 28, 2018, 06:28:05 PM
it's unfortunate that os x has these tendencies to fail horribly, yet still holds the 'it just works' motto... when unicode cause kernel panics.. sigh... that mottos falls in to the trash very quickly re: user root...

I think that "motto" refers to OS X itself, not third party software, but I understand the frustration. Hopefully reinstalling the older Java version will fix your issue.
#18
I'd like to be able to order the macro generated dci graphs as well. Is there any macros that work in the order field?
#19
A few things I think would be really nice to have in the template
1) Filtering on the performance tab
2) A way to order the graphs on the tab
3) The invert values option in the performance tab. I'd like to be able to do the TX/RX as positive and negative values.

And having some consistency in the macros would be great. It feels kind of like whack a mole trying to configure things to match up what we have on our other nms right now. I think we will be able to get all the functionality we need and then some, but it's a bit of a steep curve getting to speed.

Thanks again for the help.
#20
I forgot to mention that I was getting these in the web client as well and switched over to the native Mac client to see if that would help. So I don't think it's client specific. The server is Debian 8.9 under lxc on proxmox installed from the netxms repo with postgres.
#21
I cleared the log and relaunched the management console. Here is the full log up until the first error. To get it, I edited some fields in the DCI config of my template performance tab and applied them. Then applied the template to the node I am testing which was already using the template. I viewed the graphs in the performance tab of the node, and then repeated that process again. When applying performance tab changes in the template the second time I got the error.

!MESSAGE NXCSession.connect: Connected to server version 2.1.2

!ENTRY org.netxms.ui.eclipse.console 0 0 2017-11-02 07:46:28.727
!MESSAGE NXCSession.login: CMD_LOGIN_RESP received, RCC=0

!ENTRY org.netxms.ui.eclipse.console 1 0 2017-11-02 07:46:28.727
!MESSAGE NXCSession.connect: alarmListDisplayLimit = 4096

!ENTRY org.netxms.ui.eclipse.console 1 0 2017-11-02 07:46:28.728
!MESSAGE NXCSession.connect: succesfully logged in, userId=1

!ENTRY org.netxms.ui.eclipse.console 4 0 2017-11-02 07:51:17.843
!MESSAGE Exception in ConsoleJob
!STACK 0
org.netxms.client.NXCException: Request is out of state
at org.netxms.client.NXCSession.waitForRCC(NXCSession.java:1629)
at org.netxms.client.NXCSession.waitForRCC(NXCSession.java:1596)
at org.netxms.client.datacollection.DataCollectionConfiguration.modifyObject(DataCollectionConfiguration.java:227)
at org.netxms.ui.eclipse.datacollection.api.DataCollectionObjectEditor$2.runInternal(DataCollectionObjectEditor.java:81)
at org.netxms.ui.eclipse.jobs.ConsoleJob.run(ConsoleJob.java:85)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

!ENTRY org.netxms.ui.eclipse.datacollection 4 5 2017-11-02 07:51:17.849
!MESSAGE Cannot modify data collection object: Request is out of state
#22
It might have been my capitalization of true and false. In the admin guide on p123 under Instance Filter it shows them as TRUE and FALSE. I think I tried camel case as well as all lower case, but there might have been other capitalization issues as well during my attempts that kept it from working. Right now I have all lower case and that seems to be working.

Thanks
#23
Thanks Victor. I have it working now. I am a little confused by the macro substitutions though. In the General section for description I have {instance-name} to put the interface name into the description column when looking at last values. For the parameter I have {instance} at the end of the oid to be able to grab the data from SNMP.

Just now when I tried your suggestion on the performance tab, {instance} works to pull the same value as {instance-name} does on the general tab, but {instance-name} didn't substitute anything.

Are the substitutions tab specific, or is there some rules for this that I am not understanding?

Also, is there anyway to filter out the unconnected interfaces on the performance tab? I don't want to filter them out of the node entirely as it would be good to know if something is plugged into a port it shouldn't be, but I don't want to see the traffic graphs for interfaces which don't have any if I can avoid it.

Thanks again.
#24
I am getting this error, "Cannot modify data collection object: Request is out of state", a lot.

If I close what I'm working on and reopen it then everything seems to work fine. I was unable to find any info when searching on this error, so I'm not sure what I should be looking at to try and resolve it. Anyone know what this means?
#25
I'm trying to set this up now. I have interfaces setup in my template to pull the traffic from all the interfaces (bits/sec). I have the DCIs getting created properly and showing proper last values in nodes that have the template bound to them.

However, I can't seem to get a graph working for these. Is anyone able to explain to me how to set up the performance tab to get a combined graph of these values.

The best I've been able to do is get one graph per interface DCI which creates a bunch of graphs and it's not that helpful.
#26
I spent about 2-3 hours yesterday trying to work out an instance discovery filter script for a template I am working on. I copied and pasted a portion of a script from the Hook::ConfigurationPoll script I got from another forum post to remove dynamic interfaces from Mikrotik routers.

This script worked the first time I added it into the ConfigurigationPoll script, but in the instance discovery filter it wouldn't work. I tried various combinations of the same things, but it never worked. After looking through all the docs I could find on syntax and such, I changed the formatting so things would be more pretty. I only used one space character and a single line feed and nothing else. After "pretty printing" my script it started working.

Are there any special rules or restrictions for scripts on formatting, white space, capitalization, etc. that I should keep in mind when writing scripts?

Also, is there a way to debug a filter script or get NetXMS to show parsing errors or compilation errors of any sort?
#27
Feature Requests / Re: iOS management console
September 16, 2017, 08:45:42 PM
I also would like an iOS management console I think. Not having any android device to test the Android client, I have no idea what it's feature set is, but I think an iOS console that could do some basic things would be useful.

Is there any screenshots or video of the android console in action. My basic search attempts didn't turn up anything.
#28
I can supply both of those things. How should I send over the info? I will most likely need to set up a VPN or IP rule on our firewall and give you the switch IP.
#29
What is involved in getting a driver for Netonix switches. I see that there is a UBNT driver of some sort as our Ubiquiti AirOS and AirFiber radios show up as UBNT. Our Netonix switches show up as Generic.

#30
General Support / Re: Web Interface does not work
May 16, 2017, 05:44:37 AM
Try adding

<Resources cachingAllowed="true" cacheMaxSize="100000" />

into the /var/lib/tomcat8/conf/context.xml file. It should be placed before the closing </Context> tag. You can of course modify the size value to whatever works for you. I think I got that number from googling and just tried it out and it seems to work for me.