Changeset 4305
- Timestamp:
- 03/07/09 01:02:30 (4 years ago)
- Location:
- branch/sphinxdoc
- Files:
-
- 3 removed
- 3 modified
- 1 copied
-
Makefile (modified) (2 diffs)
-
Makefile-sphinx (modified) (1 diff)
-
nigraphs (deleted)
-
nisearch (deleted)
-
nisearch.html (deleted)
-
src/ni.rst (modified) (1 diff)
-
src/ni_search.rst (copied) (copied from branch/sphinxdoc/nisearch/nisearch.xml) (1 diff, 1 prop)
Legend:
- Unmodified
- Added
- Removed
-
branch/sphinxdoc/Makefile
r4304 r4305 28 28 searching \ 29 29 wizard \ 30 nisearch \31 30 scheduler \ 32 31 smtpsetup … … 52 51 @rm -f $(OUTDIR)/searching.html 53 52 @rm -f $(OUTDIR)/wizard.html 54 @rm -f $(OUTDIR)/nisearch.html55 53 @rm -f $(OUTDIR)/scheduler.html 56 54 @rm -f $(OUTDIR)/smtpsetup.html -
branch/sphinxdoc/Makefile-sphinx
r4304 r4305 3 3 SPHINXOPTIONS = 4 4 5 ALLSPHINXOPTIONS = -b $(BUILDER) -d build/doctrees $(SRCDIR) build/$(BUILDER) 5 6 ALLSPHINXOPTIONS = -b $(BUILDER) -d build/doctrees $(SPHINXOPTIONS) \ 7 $(SRCDIR) build/$(BUILDER) 6 8 7 9 .PHONY: html build clean -
branch/sphinxdoc/src/ni.rst
r4304 r4305 4 4 .. toctree:: 5 5 6 ni_search.rst 6 7 ni_graphs.rst -
branch/sphinxdoc/src/ni_search.rst
r3953 r4305 1 <!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook v4.4//EN" 2 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd"> 1 UMIT Network Inventory - Search 2 =============================== 3 3 4 <article> 5 <artheader> 6 <title>UMIT Network Inventory - Search</title> 7 <author> 8 <firstname>Guilherme</firstname> 9 <surname>Polo</surname> 10 <copyright> 11 <year>2007</year> 12 <holder>Guilherme Polo</holder> 13 </copyright> 14 </author> 15 </artheader> 4 .. sectionauthor:: Guilherme Polo <ggpolo@gmail.com> 16 5 17 <section>18 <title>Introduction</title>19 <para>The Network Inventory search system is designed to find devices20 in Inventories. It searches based on Ports, Services,21 Changes that happened, IP, MAC, Hostname, OS Match, OS Classes22 and Fingerprint info.23 </para>24 </section>25 6 26 <section> 27 <title>Performing a search</title> 28 <para>To search for something, just type whatever you want in the bar 29 placed at the top of Network Inventory and hit 'Enter' or click on that 30 icon search. Actually, to find devices it is important to follow some 31 very important rules.</para> 7 Introduction 8 ------------ 32 9 33 <para>To find devices based on port, you should search for something like 34 this: port 80. Then it will search for devices containing port 80 in 35 any state. If you want to search for devices containing only ports higher 36 than 1024, you should do: port > 1024. The port syntax allows you to use 37 the operators: '>', '<', '==', '!=', '>=' and '<='. But you 38 can't use more than one at once.</para> 10 The Network Inventory search system is designed to find devices 11 in Inventories. It searches based on Ports, Services, Changes that happened, 12 IP address, MAC, Hostname, OS Match, OS Classes and Fingerprint info. 39 13 40 <para>To find devices based on service, you should search for something41 like this: service apache. And will search for a service with that name.42 </para>43 14 44 <para>To find devices based on some change, you should search for something 45 like this: change somechangetext.</para> 15 Performing a search 16 ------------------- 46 17 47 <para>To search based on things like hostname, ip, and others, you just 48 type the text. Searching devices by a valid ip is the fastest way to find 49 them right now.</para> 50 </section> 51 52 <section> 53 <title>Bugs</title> 18 To search for something, just enter your search terms in the bar placed 19 on the top of Network Inventory and hit *Enter* or click on the 20 icon search. But note that in order to achieve better results it is important 21 to follow the rules described below. 54 22 55 <para>As your scan number grows in your Inventories, you will feel the 56 pain when you try to search for devices. Also, you may get angry when 57 you notice the search system is not really smart. And it may contain very 58 ugly bugs right now. Now that you know all the bad news, you can hear 59 the good ones =)</para> 60 <para>The search will get smarter eventually, when pysqlite starts 61 supporting FTS (Full Text Search) on some new version. Things 62 to attempt speeding up the results were not possible to be done 63 in time for Google Summer of Code 2007, but will be implemented 64 as time and some other things allows.</para> 65 </section> 23 To find devices based on port, your query should be similar to: port 80. 24 This will search for devices containing the port 80 in its results 25 (in any state). If you want to search for devices containing only ports 26 higher than 1024, you could do: port : 1024. 27 The port syntax allows you to the following operators: '>', '<', '==', '!=', 28 '>=', '<='. But at this point you can't use more than one at once. 66 29 67 </article> 30 To find devices based on service, the query should looks like this: 31 service apache. And will search for a service with that name. 32 33 To find devices based on some change, you should search for something 34 like this: change somechangetext. 35 36 To search based on things like hostname, ip, and others, just 37 type the text. Searching devices by a valid ip is the fastest way to find 38 them right now. 39 40 Bugs 41 ---- 42 43 As your scan number grows in your Inventories, you will feel the 44 pain when trying to search for devices. Also, you may get angry when 45 you notice the search system is not really smart.
