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

R

Rabid

@Rabid
Unfollow Follow
About
Posts
31
Topics
15
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Service list and table support
    R Rabid
    Support

    First, let me thank you for adding the service list and table support.  I do have a few questions regarding this feature.  First, how can I ignore a specific service.  For instance, I want to alert when a service that has a startup of auto does not equal the state of running.  But I also need to be able to ignore specific services, example the service Software Protection has a startup of auto but doesn't always have the state of running.

    The last question is when sending an alert email what is the proper Message text to get the actual service name that stopped running and to list the state of that service?


  • NetXMS 1.2.12 released
    R Rabid
    Announcements

    Will this version allow me to do what is in the following post and if so, how do I set it up?

    https://www.netxms.org/forum/general-support/dci-thresold-on-string/


  • DCI Threshold on string
    R Rabid
    Support

    Is it possible to alert on a string difference?  For example, I have created a script that gives an output of all windows services set to automatic not running.  If all services are running it will output "OK."  If there are services not running it outputs the displaynames of those services.

    Unless there is a better way to monitor all services short of manually putting them in.


  • WebUI anon access
    R Rabid
    Support

    Thanks!  Looking forward to 1.2.7.


  • WebUI anon access
    R Rabid
    Support

    Is it possible to require no authentication for the webui?  The goal is to just show a few dashboards to the public.  OR if it is possible to tie into AD and use SSO.


  • External Parameter Help
    R Rabid
    Support

    Thanks, this worked perfectly.


  • External Parameter Help
    R Rabid
    Support

    I am trying to get a powershell script to run but I am receiving a communication error.  I have a folder on my test host called c:\scripts with two .ps1 files.  I have the following on the test host's config:

    ExternalParameter = Testing:"C:\Windows\system32\WindowsPowerShell\v1.0\powershell.exe" "C:\Scripts\testing.ps1"
    ExternalParameter = Testing2:"C:\Windows\system32\WindowsPowerShell\v1.0\powershell.exe" "C:\Scripts\testing2.ps1"

    Testing returns a value but Testing2 produces a communication error.  I have ran testing2.ps1 on the local machine and it returns a value.  I have also ran the testing2.ps1 off of the machine hosting the netxms console.

    testing2.ps1

    $a = Get-Counter -Computername valandil -Counter "\Network Interface(my adapter goes here)\Bytes Total/sec" -sampleinterval 1 | ForEach-Object{$_.CounterSamples[0].CookedValue}
    $b = Get-Counter -Computername valandil -Counter "\Network Interface(my second adapter goes here)\Bytes Total/sec" -sampleinterval 1 | ForEach-Object{$_.CounterSamples[0].CookedValue}

    $ab = $a+$b
    $ab = "{0:F0}" -f $ab
    $ab

    I have a need to take two perfmon counters and add them for a single value.  How can I fix the communication issue OR is there a way two add two counters together a different way?


  • webui
    R Rabid
    Support

    I noticed that if I install the webui and leave the port to default (8787) that everything works properly.  If I install the webui and specify a different port then it doesn't work properly. 

    How do I change the webui to use a different port?


  • webui
    R Rabid
    Support

    Also want to point out that v1.2.4 works fine.  I couldn't get 1.2.5 to start the core service.


  • webui
    R Rabid
    Support

    Same response as above when going directly to http://netxmsserver/nxmc.

    This is from the nxwebui-stderr log:

    2013-03-01 06:51:16 Commons Daemon procrun stderr initialized
    Please use CMSClassUnloadingEnabled in place of CMSPermGenSweepingEnabled in the future
    2013-03-01 06:51:21.075:INFO:oejs.Server:oejs.Server#doStart(Server.java:252):jetty-7.6.1.v20120215
    2013-03-01 06:51:21.169:INFO:oejdp.ScanningAppProvider:oejdp.ScanningAppProvider#doStart(ScanningAppProvider.java:110):Deployment monitor C:\NetXMSInterwebs\WebUI\contexts at interval 1
    2013-03-01 06:51:21.185:INFO:oejd.DeploymentManager:oejd.DeploymentManager#addApp(DeploymentManager.java:129):Deployable added: C:\NetXMSInterwebs\WebUI\contexts\nxmc.xml
    2013-03-01 06:51:21.450:INFO:oejw.WebInfConfiguration:oejw.WebInfConfiguration#unpack(WebInfConfiguration.java:455):Extract jar:file:/C:/NetXMSInterwebs/WebUI/nxmc/nxmc.war!/ to C:\Windows\Temp\jetty-0.0.0.0-80-nxmc.war-_-any-\webapp
    2013-03-01 06:51:24.850:INFO:oejsh.ContextHandler:oejsh.ContextHandler#startContext(ContextHandler.java:737):started o.e.j.w.WebAppContext{/,file:/C:/Windows/Temp/jetty-0.0.0.0-80-nxmc.war-_-any-/webapp/},C:\NetXMSInterwebs\WebUI/nxmc/nxmc.war
    2013-03-01 06:51:32.640:INFO:oejdp.ScanningAppProvider:oejdp.ScanningAppProvider#doStart(ScanningAppProvider.java:110):Deployment monitor C:\NetXMSInterwebs\WebUI\contexts at interval 1
    2013-03-01 06:51:32.640:INFO:oejd.DeploymentManager:oejd.DeploymentManager#addApp(DeploymentManager.java:129):Deployable added: C:\NetXMSInterwebs\WebUI\contexts\nxmc.xml
    2013-03-01 06:51:33.217:WARN:oejw.WebInfConfiguration:oejw.WebInfConfiguration#makeTempDirectory(WebInfConfiguration.java:360):Can't reuse C:\Windows\TEMP\jetty-0.0.0.0-80-nxmc.war-_-any-, using C:\Windows\TEMP\jetty-0.0.0.0-80-nxmc.war-_-any-_7096619115418526698
    2013-03-01 06:51:33.279:INFO:oejw.WebInfConfiguration:oejw.WebInfConfiguration#unpack(WebInfConfiguration.java:455):Extract jar:file:/C:/NetXMSInterwebs/WebUI/nxmc/nxmc.war!/ to C:\Windows\Temp\jetty-0.0.0.0-80-nxmc.war-_-any-_7096619115418526698\webapp
    2013-03-01 06:51:35.186:INFO:oejsh.ContextHandler:oejsh.ContextHandler#startContext(ContextHandler.java:737):started o.e.j.w.WebAppContext{/,file:/C:/Windows/Temp/jetty-0.0.0.0-80-nxmc.war-_-any-_7096619115418526698/webapp/},C:\NetXMSInterwebs\WebUI/nxmc/nxmc.war
    2013-03-01 06:51:41.759:INFO:oejs.AbstractConnector:oejs.AbstractConnector#doStart(AbstractConnector.java:333):Started [email protected]:80
    2013-03-01 06:51:41.759:INFO:oejs.AbstractConnector:oejs.AbstractConnector#doStart(AbstractConnector.java:333):Started [email protected]:80

    and the following is from the commons-daemon

    [2013-03-01 06:51:16] [debug] ( prunsrv.c:1644) Commons Daemon procrun log initialized
    [2013-03-01 06:51:16] [info]  ( prunsrv.c:1648) Commons Daemon procrun (1.0.9.0 64-bit) started
    [2013-03-01 06:51:16] [info]  ( prunsrv.c:1561) Running 'nxWebUI' Service...
    [2013-03-01 06:51:16] [debug] ( prunsrv.c:1345) Inside ServiceMain...
    [2013-03-01 06:51:16] [info]  ( prunsrv.c:1089) Starting service...
    [2013-03-01 06:51:16] [debug] ( javajni.c:206 ) loading jvm 'C:\NetXMSInterwebs\bin\jre\bin\server\jvm.dll'
    [2013-03-01 06:51:16] [debug] ( javajni.c:660 ) Jvm Option[0] -Djetty.home=C:\NetXMSInterwebs\WebUI
    [2013-03-01 06:51:17] [debug] ( javajni.c:660 ) Jvm Option[1] -DSTOP.PORT=8087
    [2013-03-01 06:51:17] [debug] ( javajni.c:660 ) Jvm Option[2] -DSTOP.KEY=downB0y
    [2013-03-01 06:51:17] [debug] ( javajni.c:660 ) Jvm Option[3] -Djetty.logs=C:\NetXMSInterwebs\WebUI\logs
    [2013-03-01 06:51:17] [debug] ( javajni.c:660 ) Jvm Option[4] -Dorg.eclipse.jetty.util.log.SOURCE=true
    [2013-03-01 06:51:17] [debug] ( javajni.c:660 ) Jvm Option[5] -XX:MaxPermSize=128M
    [2013-03-01 06:51:17] [debug] ( javajni.c:660 ) Jvm Option[6] -XX:+CMSClassUnloadingEnabled
    [2013-03-01 06:51:17] [debug] ( javajni.c:660 ) Jvm Option[7] -XX:+CMSPermGenSweepingEnabled
    [2013-03-01 06:51:17] [debug] ( javajni.c:660 ) Jvm Option[8] -Djetty.port=80
    [2013-03-01 06:51:17] [debug] ( javajni.c:660 ) Jvm Option[9] -Djava.class.path=C:\NetXMSInterwebs\WebUI\start.jar
    [2013-03-01 06:51:18] [debug] ( javajni.c:844 ) argv[0] = OPTIONS=All
    [2013-03-01 06:51:18] [debug] ( javajni.c:844 ) argv[1] = C:\NetXMSInterwebs\WebUI\etc\jetty.xml
    [2013-03-01 06:51:18] [debug] ( javajni.c:844 ) argv[2] = C:\NetXMSInterwebs\WebUI\etc\jetty-deploy.xml
    [2013-03-01 06:51:18] [debug] ( javajni.c:844 ) argv[3] = C:\NetXMSInterwebs\WebUI\etc\jetty-contexts.xml
    [2013-03-01 06:51:18] [debug] ( javajni.c:897 ) Java Worker thread started org/eclipse/jetty/start/Main:main
    [2013-03-01 06:51:19] [debug] ( prunsrv.c:1148) Java started org/eclipse/jetty/start/Main
    [2013-03-01 06:51:19] [info]  ( prunsrv.c:1244) Service started in 2640 ms.
    [2013-03-01 06:51:19] [debug] ( prunsrv.c:1496) Waiting for worker to finish...
    [2013-03-01 06:51:41] [debug] ( javajni.c:914 ) Java Worker thread finished org/eclipse/jetty/start/Main:main with status=0
    [2013-03-01 06:51:41] [debug] ( prunsrv.c:1501) Worker finished.
    [2013-03-01 06:51:42] [debug] ( prunsrv.c:1524) Waiting for all threads to exit

    and lastly this is from the nxwebui-stdout

    2013-03-01 06:51:16 Commons Daemon procrun stdout initialized


  • webui
    R Rabid
    Support

    Windows 2012 server with netxms netxms-1.2.6-x64.exe installed to C:\NetXMS and netxms-webui-1.2.6-x64.exe installed to C:\NetXMSInterwebs on port 80.  When I navigate to http:\\netxmsserver I get redirected to http://netxmsserver/nxmc with a gray gradient background but nothing else.  no login page.  I have tried IE10 and FF and both have the same result.  what am I missing?


  • ServiceCheck.HTTP
    R Rabid
    Support

    I have one instance of NetXMS version 1.2.4 running a servicecheck.http of ServiceCheck.HTTP(xxx.xxx.xxx.xxx,80,"^HTTP/1\.[01]") and it returns a value of 0.

    On a different server I have an instance of NetXMS version 1.2.5 running a servicecheck.http of ServiceCheck.HTTP(xxx.xxx.xxx.xxx,80,"^HTTP/1\.[01]") and it returns a value of 3.

    What exactly am I missing?  Any help would be greatly appreciated.

    Just a note I am checking the same site on both servers and the site is up and running.


  • Custom node down
    R Rabid
    Support

    Thanks, it works like a charm!


  • Custom node down
    R Rabid
    Support

    I am guessing that I am missing something.

    I created two new events (node_down_emailB and node_up_emailB).

    I copied the Node Down and Node Up event processing policies and replaced with the events above.  I also added new email actions.

    I then went to the node status DCI and added a new threshold using the above events with 1 sample < 0.  (I already have a sys_node_down event that fires an email to a certain group and this part works).  I then checked process all thresholds.

    I reboot the server and userA gets an email (belongs to the sys_node_down event) but userB does not get an email (belongs to the node_down_emailB event).


  • Custom node down
    R Rabid
    Support

    Is it possible to do the following when a node goes down?

    ServerA nodes goes down, send an email to userA.

    ServerB nodes goes down, send an email to userA and userB.


  • Couple of questions
    R Rabid
    Support

    Running 1.2.0 Console and agents.

    First question, I have a WMI Query WMI.Query(root\cimv2,"select * from Win32_PerfFormattedData_PerfDisk_PhysicalDisk Where Name = '_total'",DiskWriteBytesPersec) and it yields results but yet when I try to graph this DCI I get a flat line of 0.

    Second question, is it possible to monitor all windows services that are set to "automatic" and if any are not started to get an alert.  I believe Nagios does something like this.

    Third question, I would really like to try out the reporting, is there an example somewhere?


  • Rearm email and threshold/actual value
    R Rabid
    Support

    Using NetXMS 1.0.12 Server with a mix of 1.0.12 and 1.1.4 agents.

    When a rearm email is sent is it possible to include the threshold value and the actual value?  If so, how?


  • Actions and Emails
    R Rabid
    Support

    sorry forgot that info.

    Agents are 1.1.4
    Server is 1.0.12


  • Actions and Emails
    R Rabid
    Support

    I have two actions that are set to email me, one upon failure and one on success.

    The email subject for the failure works correct.  The subject line is as follows:
    LOW MEMORY:  On %t, total ram being used is %4%% on %n.

    This returns LOW MEMORY: On today'sdate, total ram being used is 99% on mynode.

    The email subject for the success doesnt work so well.  The subject line is as follows:
    MEMORY GOOD:  On %t, total ram being used is %4%% on %n.

    This returns MEMORY GOOD: On today'sdate, total ram being used is % on mynode.

    why does %4 not work on success?  On success I would like to know what the current value is.


  • 1.1.5 and agent on server
    R Rabid
    Support

    I had only one address in my config file.  Adding the second worked like a charm, thanks!

  • 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