Questions about Nagios quick search

Andreas Ericsson ae at op5.se
Fri Mar 1 09:05:27 CET 2013


On 02/28/2013 10:49 PM, Jonas Meurer wrote:
> Am 20.02.2013 16:13, schrieb Jonas Meurer:
>> Hello,
> 
> Hey again,
> 
>> we're using Nagios as monitoring system for several hundred systems.
>> While navigating through hosts and services, recently two questions
>> regarding the quick search (in navigation bar) raised:
>>
>> 1/ Why doesn't nagios search for host aliases as well? Is it possible
>> to enable alias searching? We're using rather short values for
>> host_name, and tend to add information like server position to the
>> alias. Thus searching for host_name and alias would be awesome for us.
>>

Today it's not possible to enable alias searching. Patches welcome.
If you create one, please use some format that makes it possible to add
searching on other fields as well, such as "alias~<regex>" or some such.

>> 2/ When searching for IP addresses, only the first match is returned.
>> In some cases (e.g. NRPE Port forwarding through firewall), several
>> hosts have the same IP address. For these cases it's rather irritating,
>> that only the first matching host is returned.
>>

Tru dat. Patches welcome. You'll want to find and remove the correct
"break" statement, I guess. Other than that it shouldn't be much trouble.

-- 
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231

Considering the successes of the wars on alcohol, poverty, drugs and
terror, I think we should give some serious thought to declaring war
on peace.

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list