Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

Search Auto-complete

Current Version
1.0
Last Release Date
2012-01-20
Compatible With
  • Nagios 3.x
License
GPL
Hits
83741
Files:
FileDescription
Autocomplete Search.txtInstallation Instructions
jquery.zipDependencies
Nagios CSP

Meet The New Nagios Core Services Platform

Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.

Monitoring Made Magically Better

  • Nagios Core on Overdrive
  • Powerful Monitoring Dashboards
  • Time-Saving Configuration Wizards
  • Open Source Powered Monitoring On Steroids
  • And So Much More!
Search Auto-complete
This is a small but useful tweak to the Nagios search function, that implements autocomplete.

The existing tutorial in this category failed to work for me, so I accomplished the same thing with jQuery.

Note that in my setup, I use the Vautour style.

Have fun with it!
Requirements:

Nagios 3.x
The Vautour style
jquery.zip
10 minutes
Reviews (1)
bymihair, January 30, 2012
Great work! And great tutorial!

I have modified the last part so it will include also the IP’s of the hosts: http://mihai.radoveanu.ro/2012/01/nagios-search-auto-complete/
(
Just create a script like this one and add it to the crontab:
#!/bin/sh
/bin/cat /usr/local/nagios/var/objects.cache | /bin/grep "host_name" | /bin/sed 's/\s*host_name\s*//g' | /usr/bin/sort | /usr/bin/uniq > /usr/local/nagios/share/hosts.txt
/bin/cat /usr/local/nagios/var/objects.cache | /bin/grep "address" | /bin/sed 's/\s*address\s*//g' | /usr/bin/sort | /usr/bin/uniq >> /usr/local/nagios/share/hosts.txt
)

Thanks again!