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

#1
General Support / Grafana problem
June 04, 2018, 07:54:55 PM
Hello,
i have problem with grafana. When i try to add a new DCI everytime i get response: "no datapoints" on every DCI. Could you please help me, what am I doing wrong?

Best regards

netxms server and restApi v2.2.6
tomcat 8
ubuntu 16.04 LTS
grafana v5.1.3
netxms grafana plugin v1.1.0

below is grafana query inspector
xhrStatus:"complete"
request:Object
method:"GET"
url:"http://192.168.89.13:8080/grafana/datacollection"
data:null
params:Object
interval:20
from:y
to:y
targets:"[{"dci":{"id":"146","name":"Ping time of primary IP"},"dciTarget":{"id":"150","name":"Mikrotik - Hlavni switch"},"legend":"","rawQuery":false,"refId":"A","type":"DCI","$$hashKey":"object:195"}]"
withCredentials:true
response:Array[1]
0:Object
target:"Ping time of primary IP"
datapoints:Array[0]
#2
General Support / Re: WEBApi install error
February 08, 2018, 02:01:16 PM
I am using netxms server v2.2.2 with web api v2.2.2. Grafana is v4.6.3 with netxms plugin version v1.1.0
#3
General Support / Re: WEBApi install error
January 27, 2018, 02:49:32 PM
Hi,

yes, DCI has collected data normally. Here you have screenshots. If you want to something else, let me know.

Best regards
#4
General Support / Re: WEBApi install error
January 26, 2018, 08:40:21 PM
Thank you,
I have followed instructions from wiki, where is, that I have to download api from GIT repository.

I have another problem. In the grafana webserver I can see all DCI values, but when after I add a DCI, It always shows: "datapoints:Array[0]" so graphs are empty

Best regards
#5
General Support / WEBApi install error
January 20, 2018, 02:07:15 AM
Hello,
I have tried to install webapi on my Ubuntu. I have got this following error:   Failed to execute goal on project netxms-websvc: Could not resolve dependencies for project org.netxms:netxms-websvc:war:3.0-SNAPSHOT: The following artifacts could not be resolved: org.netxms:netxms-base:jar:3.0-SNAPSHOT, org.netxms:netxms-client:jar:3.0-SNAPSHOT: Failure to find org.netxms:netxms-base:jar:3.0-SNAPSHOT in http://maven.restlet.com was cached in the local repository, resolution will not be reattempted until the update interval of maven-restlet has elapsed or updates are forced


Can you please help me?
Best regards
#6
Thank you for help :).
It is strange, that admin user does not have permissions to view alarms after update.
#7
Hello, after upgrade to netxms 2.1 i have problem with alarm browser. If node is down, netxms should generate alarm, which i can see in the alarm browser. But it just show "alarm icon" at a node but in the alarm browser I have nothing.

Can you please help me?

Best regards
#8
General Support / SMS problem
April 15, 2017, 08:40:35 PM
I have problem with sendin sms using Huawei USB dongle. Sometimes netxms send sms, sometimes not. I dont know why. My server config is:
SMSDrvConfig: /dev/ttyUSB2,9600,8,N,1,T
SMSDriver: /usr/lib/i386-linux-gnu/libnxsms_generic.so

Debug level is 5.
In log i can see:


[15-Apr-2017 19:31:55.282] [DEBUG] *actions* Sending SMS to NUMBER1;NUMBER2: "MESSAGE"
[15-Apr-2017 19:31:55.282] [DEBUG] SMS sender: rcpt="NUMBER1" text="MESSAGE"
[15-Apr-2017 19:31:55.282] [DEBUG] SMS: send to {"NUMBER1"}: {"MESSAGE"}
[15-Apr-2017 19:31:57.887] [DEBUG] SMS: ReadToOK: readToMark returned -1
[15-Apr-2017 19:31:58.002] [DEBUG] SMS: ReadToOK buffer content: '  OK  '
[15-Apr-2017 19:31:58.002] [DEBUG] SMS: ATZ sent, got OK
[15-Apr-2017 19:31:58.105] [DEBUG] SMS: ReadToOK buffer content: 'ATE0   OK  '
[15-Apr-2017 19:31:58.106] [DEBUG] SMS: ATE0 sent, got OK
[15-Apr-2017 19:31:58.308] [DEBUG] SMS: ReadToOK buffer content: '  OK  '
[15-Apr-2017 19:31:58.309] [DEBUG] SMS: AT+CMGF=1 sent, got OK
[15-Apr-2017 19:32:02.845] [DEBUG] SMS: ReadToOK buffer content: '    +CMGS: 236    OK  '
[15-Apr-2017 19:32:02.845] [DEBUG] SMS: AT+CMGS + message body sent, got OK
[15-Apr-2017 19:32:02.846] [DEBUG] SMS: serial port closed

[15-Apr-2017 19:32:02.846] [DEBUG] SMS sender: rcpt="NUMBER2" text="MESSAGE"
[15-Apr-2017 19:32:02.846] [DEBUG] SMS: send to {"NUMBER2"}: {"MESSAGE"}
[15-Apr-2017 19:32:05.451] [DEBUG] SMS: ReadToOK: readToMark returned -1
[15-Apr-2017 19:32:05.567] [DEBUG] SMS: ReadToOK buffer content: '  OK  '
[15-Apr-2017 19:32:05.568] [DEBUG] SMS: ATZ sent, got OK
[15-Apr-2017 19:32:05.670] [DEBUG] SMS: ReadToOK buffer content: 'ATE0   OK  '
[15-Apr-2017 19:32:05.670] [DEBUG] SMS: ATE0 sent, got OK
[15-Apr-2017 19:32:05.874] [DEBUG] SMS: ReadToOK buffer content: '  OK  '
[15-Apr-2017 19:32:05.874] [DEBUG] SMS: AT+CMGF=1 sent, got OK
[15-Apr-2017 19:32:08.576] [DEBUG] SMS: serial port closed
[15-Apr-2017 19:32:08.576] [DEBUG] Failed to send SMS (will retry)
[15-Apr-2017 19:32:08.577] [DEBUG] SMS: send to {"NUMBER2"}: {"MESSAGE"}
[15-Apr-2017 19:32:11.179] [DEBUG] SMS: ReadToOK: readToMark returned -1
[15-Apr-2017 19:32:11.294] [DEBUG] SMS: ReadToOK buffer content: '  OK  '
[15-Apr-2017 19:32:11.294] [DEBUG] SMS: ATZ sent, got OK
[15-Apr-2017 19:32:11.397] [DEBUG] SMS: ReadToOK buffer content: 'ATE0   OK  '
[15-Apr-2017 19:32:11.397] [DEBUG] SMS: ATE0 sent, got OK
[15-Apr-2017 19:32:11.600] [DEBUG] SMS: ReadToOK buffer content: '  OK  '
[15-Apr-2017 19:32:11.600] [DEBUG] SMS: AT+CMGF=1 sent, got OK
[15-Apr-2017 19:32:14.286] [DEBUG] SMS: serial port closed
[15-Apr-2017 19:32:14.286] [DEBUG] Failed to send SMS (will retry)
[15-Apr-2017 19:32:14.287] [DEBUG] SMS: send to {"NUMBER2"}: {"MESSAGE"}
[15-Apr-2017 19:32:16.891] [DEBUG] SMS: ReadToOK: readToMark returned -1
[15-Apr-2017 19:32:17.005] [DEBUG] SMS: ReadToOK buffer content: '  OK  '
[15-Apr-2017 19:32:17.005] [DEBUG] SMS: ATZ sent, got OK
[15-Apr-2017 19:32:17.107] [DEBUG] SMS: ReadToOK buffer content: 'ATE0   OK  '
[15-Apr-2017 19:32:17.107] [DEBUG] SMS: ATE0 sent, got OK
[15-Apr-2017 19:32:17.311] [DEBUG] SMS: ReadToOK buffer content: '  OK  '
[15-Apr-2017 19:32:17.311] [DEBUG] SMS: AT+CMGF=1 sent, got OK
[15-Apr-2017 19:32:19.998] [DEBUG] SMS: serial port closed
[15-Apr-2017 19:32:19.998] [DEBUG] Failed to send SMS (will not retry)
[15-Apr-2017 19:32:19.998] [DEBUG] Failed to send SMS (complete failure)
[15-Apr-2017 19:32:19.999] [DEBUG] EVENT SYS_SMS_FAILURE [30] (ID:3292 F:0x0001 S:1 TAG:"") FROM aida: Unable to send SMS to phone "NUMBER2"


I don't know why sms to first number is sent but to second not. But sometimes even sms to first number is not sent.

Thanks for your help. 
#9
General Support / Re: SMS error
February 27, 2016, 03:12:07 PM
i try minicom and it wrote me OK
#10
General Support / Re: SMS error
February 02, 2016, 11:13:35 PM
UP
#11
General Support / Re: SMS error
January 25, 2016, 11:16:57 PM
It was version 1.2.17.
#12
General Support / SMS error
January 25, 2016, 09:43:30 PM
Hello i have netxms 2.0.1 on debian 8.2 jessie x64. I have problem with config USB modem. I have huawei K3765 on /dev/ttyUSB2
But i cannot send SMS. In log (debiglevel = 5) only see

SMS: send to {+420xxxxxxxxx}: {test}
[25-Jan-2016 20:33:31.663] [DEBUG] SMS: ReadToOK: readToMark returned -1
[25-Jan-2016 20:33:33.766] [DEBUG] SMS: ReadToOK: readToMark returned -1
[25-Jan-2016 20:33:33.766] [DEBUG] Failed to send SMS (will retry)
[25-Jan-2016 20:33:33.766] [DEBUG] SMS: send to {+420xxxxxxxxx}: {test}
[25-Jan-2016 20:33:36.388] [DEBUG] SMS: ReadToOK: readToMark returned -1
[25-Jan-2016 20:33:38.491] [DEBUG] SMS: ReadToOK: readToMark returned -1
[25-Jan-2016 20:33:38.491] [DEBUG] Failed to send SMS (will not retry)
[25-Jan-2016 20:33:38.491] [DEBUG] Failed to send SMS (complete failure)
[25-Jan-2016 20:33:38.491] [DEBUG] EVENT SYS_SMS_FAILURE [30] (ID:30 F:0x0001 S:1 TAG:"") FROM : Unable to send SMS to phone +420xxxxxxxxx


SMSDriver = /usr/lib/x86_64-linux-gnu/libnxsms_generic.so
SMSDrvConf = /dev/ttyUSB2,9600,8,N,1,T

In the previous version (i think it was 1.2.x) i didnt have problem with this configuration. Thanks for your help
#13
General Support / Re: SMS config
August 06, 2015, 02:34:25 PM
it sent only one sms. When i try to send next, in log is
#14
General Support / Re: SMS config
August 06, 2015, 02:03:37 PM
so error again, but in log is:" ReadToOK: read to mark returned -1"
#15
General Support / Re: SMS config
August 06, 2015, 02:00:36 PM
yes, this modem have 3 ports. But now i start server and use ttyUSB2 and sms was send. I don't now how, but problem is solved :). Thank you very much for your help. And when i post in "screen" command "ATI" it show me model, imei etc.

So thank you.