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

G

gyouja

@gyouja
Unfollow Follow
About
Posts
10
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Поддержка Net.Interface.BytesIn64() для Linux
    G gyouja
    Feature Requests russian

    Я для этого уже давно написал и использую такой патчик:

    --- netxms-1.2.10/src/agent/subagents/linux/linux.cpp	2013-11-15 18:04:23.000000000 +0400
    +++ netxms-1.2.10-r1/src/agent/subagents/linux/linux.cpp	2014-01-09 17:51:00.000000000 +0400
    @@ -180,9 +180,9 @@
     	{ _T("Net.Interface.AdminStatus(*)"), H_NetIfInfoFromIOCTL, (TCHAR *)IF_INFO_ADMIN_STATUS,
     		DCI_DT_INT,		DCIDESC_NET_INTERFACE_ADMINSTATUS },
     	{ _T("Net.Interface.BytesIn(*)"),     H_NetIfInfoFromProc, (TCHAR *)IF_INFO_BYTES_IN,
    -		DCI_DT_UINT,	DCIDESC_NET_INTERFACE_BYTESIN },
    +		DCI_DT_UINT64,	DCIDESC_NET_INTERFACE_BYTESIN },
     	{ _T("Net.Interface.BytesOut(*)"),    H_NetIfInfoFromProc, (TCHAR *)IF_INFO_BYTES_OUT,
    -		DCI_DT_UINT,	DCIDESC_NET_INTERFACE_BYTESOUT },
    +		DCI_DT_UINT64,	DCIDESC_NET_INTERFACE_BYTESOUT },
     	{ _T("Net.Interface.Description(*)"), H_NetIfInfoFromIOCTL, (TCHAR *)IF_INFO_DESCRIPTION,
     		DCI_DT_STRING,	DCIDESC_NET_INTERFACE_DESCRIPTION },
     	{ _T("Net.Interface.InErrors(*)"),    H_NetIfInfoFromProc, (TCHAR *)IF_INFO_IN_ERRORS,
    diff -ur netxms-1.2.10/src/agent/subagents/linux/net.cpp netxms-1.2.10-r1/src/agent/subagents/linux/net.cpp
    --- netxms-1.2.10/src/agent/subagents/linux/net.cpp	2013-11-29 17:56:24.000000000 +0400
    +++ netxms-1.2.10-r1/src/agent/subagents/linux/net.cpp	2014-01-09 17:53:39.000000000 +0400
    @@ -526,15 +526,15 @@
        int i;
        char *eptr, szBuffer[256];
        const char *pszWord;
    -   DWORD dwValue;
    +   QWORD qwValue;
        LONG nRet = SYSINFO_RC_ERROR;
    
        for(i = 0, pszWord = pszLine; i <= nPos; i++)
           pszWord = ExtractWordA(pszWord, szBuffer);
    -   dwValue = strtoul(szBuffer, &eptr, 0);
    +   qwValue = (QWORD) strtoull(szBuffer, &eptr, 0);
        if (*eptr == 0)
        {
    -      ret_uint(pValue, dwValue);
    +      ret_uint64(pValue, qwValue);
           nRet = SYSINFO_RC_SUCCESS;
        }
        return nRet;
    

  • nxmc 2.0.2
    G gyouja
    Support (Russian)

    Никаких новостей?


  • ExternalParameter - Escape Character?
    G gyouja
    Support

    Use $$2


  • nxmc 2.0.2
    G gyouja
    Support (Russian)
    $ /usr/libexec/java_home -V
    Matching Java Virtual Machines (1):
        1.8.0_45, x86_64:	"Java SE 8"	/Library/Java/JavaVirtualMachines/jdk1.8.0_45.jdk/Contents/Home
    
    /Library/Java/JavaVirtualMachines/jdk1.8.0_45.jdk/Contents/Home
    

  • nxmc 2.0.2
    G gyouja
    Support (Russian)

    Удалось запустить из консоли
    /Applications/NetXMS\ Console.app/Contents/MacOS/nxmc
    заменив в Info.plist $APP_PACKAGE на /Applications/NetXMS Console.app
    Но это не решение проблемы 🙂


  • nxmc 2.0.2
    G gyouja
    Support (Russian)

    sha1 совпадает


  • nxmc 2.0.2
    G gyouja
    Support (Russian)

    @alk said in nxmc 2.0.2:

    DMG, или сам .app?

    .app


  • nxmc 2.0.2
    G gyouja
    Support (Russian)

    После установки 2.0.2. В чем проблема?


    Screen Shot 2016-02-09 at 1.11.45 PM.png


  • Template a remote service check?
    G gyouja
    Support

    Set your NetXMS server as "Proxy node" in Properties of that DCI.


  • Linux Memory Monitoring
    G gyouja
    Support

    @pace said in Linux Memory Monitoring:

    Still having this problem.  Any solutions out there?

    Add following line to nxagentd.conf and create appropriate DCI for FreeMemPerc:

    ExternalParameter = FreeMemPerc:awk '$$1=="MemTotal:" {total=$$2} $$1=="MemFree:" {free=$$2} $$1=="Cached:" {cached=$$2} END {printf("%.0f\n",(free+cached)/total*100)}' /proc/meminfo
    
  • 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