DCI "Exec" origin?

Started by bwolfe, May 04, 2013, 02:55:27 AM

Previous topic - Next topic

bwolfe

I work with a lot of SNMP-only embedded devices, as well as VM appliances that fall out of support if I try to gain root and install npre or the netxms agent. Some of these devices have really limited data which they expose over SNMP, and it would be super helpful if I could create a DCI with an origin of a shell script (or some other executable), then return a value back to netxms through stdout.

Victor Kirhenshtein

Hi!

There are lot of possible solutions, depending on what tools are available and what level of access you have to these devices:

1. It is not necessary to run agent under root user to get most of the information, especially on Linux. If you can run agent as non-root user, that could be a solution.

2. If you can put additional binaries to the device, you can use shell scripts and nxpush command line tool to push data to management server.

3. You can create scripts on management server (or any other system) to query data from the device and use nxpush or nxapush to push data to management server.

I agree that having "exec" type of DCI origin will simplify configuration in case #3. I have added it as feature request for 1.2.8 release.

Best regards,
Victor