Components tab

Started by lukejj, April 04, 2014, 12:43:33 AM

Previous topic - Next topic

lukejj

Hi,
I was hoping that someone might be able to help me.  My plan is to take the information in the "components" tab which is accessed vi Object details and copy it into the comments field for that node.  The overall goal is to have a snapshot of what the device was including serial numbers and additional cards etc when it was first "seen" by NetXMS.  I guess I'm trying to make NetXMS like an asset register as well.

My problem is that I can't find in the database where the information in the "components" tab about the node is stored - or is it a snmpget which is done when you access the components tab perhaps?

If anyone knows where the data is stored (Serial number, model, vendor etc) that would be great, or if you have a better idea on reaching the goal I'm trying to achieve that would be good too.
Thanks,
Luke

lukejj

From more investigations, I don't think it's stored in the database, but at the same time, when accessing the components tabs I'm not seeing the netxms server doing a snmpget (watching with tcpdump)

Has anyone got any ideas?
please?

Victor Kirhenshtein

Components information collected during configuration polls and kept in server memory. I can provide access to it via NXSL scripts - then you'll be able to create configuration poll hook and change comments from components information.

Best regards,
Victor

lukejj

Hi Victor,
Thanks for the information - that makes sense and explains what I couldn't find it.  Access to the NXSL scripts would be good.
Regards,
Luke

lukejj

Hi Victor,
How can I get access to it via NXSL scripts so that I can do as you suggest.
Thanks,
Luke

Victor Kirhenshtein

I mean that it requires additional development. I've rigistered it as feature request so it will not be forgotten (https://www.radensolutions.com/chiliproject/issues/561).

Best regards,
Victor