Search for event from the last hour isn't possible without Event Text
Description
Go to Network Monitoring -> Events -> All Events If you want to see only events from the last hour, last 4 hours, last 8 hours, last 12 hours, last day, last week, last month you need to enter an "Event Text", if you don4t fill the "Event Text" textfield - you will get the message "Please Enter in Event Search Text" and even for any time this box appear. In general it works because if you type in the "Event Text" test, you will see no events but the filters are there, now you can delete the test filter and the expected result is there.
We should be able to search just for all events based on time.
Alejandro requested a issue to be opened on JIRA for this issue.
Unfortunately, this is not possible without code changes. Could you please open an OpenNMS issue on our Jira Server (issues.opennms.org) ?
Workaround:
Put whatever you want on the text field, select the desired time range, and hit "search". Then, remove the filter based on the text field, and that's it. You should see the events for the last X hours.
Alajendro - we know there is a workaround but our customer is requesting for this to be fixed immediately , he is already aware of the workaround.
Acceptance / Success Criteria
None
Lucidchart Diagrams
Activity
Show:
Alejandro Galue March 25, 2014 at 4:13 PM
Fixed on revision ea9e13b64ef18cd2c25909fde178b15c6d4678d4 for master
Alejandro Galue March 25, 2014 at 2:45 PM
I was thinking about, validate if the "Event Text" is empty only when the Time selected is "Any" ... Makes sense ?
That way, the user is going to be able to list the events for the last hour, or last 4 hours, etc. without the need of entering a text:
David Hustace February 24, 2014 at 1:13 PM
This is quirky, so marking as a support customer request.
Donald Desloge January 30, 2014 at 11:43 AM
Ravi,
I changed the type of this issue to enhancement because I don't believe its a bug. There is an advanced search page that allows you to specify a time range. An after date and before date, and it does not require any text.
You can find it at the following OpenNMS path http://<IP or OpenNMS domain>/opennms/event/advsearch.jsp
Go to Network Monitoring -> Events -> All Events
If you want to see only events from the last hour, last 4 hours, last 8 hours, last 12 hours, last day, last week, last month
you need to enter an "Event Text", if you don4t fill the "Event Text" textfield -
you will get the message "Please Enter in Event Search Text" and even for any time this box appear.
In general it works because if you type in the "Event Text" test, you will see no events but the filters are there,
now you can delete the test filter and the expected result is there.
We should be able to search just for all events based on time.
Alejandro requested a issue to be opened on JIRA for this issue.
Following is update from Alejandro in the ticket https://mynms.opennms.com/Ticket/Display.html?id=2742
Unfortunately, this is not possible without code changes. Could you please open an OpenNMS issue on our Jira Server (issues.opennms.org) ?
Workaround:
Put whatever you want on the text field, select the desired time range, and hit "search".
Then, remove the filter based on the text field, and that's it. You should see the events for the last X hours.
Alajendro - we know there is a workaround but our customer is requesting for this to be fixed immediately , he is already aware of the workaround.