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.

Messages - Anders

Pages: 1 [2] 3 4
General Support / Monitor qemu-kvm processes
« on: January 04, 2013, 03:25:08 pm »

I'm facing a problem where I need to monitor the availability of a number of qemu-kvm processes (virtual machines) in Linux.

Normally you can gather statistics by for example defining: Process.CPUTime(qemu-kvm) but what if I have a number of qemu-kvm processes that I'd like to monitor individually? The only way to tell the processes a part is by --name XXXX attribute, which states the virtual machines name and/or id.

I guess the ideal scenario would be to setup the monitoring and DCI collection on a cluster-object and associate all the qemu-kvm hosts underneath it, then the monitoring and the stats would keep collecting even if a virtual machine is migrate to a different host. But my problem is that I can't filter running processes by attributes, or at least, I haven't found out how...

Hopefully someone can give me a hint in which way to go, thanks!


General Support / Re: Stuck red-dot status icon on the "Entire Network"
« on: December 19, 2012, 04:02:39 pm »
Thanks for the hint jdl and sorry for my late reply.

I did actually get a new node down alert and when the node went up again the alert and the red-dot problem disappeared...

Thanks anyway for your quick reply on my problem, I'll try that if the problem ever occurs again.

General Support / Re: How to do timedrift detection on agents
« on: December 14, 2012, 10:22:05 am »
Aha! Thanks Victor, this should have been obvious, but for some reason I got the impression that time() returned the agents local time and not the netxms servers local time.

General Support / Stuck red-dot status icon on the "Entire Network"
« on: December 14, 2012, 10:16:09 am »

I seems to have got a "stuck" red-dot on a subnet below the "Entire Network", but when I expand the sub-net, I can't find any DCI-node that "owns" the error. I believe that the red-dot is a remnant from a deleted node.

How would I go about to remove the red-dot?



General Support / How to do timedrift detection on agents
« on: December 14, 2012, 10:01:06 am »

I have been trying to setup a time-drift template, that monitors my agents local system time and compares it to the time of the monitoring server, basically I'd like to find servers that drifts in time despite of a NTP daemon (all servers are in the same time zone).

But I can't seem to get it to work as I only seem to be able to get the agents local time.

Any suggestions on how this could be solved?



I'm looking forward to it, keep up the great work!

Thanks Victor, btw. do you have any ETA on 1.2.5? :)


I've just recently added a second SMS-destination (action) in the "Event Processing Policy" for a temperature sensor that I'm polling via SNMP. If the policy only has one SMS destination (action), the SMS alarms seems to be triggered fine, but when a second target is added, the NetXMS Server crashes (seg. faults).

I get the following output from gdb:
Code: [Select]
#0  0x00007ffff4e91101 in ?? () from /lib/x86_64-linux-gnu/
#1  0x00007ffff4e90d66 in strdup () from /lib/x86_64-linux-gnu/
#2  0x00007ffff7bc5166 in Serial::Open (this=0x7fffefce04a0, pszPort=0x0) at serial.cpp:84
#3  0x00007ffff7bc51de in Serial::Restart (this=0x7fffefce04a0) at serial.cpp:313
#4  0x00007ffff7bc5263 in Serial::Write (this=0x7fffefce04a0, pBuff=0x7fffefadfc23 "AT+CMGF=0\r\n", nSize=11) at serial.cpp:473
#5  0x00007fffefadef6a in SMSDriverSendPDU (pszPhoneNumber=0xXXXXXXXXXXXXX "4670XXXXXXX", pszText=<optimized out>) at main.cpp:257
#6  0x00007fffefadf48d in SMSDriverSend (pszPhoneNumber=0xXXXXXXXXXXXXX "4670XXXXXXX",
    pszText=0x7fffc0025940 "Host: XXXXXXXXX (XXX.XXX.XXX.XXX)\r\nObject: Temperature sensor: XXXXXXXXXXXXXXXX\r\nEvent: Critical (100043)\r\nValue: 21.100000\r\nTimestamp: 11-Dec-2012 14:14:07") at main.cpp:187
#7  0x00007ffff6ce9482 in SenderThread (pArg=<optimized out>) at sms.cpp:64
#8  0x00007ffff59e0e9a in start_thread () from /lib/x86_64-linux-gnu/
#9  0x00007ffff4efbcbd in clone () from /lib/x86_64-linux-gnu/

Let me know if I can assist with any further information.

// Anders

General Support / Re: FileSystem.* and LVM
« on: November 29, 2012, 02:30:10 pm »
Try the following device path instead: /dev/mapper/SysVolGroup-root

General Support / ServiceCheck.HTTP offending port value in the Host header
« on: November 24, 2012, 10:52:33 am »

I've been struggling a bit with monitoring a particular Wordpress site, I kept getting a 301 redirect all the time from the site with ServiceCheck.HTTP, I finally figure it out after some TCPDumping of the traffic, the request from ServiceCheck.HTTP looks like this:

Code: [Select]
GET / HTTP/1.1
Connection: close
Accept: */*

The additional :80 in the Host header seems to be causing the problem, as soon as i modified the source code for the portcheck subagent in: netxms-1.2.4/src/agent/subagents/portCheck/http.cpp to exclude the port value, the Wordpress site stopped redirecting me and instead showed the HTML output of the site.

I'm not sure what the solution should be and this probably is a Wordpress specific issue, but I'd love to see an option to specify and have the possibility to override what HTTP headers are sent to the target.



Feature Requests / Re: Chart with multiple DCI-values in performancetab
« on: November 22, 2012, 10:41:28 pm »
I'd really like to see this feature too. Or maybe a Dashboard-tab per DCI (could possibly replace the performance-tab in the future)?

Feature Requests / Re: Action Groups
« on: November 21, 2012, 10:36:48 am »
I'm glad that you agree.
I actually had no idea that multiple recipients also could be defined in SMS notifications, thanks Victor!

Feature Requests / Action Groups
« on: November 20, 2012, 10:12:21 pm »

I'd like to see the possibility to select a group of people to send an server action to (such as an e-mail, SMS and/or trigger an NXSL script).

My problem is, if I for example need to add or remove a person from the list of people that receives an e-mail alarm, I would have to walk through all the policies in the "Event Processing Policies" and add or remove the affected person in each one. A easier way would be to define "action group" that could be added in the policy "server action".

I hope my request makes some sense.



General Support / Re: SMS access denied
« on: November 08, 2012, 03:23:11 pm »
Thanks Victor! That solved my problem.

Hopefully this post can be useful for someone else that runs into the same problem :)

General Support / SMS access denied
« on: November 07, 2012, 05:12:45 pm »

I'm trying to get our Huawei E367U modem to work with NetXMS to send SMS. I believe I've configured NetXMS correctly and the output from the NetXMS initial bootup seems to support that:

Code: [Select]
Nov  7 15:49:49 monjj01 netxmsd[31752]: Loading Generic SMS Driver (configuration: /dev/ttyUSB0,9600,8,n,1)
Nov  7 15:49:49 monjj01 netxmsd[31752]: SMS init: port={/dev/ttyUSB0}, speed=9600, data=8, parity=NONE, stop=1
Nov  7 15:49:49 monjj01 netxmsd[31752]: SMS: port opened
Nov  7 15:49:49 monjj01 netxmsd[31752]: SMS init: ATZ sent, got {#015#012^BOOT:45195587,0,0,0,99#015#012}
Nov  7 15:49:49 monjj01 netxmsd[31752]: SMS init: ATE0 sent, got {#015#012OK#015#012}
Nov  7 15:49:49 monjj01 netxmsd[31752]: SMS init: ATI3 sent, got {ATE0#015}
Nov  7 15:49:49 monjj01 netxmsd[31752]: GSM modem on /dev/ttyUSB0,9600,8,n,1 initialized successfully. Hardware ID: "ATE0".

NetXMS configuration:
Code: [Select]
SMSDriver = /usr/lib/
SMSDrvConfig = /dev/ttyUSB0,9600,8,n,1

(In order to rule out setting issues, I have tried using minicom with the following device settings: /dev/ttyUSB0 and 9600, 8n1 to manually send SMS and its been successfull).

But when I click on Tools -> Send SMS and enter the following data:
Phonenr: 4670XXXXXXX
Message: test test test

I get a error message stating that it: "cannot send a message to 4670XXXXXXX: access denied", please see the attached screenshot.
I've tried different combinations like +4670XXXXXXX or simply 070XXXXXXX, but everything gives me the same error message.
The user that I'm attempting to send SMS with is the default administrator user, created upon initial install of NetXMS and I've checked so that it has permissions to send SMS.

I'm clueless to what to try next, any help would be appreciated.



Pages: 1 [2] 3 4