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

M

MitchW

@MitchW
Unfollow Follow
About
Posts
5
Topics
2
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Deactivation Event - After x polls
    M MitchW
    Support

    Thank you very much Filipp!
    I did not think/know about the different functions which are available for the threshold. 

    I should get it to work with the information you gave me 🙂 

    Kind Regards,
    Mitch


  • Deactivation Event - After x polls
    M MitchW
    Support

    Hello!

    Currently we have a small issue with NetXMS resolving errors if it cannot poll a certain value.

    For example: The value should be 0. If the value is 1, a error will be given. But if NetXMS cannot poll the value for 1 poll, the errors resolves.
    I tried setting the samples to 3 in the hope that the error would also resolve after 3 tries, but this is not the case.

    Activation Event - Will be given after 3 polls
    Deactivation Event - Will be given after 1 poll

    NetXMS is not able to execute a script because the file is probably open. Then NetXMS will "Resolve" the DCI and after 3 polls it will be activated again.
    Is it possible to have the deactivation event also set to like 3 polls so that we don't get any "resolved" notifications if NetXMS is not able to get results from a script?

    We are on version 4.1.420 over NetXMS Management Console.

    Kind Regards,
    Mitch


    2023-10-31 07_57_12-WM-VSUPPORT-4 - CMAS_F5  - 10.132.233.150 - Remote Desktop Connection.png

    2023-10-31 08_08_36-WM-VSUPPORT-4 - CMAS_F5  - 10.132.233.150 - Remote Desktop Connection.png


  • Agent 1.0.13 Windows 2000 - .Bat results to server
    M MitchW
    Support

    This did the trick!

    I changed my config to: ExternalParameter=Test:"cmd.exe "/C C:\PROGRA~1\Scripts\test.bat"" and now I have the result in my NetXMS Server 🙂

    Thanks!


    server.png


  • Agent 1.0.13 Windows 2000 - .Bat results to server
    M MitchW
    Support

    Hi Filipp,

    I don't think the ExternalParameterShellExec is compatible with Windows 2000. As soon as I add this to my agent config, the Server shows: Error
    However the ExternalParameter should work as it is right now or not? Because the full path to the .bat file is mentioned in the config.


  • Agent 1.0.13 Windows 2000 - .Bat results to server
    M MitchW
    Support

    Hello,

    We are running NetXMS on a lot of our systems which are windows XP, Windows 7 and Windows Server 201x. The agent is running perfect on those systems and we created some specific powershell scripts which allows us to monitor specific service states and more.

    We also have a lot of Windows 2000 systems on which we do not have installed the agent yet. This is what i'm currently testing, and we noticed that version 1.0.13 is still compatible with windows 2000. I installed this agent without any problem and our NetXMS server can "talk" with this system.

    The problem I have now is that I want to create specific .bat files which check if a service is still running on the Windows 2000 system.
    I have created the following .bat for this:

    @ECHO OFF
    sc query NetXMSAgentdw32 | find "RUNNING"
    sc query NetXMSAgentdw32 | find "STOPPED"
    

    and the .bat file returns the following:
    STATE : 4 RUNNING

    I would like to have this value to be returned in our NetXMS server so that I can set alarm thresholds.
    I have changed the nxagentd.conf as follow:

    ExternalParameter=Test:"Start C:\PROGRA~1\Scripts\test.bat"

    Then I added the test to our Data Collection Configuration (See attachment).
    But this returns an ERROR (See other attachment).
    We would like / expect to have the result from the Batch inside of the Value so that we can set thresholds on this value.

    Normally we use Powershell which works perfect. But we can't use that on the Windows 2000 systems since they don't support Powershell..

    Is there a way to get the result from the .bat into our value field / did I make any mistakes in the nxagentd.conf?

    -Mitch


    Data Collection.png

    result.png

  • 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