Results 1 to 7 of 7
  1. #1

    Default Embedded programming and Network Interface Help(NMS, SNMP, Raspberri Pi, Single Board Computing)


    mga bossing sa network og embedded system tabang please..

    naa ko pangutana bahin ana network management system(NMS) ba...gamit man tali ni sa mga network og it..

    naa ko mga embedded system controller\single board computer(example raspberri pi "RP"), gamit ni xa nku aron mga monitor og temperature og mga alarms og uban pang mga data...

    nangita ko way unsaon nku pag connect sa existing LAN og unsa high level na protocol ako gamiton.
    Ako nakitan is SNMP(Simple Network Management Protocol)..kini ma add rako as package og masetup sa RP as Agent.

    Ing-ani bali sample og above na sa set temperature the RP would send a error\alert message sa network.
    Then base sa ako na basahan og gamit og SNMP ang SNMP manager\server ky madetect\mabasa nia ag message.

    Ako problema is wa ko idea anang mga NMS sa server side...Like sa cisco, avaya or uban pa na commercial software...naa mo ika share bahin ana?

    Ag goal man gud pwedi nku maplug directly sa existing network ang RP, then ang IT or Network engineer igo na lang mo configure sa ila software\NMS aron maglisten sa network traffic og naay error\alert message gkan sa RP..bali no need na og special software gam-on og einstall sa manager side. Wa ko kabalo og possible ba ni.. wa man gud ko idea kaau when it comes sa mga network2....

    Sa RP sad, naa may built in the simple webserver..so pwedi ra mka log-in didto using browser og kabalo ka sa IP address aron ma kitan unsay nahitabo jud sa RP.



    Salamat

  2. #2
    unsa man language inyu gamitun? Pangitaa sa inyung language gamitun ang Socket Programming...

    Bale, ang controller sa inyung embedded system, is naa sa Rb Pi?

    I guess, Python inyu gamitun? So, check for Socket programming sa python..

    Mahitabo sa Socket programming,
    mag open og unused Port, like sa HTTP it is port 80, then,
    sa imung monitoring computer, pwede ka mo-open og another
    port to have two way communication...

    Example:

    Raspberry Pi
    Port 3000 Sending Data
    Port 3001 Receiving Data

    Monitoring Computer
    Port 3000 Receiving Data
    Port 3001 Sending Data

  3. #3
    Quote Originally Posted by stealthghost View Post
    unsa man language inyu gamitun? Pangitaa sa inyung language gamitun ang Socket Programming...

    Bale, ang controller sa inyung embedded system, is naa sa Rb Pi?

    I guess, Python inyu gamitun? So, check for Socket programming sa python..

    Mahitabo sa Socket programming,
    mag open og unused Port, like sa HTTP it is port 80, then,
    sa imung monitoring computer, pwede ka mo-open og another
    port to have two way communication...

    Example:

    Raspberry Pi
    Port 3000 Sending Data
    Port 3001 Receiving Data

    Monitoring Computer
    Port 3000 Receiving Data
    Port 3001 Sending Data

    salamat sa pagtubag boss...
    yup..most probably python or bonescript if beaglebone black ag gamiton,ga search pa og unsay mas nindot.... pero ok raman ang sa embedded na side ky macontrol\modify man nku..

    ang problema is sa server\LAN na side, ky as much as possible dili na mogamit og lain na software, nia ag gamiton ky murag existing na NMS\SNMP manager software na naa na sa daan existing na..aron econfigure na lang sa mga IT\sysadmin ang traps\alarms gkan sa mga agern\client. Wa man gud ko idea anang mga NMS\SNMP manager na commercial og unsay capability ana like unsa kadak.a data ma receive, maconfigure ba nila mo himo og mga charts og graphs. Kita ko sa mga opensource, murag ma configure man ata. Pero di pa pod ko sure kanang mga proprietary og ingon ana ba pod, basa2 pa ko og taman ani.

    nkatry ko aning sa HTTP dba kana mga GET or POST gamiton, pero sa cortexM3 nuon nia naa local server sa ako PC na gamit Apache. Nia pwedi pod mo send data sa remote server aron ma monitor sa internet.
    Sa RPi ako ni gireserve ky magsend man pod og data sa remote server sa internet. Bali SNMP unta sa LAN, nia HTTP sa remote monitoring over internet.


    Daghang Salamat

  4. #4
    Quote Originally Posted by blaklist25 View Post
    salamat sa pagtubag boss...
    yup..most probably python or bonescript if beaglebone black ag gamiton,ga search pa og unsay mas nindot.... pero ok raman ang sa embedded na side ky macontrol\modify man nku..

    ang problema is sa server\LAN na side, ky as much as possible dili na mogamit og lain na software, nia ag gamiton ky murag existing na NMS\SNMP manager software na naa na sa daan existing na..aron econfigure na lang sa mga IT\sysadmin ang traps\alarms gkan sa mga agern\client. Wa man gud ko idea anang mga NMS\SNMP manager na commercial og unsay capability ana like unsa kadak.a data ma receive, maconfigure ba nila mo himo og mga charts og graphs. Kita ko sa mga opensource, murag ma configure man ata. Pero di pa pod ko sure kanang mga proprietary og ingon ana ba pod, basa2 pa ko og taman ani.

    nkatry ko aning sa HTTP dba kana mga GET or POST gamiton, pero sa cortexM3 nuon nia naa local server sa ako PC na gamit Apache. Nia pwedi pod mo send data sa remote server aron ma monitor sa internet.
    Sa RPi ako ni gireserve ky magsend man pod og data sa remote server sa internet. Bali SNMP unta sa LAN, nia HTTP sa remote monitoring over internet.


    Daghang Salamat
    If you don't need to create another software, all you could do is to see how their SNMP manager works and try to dissect and do what you can on their existing manager and didto ka mo-start build sa imung communication between your device and their Manager.

    I'm not familiar with SNMP managers though..

  5. #5
    If you are using raspberry PI (most likely with a linux kernel). You need to code up your SNMP agent and allow that agent to emit a TRAP message if ever you wanted to publish something that can be detected by the SNMP managers.

    I'm familiar with writing SNMP agents in native C++ using libsnmp, but if you are a Java programmer, you might wan't to consider SNMP4j, along with this tutorial

    Creating SNMP Agent (Server) in JAVA using SNMP4j | Shiva Blog

    I had a similar project before that uses SNMP for remote telemetry units (also using single board PC104 modules running Linux) that are managed via SNMP. I can probably give you some simple examples using C/C++ using libsnmp, pm me for details.

  6. #6
    Quote Originally Posted by stealthghost View Post
    If you don't need to create another software, all you could do is to see how their SNMP manager works and try to dissect and do what you can on their existing manager and didto ka mo-start build sa imung communication between your device and their Manager.

    I'm not familiar with SNMP managers though..
    lagi boss, mao nangita ko idea unsay dagway anang mga snmp managers...
    daghang salamat...

    - - - Updated - - -

    Quote Originally Posted by kolz View Post
    If you are using raspberry PI (most likely with a linux kernel). You need to code up your SNMP agent and allow that agent to emit a TRAP message if ever you wanted to publish something that can be detected by the SNMP managers.

    I'm familiar with writing SNMP agents in native C++ using libsnmp, but if you are a Java programmer, you might wan't to consider SNMP4j, along with this tutorial

    Creating SNMP Agent (Server) in JAVA using SNMP4j | Shiva Blog

    I had a similar project before that uses SNMP for remote telemetry units (also using single board PC104 modules running Linux) that are managed via SNMP. I can probably give you some simple examples using C/C++ using libsnmp, pm me for details.
    salamat sa pagtubag boss.... probably python ako gamiton ky murag mao daghan reference sa RPi, wa kaau ko alamag anang java pero mao raman tali na concept sa pag implement sa SNMP agent..
    PM ko nimo sir..

    daghang salamat...

  7. #7
    nagbasa2 ko gamay...
    probably gamiton nku is javascript, bonescript og node.js ..anyway magstart from scratch pod japon if i use java or python.
    dili pa stable ag library para snmp pero madala ra tali og modify2 og masabtan lang ang protocol.
    daghan man gud kailangan e interface nia dapat asynchronous...uart, can bus, modbus over rs485, ethernet, adc, digital i/o..

  8.    Advertisement

Similar Threads

 
  1. Neural network programming and pattern recognition
    By kai3rebel in forum Programming
    Replies: 4
    Last Post: 04-21-2023, 10:41 PM
  2. Replies: 28
    Last Post: 01-02-2013, 07:46 PM
  3. Looking For: Embedded C Programming and the Microchip PIC by Barnett, Cox and O’Cull
    By superzoy98 in forum Books & Magazines
    Replies: 0
    Last Post: 04-11-2012, 07:57 AM
  4. Replies: 22
    Last Post: 01-18-2012, 11:15 PM
  5. network connection..help..
    By etgo in forum Computer Hardware
    Replies: 22
    Last Post: 04-20-2006, 01:02 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
about us
We are the first Cebu Online Media.

iSTORYA.NET is Cebu's Biggest, Southern Philippines' Most Active, and the Philippines' Strongest Online Community!
follow us
#top