Page 1 of 2

Add a Comment fuctionality

Posted: Fri Jun 06, 2014 3:41 pm
by gregwhite
Is there a way to add a comment to a device without having to do mulitple clicks to go from XI into Core? Can the function - "Add a Comment" be added to the "Quick Actions?" We want to make it easy for users to
add a comment to update the status of a device. This needs to be quick and easy or they won't take the time to do it. If it is right there in Quick Actions they will be more likely to use it.

Thanks,
Greg

Re: Add a Comment fuctionality

Posted: Mon Jun 09, 2014 9:04 am
by tmcdonald
I'll go ahead and file an internal feature request for that. While I'm at it, are there any other functions you think would be good candidates for the Quick Actions?

Re: Add a Comment fuctionality

Posted: Thu Jun 12, 2014 10:56 am
by gregwhite
Thanks, I will review with my team and see if there is anything else that may be helpful.

Re: Add a Comment fuctionality

Posted: Mon Jun 16, 2014 1:05 pm
by scottwilkerson
You can actually add this through the Manage Components -> Actions

Add the following URL Action for Hosts

Code: Select all

Object Type: Host
Host: /.*/
URL: /nagiosxi/includes/components/nagioscore/ui/cmd.php?cmd_typ=1&host=%host%
Add the following URL Action for Services

Code: Select all

Object Type: Service
Host: /.*/
Service: /.*/
URL: /nagiosxi/includes/components/nagioscore/ui/cmd.php?cmd_typ=3&host=%host%&service=%service%

Re: Add a Comment fuctionality

Posted: Mon Jun 16, 2014 1:13 pm
by tmcdonald
Thanks, Scott. I hadn't seen that before.

Re: Add a Comment fuctionality

Posted: Wed Jun 25, 2014 10:20 am
by gregwhite
I added the information to the Actions component for both host and service. The link shows up in the host detail but it is not activated. This is the same for the service.
Both comonents are checked on left for 'enabled.'

Re: Add a Comment fuctionality

Posted: Wed Jun 25, 2014 1:28 pm
by lmiltchev
Did you type anything in the "Action Text" text-box? Whatever you type in there will be shown under the "Quick Actions" menu (Under "Host/Service Status Detail). You can click on the "text" shown under the "Quick Actions", enter a new comment, and click on "Commit" button.

Re: Add a Comment fuctionality

Posted: Wed Jun 25, 2014 1:33 pm
by tmcdonald
And did you check "Enable Component" on the top of that Manage Components -> Actions page as well?

Re: Add a Comment fuctionality

Posted: Wed Jun 25, 2014 4:19 pm
by gregwhite
Capture.PNG
This is how I have it set up. Yes, Enable is checked at the top as we have other links.
I am also including how it looks in Quick Links
Quick Links.PNG

Re: Add a Comment fuctionality

Posted: Wed Jun 25, 2014 4:27 pm
by snapon_admin
Remove "URL: " from the URL/Command field. So it looks like this:
URL.png