Add a Comment fuctionality

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
gregwhite
Posts: 206
Joined: Wed Jun 01, 2011 12:40 pm

Add a Comment fuctionality

Post 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
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Add a Comment fuctionality

Post 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?
Former Nagios employee
gregwhite
Posts: 206
Joined: Wed Jun 01, 2011 12:40 pm

Re: Add a Comment fuctionality

Post by gregwhite »

Thanks, I will review with my team and see if there is anything else that may be helpful.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Add a Comment fuctionality

Post 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%
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Add a Comment fuctionality

Post by tmcdonald »

Thanks, Scott. I hadn't seen that before.
Former Nagios employee
gregwhite
Posts: 206
Joined: Wed Jun 01, 2011 12:40 pm

Re: Add a Comment fuctionality

Post 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.'
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Add a Comment fuctionality

Post 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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Add a Comment fuctionality

Post by tmcdonald »

And did you check "Enable Component" on the top of that Manage Components -> Actions page as well?
Former Nagios employee
gregwhite
Posts: 206
Joined: Wed Jun 01, 2011 12:40 pm

Re: Add a Comment fuctionality

Post 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
You do not have the required permissions to view the files attached to this post.
User avatar
snapon_admin
Posts: 952
Joined: Mon Jun 10, 2013 10:39 am
Location: Kenosha, WI
Contact:

Re: Add a Comment fuctionality

Post by snapon_admin »

Remove "URL: " from the URL/Command field. So it looks like this:
URL.png
You do not have the required permissions to view the files attached to this post.
Locked