Ok.....
I use perl frequently to do simple tasks, Im thinking i could write a
perl script that the Object Tools item will run. The only catch is how
to pass a variable to the perl script. That variable would be the node
name or last known ip address of the item I want to get a process list
on. That way I can just view the perl interpreter window with the list
of processes on it.
This may just be a soloution in my case, as perl is not a necessary req.
for NetXMS.
Do you think this is possible?
-sam
Victor Kirhenshtein wrote:
> Agent already have such parameter, the only problem is to get this list
> from NetXMS console... We distinguish parameters which returns list of
> items from parameters which returns only one value. Those which return
> list are called "enums". NetXMS agent has enum called
> "System.ProcessList". You can try it from your server's command line by
> running
>
> nxget.exe -l agent_address System.ProcessList
>
> You should see all running process identifiers and names on target
> machine.
>
> For getting such enums from console, there are thing called "Object
> Tools". Idea is that you can configure various type of tools - running
> command, getting enums, SNMP tables, etc. and run them against specific
> node via Tools submenu in popup menu. Unfortunatelly, object tool
> configurator is not fully working, and the only possible way to define
> new tools is to directly modify SQL database, which is a bit tricky.
> I'll try to complete this things till next release.
>
> Best regards,
> Victor
>
> -----Original Message-----
> From: Sam Deforest [mailto:netxms.srv_at_walpolewood.net]
> Sent: Wednesday, 26 July, 2006 17:35
> To: NetXMS Users
> Subject: [netxms-users] Feature Request
>
>
>
> How about an agent parameter that gets a list of all running processes,
> similar to the command line.........
>
> windows:
> qprocess * /SYSTEM
>
> *nix:
> ps -aux
>
> thanks,
> Sam
>
>
>
Received on Wed Jul 26 2006 - 23:47:13 EEST
This archive was generated by hypermail 2.2.0 : Wed Jul 26 2006 - 23:59:29 EEST