Ask the Community
Groups
Can KNMi kick off Agent Procedures? - Connect IT Community | Kaseya
<main> <article class="userContent"> <p><strong>Question:</strong> Can I run Agent Procedures from KNM?</p> <p><strong>Answer:</strong> Directly, you cannot run Agent Procedures natively through KNM.</p> <p><a rel="nofollow" href="/home/leaving?allowTrusted=1&target=https%3A%2F%2Fkaseya.zendesk.com%2Fentries%2F98299308-Allow-KNM-to-run-Agent-Procedures">Here</a> is a Feature Request you should 'Like' to show this is an important feature for future inclusion in the product.</p> <p><strong>However, you can create a ticket in Service Desk using KNM's 'Ticket Alert Action', which has the ability to run procedures on Agent-based machines only.</strong></p> <p><strong>Pre-Requisites:</strong></p> <ul><li>Service Desk must be installed and you must have at least one Service Desk 'Desk license' eligible to create/install a unique desk for KNM Tickets</li> <li>Ticketing Module must be disabled (You cannot use both Ticketing and Service Desk at the same time)</li> <li>KNMi on your Kaseya Server (Note: Agent-less devices require an agent license to monitor them in KNM)</li> </ul><p>You can check this in System > License Manager > Licenses Tab:</p> <p><img src="https://kaseya.zendesk.com/attachments/token/mS4IIYmhfuWro5jBKTuMUKGtF/?name=12-3-2015+2-48-03+PM.png" alt="12-3-2015_2-48-03_PM.png" class="embedImage-img importedEmbed-img"></img></p> <p> </p> <p>If you do not have adequate licensing you can reach out to your account manager.</p> <p><strong>Instructions on how to perform this follow below.</strong></p> <p><strong>Step 1:</strong></p> <p>Once you have verified licensing, it would be time to setup KNM to assign the create a ticket action on the Folder/Network/Device you would like to run procedures on.</p> <p>This can be found in KNM under the respective level you have selected using the Actions Tab:</p> <p><img src="https://kaseya.zendesk.com/attachments/token/Gk4OkFyj6Z26dyCy1qW4xGMWu/?name=12-3-2015+4-09-17+PM.png" alt="12-3-2015_4-09-17_PM.png" class="embedImage-img importedEmbed-img"></img></p> <p>In the above screen shot it will create tickets for all devices within the 'Home' Network. If you only want to create tickets for agent-based devices which can run Agent Procedures, it will need to be assigned on a device level.</p> <p> </p> <p> </p> <p><strong>Step 2:</strong></p> <p><strong><br></strong>Enable Service Desk in the VSA, which may be enabled already.</p> <p><em>(You may need to disable Ticketing if it is enabled. Ticketing can be disabled by navigating to Ticketing > Email Reader)</em></p> <p><img src="https://kaseya.zendesk.com/attachments/token/bekw7ErUJWFcJpan7mOT4TXtX/?name=12-3-2015+4-28-07+PM.png" alt="12-3-2015_4-28-07_PM.png" class="embedImage-img importedEmbed-img"></img></p> <p> </p> <p><strong>Step 3: </strong></p> <p>Install a Service Desk.</p> <div><em>(In this example I used the template "Basic Customer Service Desk " )</em></div> <div><em><img src="/attachments/token/7aCwt7vIs6CyH03VjiyyYwo2e/?name=12-7-2015+3-48-06+PM.png" alt="12-7-2015_3-48-06_PM.png" class="embedImage-img importedEmbed-img"></img></em></div> <div></div> <div><strong>Step 4:</strong></div> <div> <strong><br></strong>Specify which Desk you want the alarms to get created in (This may vary depending on your SD implementation, in this example it is the only desk installed)</div> <div><img src="/attachments/token/ZA43dRsdlYfxvDHOw7sCrarFL/?name=12-7-2015+3-49-10+PM.png" alt="12-7-2015_3-49-10_PM.png" class="embedImage-img importedEmbed-img"></img></div> <div></div> <div><strong>Step 5:</strong></div> <div>Create your Service Desk Procedure. This will require you to create a procedure in the Service Desk > Procedures Definition > Stage Entry or Exit page.</div> <div>You should use the "ScheduleAgentProcedure" step and call the Agent Procedure you want to run on the machine:</div> <div><img src="/attachments/token/OBSojHcKcAFc4xbeEW2ANiU1C/?name=12-7-2015+4-08-30+PM.png" alt="12-7-2015_4-08-30_PM.png" class="embedImage-img importedEmbed-img"></img></div> <div></div> <div><strong>Step 6: </strong></div> <div>Edit the Service Desk Stage Processing steps to include this procedure as the ticket entry procedure:</div> <div><img src="/attachments/token/frC2ajHES962Q9bSgzyAlsCRd/?name=12-7-2015+3-49-32+PM.png" alt="12-7-2015_3-49-32_PM.png" class="embedImage-img importedEmbed-img"></img></div> <div></div> <div><strong>Step 7:</strong></div> <div>Verify functionality - you should now see tickets created by agents executing your agent procedure. This can be verified in the Pending Procedures / Procedure History section in QuickView:</div> <div><img src="/attachments/token/zoICwoKqLF3eopeE6fyxUsUJm/?name=12-7-2015+3-57-18+PM.png" alt="12-7-2015_3-57-18_PM.png" class="embedImage-img importedEmbed-img"></img></div> <div></div> <div>Additional Notes:</div> <div> <ul><li>This will run the specified Service Desk Procedure on the Agents that create a new ticket (It will not run on agentless devices unless the procedure itself is designed for this)</li> <li>Please account for any additional/existing Service Desks already in production before implementing changes</li> <li>Additional automation and procedures can be built into the Service Desk logic</li> </ul></div> </article> </main>