News:

We really need your input in this questionnaire

Main Menu

tools execution

Started by lindeamon, August 28, 2012, 02:34:35 PM

Previous topic - Next topic

lindeamon

hi victor,

i came across the need to shutdown a few computers at the same time and i have created a tool for that but...
1. it is not possible to run tools on a group of nodes.
2. there is no ability to run tools on containers {in my case i have created a container that holds all my desktops and i wanted to shutdown them all at once}

what do you think ?
Best Regards,
Lindeamon

SKYnv

Agent on all nodes and external command.

lindeamon

i do not have agent on all computers and the tool i wrote is ms shutdown \m.... style

SKYnv

#3
Quote from: lindeamon on August 28, 2012, 04:10:23 PM
i do not have agent on all computers and the tool i wrote is ms shutdown \m.... style

anyway you need remote exec some action. Agent do it simple.
For win try this way
Quoteshutdown -m \\PC_name_or_ip -t 2 -s -f

lindeamon

hi skynv,

i believe i was miss understood.
i have created the tool and believe me i know windows since i am an IT pro etc. etc.
in  hp openview there is an ability to run a tool on chosen nodes\node groups as oppose to netxms which the tool menu only shows up when you select a node and only one node.
what i wanted is the ability to choose nodes or node groups and run a tool on them just like hp openview.
i hope this is clarifying everything and thank you for trying to help.

Best Regards,
Lindeamon

Victor Kirhenshtein

Hi!

I understood the problem. This requirement pops up from time to time for quite a long. I have added new issue for that: https://www.radensolutions.com/chiliproject/issues/66, it should not be hard to implement it. The most complicated part is filtering: should console show only tools available for all nodes in container, or simply all tools available, and report error at execution time? Also, doing filtering on container can potentially involve enumerating hundreds of nodes - this may cause visible delay between right click and context menu popup.

Best regards,
Victor

lindeamon

hi victor,

i do not remember how it was implemented in hp openview but i understand the questions you are facing.
if you need me to open a openview console and check i will be happy to do that

Best Regards,
Lindeamon

Victor Kirhenshtein

Yes, would be interesting to see how it's implemented in Open View.

Best regards,
Victor

lindeamon

hi victor,

i have remembered how it is implemented in hp open view.
hp open view works in two modes, node tree and service tree.
tools can be configured in each point in the tree and are inherited to the next node/container so for example if the following is my hierarchy:

infrastructure services
-------------------> desktops
------------------------>pc1
you can configure tools to each of the component and pc1 could inherit tools from desktops and infrastructure services and it can have it's own tools defined with no inheritance.
i did not see tools assignment according to type which i can at least partially achieve using the filter section of the tool.

i hope this help you.
Best Regards,
Lindeamon