Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Flatly)
  • No Skin
Collapse
Brand Logo

NetXMS Forum

P

praim

@praim
Unfollow Follow
About
Posts
20
Topics
6
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Grafana problem
    P praim
    Support

    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]
    

  • WEBApi install error
    P praim
    Support

    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


  • WEBApi install error
    P praim
    Support

    Hi,

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

    Best regards


    grafana - conf.PNG

    netxms settings.PNG

    line chart - netxms.PNG


  • WEBApi install error
    P praim
    Support

    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


  • WEBApi install error
    P praim
    Support

    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


  • Alarm browser does not show anything
    P praim
    Support

    Thank you for help :).
    It is strange, that admin user does not have permissions to view alarms after update.


  • Alarm browser does not show anything
    P praim
    Support

    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


  • SMS problem
    P praim
    Support

    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.


  • SMS error
    P praim
    Support

    i try minicom and it wrote me OK


  • SMS error
    P praim
    Support

    UP


  • SMS error
    P praim
    Support

    It was version 1.2.17.


  • SMS error
    P praim
    Support

    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


  • SMS config
    P praim
    Support

    it sent only one sms. When i try to send next, in log is


    sms.PNG


  • SMS config
    P praim
    Support

    so error again, but in log is:" ReadToOK: read to mark returned -1"


  • SMS config
    P praim
    Support

    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.


  • SMS config
    P praim
    Support

    Ok here is screen command


    screen.PNG


  • SMS config
    P praim
    Support

    Thank you, so i find /usr/lib/libnxsms_generic.so when I take this in SMSDriver, I can see in the log "failed to open port" Is it problem with /dev/ttyUSB2?

    Thank you


  • SMS config
    P praim
    Support

    /opt/netxms doesn't exist. But when I try to find in root director, can't find somenthing like "libnxsms_generic"


  • SMS config
    P praim
    Support

    Thank you for answer 😉 Now i look into log file and i see:"unable to load module "generic.sms" : generic.sms: cannot open shared object file: no such file or directory

    And how can i change debug level? I find, that i have to write into netxmsd.conf DebugLevel = 5 but in  the log, i can't se anything with sms.


  • SMS config
    P praim
    Support

    Hello at first, sorry for my english language.
    I have proxmox server and on that I have debian wheezy with netxms stable (1.2.17) but i can't send sms. I set up huawei modem (huawei k3765) on debian with no problem. My setting in netxms
    SMSdriver = generis.sms restart = yes
    SMSDrvConf = /dev/ttyUSB2 restart = yes

    When I sent sms, it show me that SMS has been send but into my phone doesn't receive it.
    Thank you for help

  • Login

  • Don't have an account? Register

  • Login or register to search.
Powered by NodeBB Contributors
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups