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

S

sushizang

@sushizang
Unfollow Follow
About
Posts
18
Topics
8
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Problem with subgents
    S sushizang
    Support

    Usage: nxagentd [options]
    Where valid options are:
      -c <file>  : Use configuration file <file> (default {search})
      -C        : Check configuration file and exit
      -d        : Run as daemon/service
      -D        : Turn on debug output
      -f        : Run in foreground
      -h        : Display help and exit
      -M <addr>  : Download config from management server <addr>
      -p        : Path to pid file (default: /var/run/nxagentd.pid)
      -P <text>  : Set platform suffix to <text>
      -r <addr>  : Register agent on management server <addr>
      -v        : Display version and exit


  • Read/Write DB table...
    S sushizang
    Feature Requests

    Read and Write data on user own DB (Ex. MySQL).

    Especially, Write the collected data by NetNMS into user own DB.

    For Ex. Read disk size and write that into my DB.

    Needed parameters are:

    1. DB server address
    2. DB name
    3. User name
    4. Password
    5. Table name
    6. Query (Something like Fieldname = 'myField')
      .
      .

    How about you?

    Thanks.
    Regards.


  • Agent parameters...
    S sushizang
    Feature Requests
    1. single memory

    Real code below:
    ============================================
    shmid = shmget((key_t)( 9790 + 2 ), 24, 0666|IPC_CREAT);
    ============================================

    *9790: shmkey

    *2: offset (optional)

    *24: size of data type (could be pre-define)

    At least needed value is shmkey.

    Offset value could be merged into shmkey. (ex.9792)

    I tested, it's ok. But, struct memory...

    Thanks.
    Regards.


  • Agent parameters...
    S sushizang
    Feature Requests
    1. if single memory
    • MemShared.Int(key, offset)
    • MemShared.Unint(key, offset)
    • MemShared.Char(key, offset)
    • MemShared.Float(key, offset)
    • MemShared.String(key, offset)
    1. if struct memory
    • MemShared.Struct.Int(key, index, offset)
    • MemShared.Struct.Unint(key, index, offset)
    • MemShared.Struct.Char(key, index, offset)
    • MemShared.Struct.Float(key, index, offset)
    • MemShared.Struct.String(key, index, offset)

    I don't know details...

    Thanks.
    Regards.


  • [BUG?] show host names not saved.
    S sushizang
    Support

    Add multi source of graph and check the " Show host names" in Graph Properties and click OK.

    Close that graph window and re-open that saved graph, but Show host names is unchecked.

    Could you check it?

    Thanks.
    Regards.


  • Agent parameters...
    S sushizang
    Feature Requests
    1. Read file & get data
      File.Content.Char(*)
      File.Content.Int(*)
      File.Content.String(*)

    2. Read shared memory & get data
      Share.Mem.Char(*)
      Share.Mem.Int(*)
      Share.Mem.String(*)

    How about ?

    Thanks.
    Regards.


  • DCI problem...
    S sushizang
    Support

    Yes.

    "Process.CountEx(".*"," node_agent")" and (".*","  ./node_agent") works fine.

    But, (".*"," \\./node_agent") not works. (Don't care)

    Thanks.
    Regards.


  • DCI problem...
    S sushizang
    Support

    Yes, you right. That's a python script.

    And "Process.CountEx(".*","^node_agent")" not work, just return '0', But "python" return '1'.

    Thanks.
    Regards.


  • SNMP OID auto discovery...?
    S sushizang
    Support

    I want to monitor status of my process using SNMP protocol on linux system.

    But, the process has restart, that OID(Linux PID) is changed, so can not monitor any more.

    How can I fix it?

    Thanks.


  • Threshold and auto action...
    S sushizang
    Support

    After change "Action" to "ActionShellExec", works fine.

    Thanks.


  • Threshold and auto action...
    S sushizang
    Support
    1. Windows agent

    1.1 agent config
    Action = Test2:c:\Test2.bat (echo test2 >> c:\test2.txt)

    1.2 Event OK

    1.3 "test2.txt" generated Ok. (Works fine.)

    1. Linux agent

    2.1 agent config
    Action=Test1:/root/test1.sh (echo test1 >> c:\test1.txt)

    2.2 Event OK.

    2.3 "test1.txt" not generated.

    What's wrong?

    Need helps.

    Thanks.


  • How can I restart remote process automatically?
    S sushizang
    Support
    1. Add action to agent's config & restart agent
      Action = Test:ls > /ls.txt

    2. Define action on console's object tools.
      name: Test
      description: ls
      command: ls > /ls.txt
      access: everyone

    And then?

    Before,  I have define the action on "control panel -> Actions".

    And add it to event processing policy editor.

    And add that event on "Data collection -> threshold".

    But, not work.

    What is the difference between action and object tools on control panel?

    Sorry, but I can not find the details of define action on user manual.

    Thanks.
    Regards.


  • DCI problem...
    S sushizang
    Support

    # ps -ef | grep node
    root      7549    1  0 13:41 ?        00:00:01 ./node_agent -d

    parameters:
    node_agent
    node_agent -d
    ./node_agent
    ./node_agent -d

    All of return values are '0'.

    Thanks.
    Regards.


  • How can I restart remote process automatically?
    S sushizang
    Support

    I want to restart my remote process(linux) when that process goes down, using NetXMS console.

    How can I do?

    Thanks.
    Regards.


  • DCI problem...
    S sushizang
    Support

    Using NetXMS agent, some custom process can not be recognized.

    That process really executing in the system(Linux).

    I can check it using "ps -ef".

    But, When I get it on NetXMS console, just return value '0'.

    Other custom process is works fine.

    Using SNMP protocol, can not be auto recognize that OID(PID). Right?

    Could you help me?

    Thanks.
    Regards.


  • Flex errors
    S sushizang
    Development windows

    I have install msys but can not find it.

    So, I have install Cygwin to re-compile flex src.

    And I could find it from installed Cygwin directory (c:/cygwin/bin).

    In other word, No need re-compile flex.

    thanks.

    Regards.


  • Flex errors
    S sushizang
    Development windows

    I can not find "flex version 2.5.33 for windows".

    But, Just "flex-2.5.4a".

    How can I get it??

    Regards.


  • Simple history of compiling nxcon for win32 with VC++6
    S sushizang
    Development windows
    1. src: netxms-0.2.26.tar.gz (None of modified)
    2. Install Microsoft Visual Studio 6 Ent.
    3. Install Microsoft Visual Studio 6 Service Pack 6
    4. Install Microsoft Windows Server 2003 PSDK (PSDK-x86.msi) & Set path (include, lib)
    5. Install Microsoft Windows Server 2003 PSDK (CoreSDK-x86.msi) & Set path (include, lib)
    6. Download openssl-0.9.8b-vc6.tar.gz
        -> Program Files/Microsoft SDK/include/openssl
        -> Program Files/Microsoft SDK/Lib
    7. Download expat-2.0.1.tar.gz
        -> Program Files/Microsoft SDK/include/expat.h
        -> Program Files/Microsoft SDK/include/expat_external.h
    8. Download expat-win32bin-2.0.1.exe
        -> Program Files/Microsoft SDK/Lib/libexpatw.lib
    9. Download zlib123-dll.zip
        -> Program Files/Microsoft SDK/include/zlib.h
        -> Program Files/Microsoft SDK/include/zconf.h
        -> Program Files/Microsoft SDK/Lib/zlib1.dll (google)
    10. copy icon file
        : netxms-0.2.26/src/console/win32/icons/Severity*.ico -> netxms-0.2.26/src/console/nxuilib/res/
    11. Download scintilla178.zip
        -> Program Files/Microsoft SDK/include/Scintilla.h
    12. Install Microsoft Speech SDK 5.1 (SpeechSDK51.exe) & Set path (include, lib)
    13. Build

    Bye...

  • 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