Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - Rabid

#1
General Support / Service list and table support
March 24, 2014, 03:56:57 PM
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?
#2
Announcements / Re: NetXMS 1.2.12 released
February 28, 2014, 10:31:21 PM
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/

#3
General Support / DCI Threshold on string
February 07, 2014, 07:22:20 PM
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.
#4
General Support / Re: WebUI anon access
April 29, 2013, 09:26:10 PM
Thanks!  Looking forward to 1.2.7.
#5
General Support / WebUI anon access
April 19, 2013, 10:15:43 PM
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.
#6
General Support / Re: External Parameter Help
April 19, 2013, 10:12:31 PM
Thanks, this worked perfectly.
#7
General Support / External Parameter Help
April 11, 2013, 10:18:01 PM
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?

#8
General Support / Re: webui
March 12, 2013, 05:52:31 PM
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?
#9
General Support / Re: webui
March 01, 2013, 08:04:50 PM
Also want to point out that v1.2.4 works fine.  I couldn't get 1.2.5 to start the core service.
#10
General Support / Re: webui
March 01, 2013, 02:01:57 PM
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
#11
General Support / webui
February 28, 2013, 10:46:03 PM
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?
#12
General Support / ServiceCheck.HTTP
January 22, 2013, 09:25:30 PM
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.
#13
General Support / Re: Custom node down
October 16, 2012, 02:24:35 PM
Thanks, it works like a charm!
#14
General Support / Re: Custom node down
October 12, 2012, 08:56:40 PM
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).
#15
General Support / Custom node down
October 11, 2012, 08:54:35 PM
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.