mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-01 20:20:10 +00:00
74_Nmap.pm/59_Luftdateinfo.pm: fix documentation by Beta-User (Forum #125662)
git-svn-id: https://svn.fhem.de/fhem/trunk@25647 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
80dd969ecd
commit
34c05378ad
@ -552,16 +552,18 @@ sub LuftdatenInfo_statusRequest($) {
|
|||||||
|
|
||||||
1;
|
1;
|
||||||
|
|
||||||
|
__END__
|
||||||
|
|
||||||
# commandref ##################################################################
|
# commandref ##################################################################
|
||||||
=pod
|
=pod
|
||||||
|
=encoding utf8
|
||||||
=item summary provides data from Luftdaten.info
|
=item summary provides data from Luftdaten.info
|
||||||
=item summary_DE stellt Daten von Luftdaten.info bereit
|
=item summary_DE stellt Daten von Luftdaten.info bereit
|
||||||
|
|
||||||
=begin html
|
=begin html
|
||||||
|
|
||||||
<a name="LuftdatenInfo"></a>
|
<a id="LuftdatenInfo"></a>
|
||||||
<h3>LuftdatenInfo</h3>
|
<h3>LuftdatenInfo</h3>
|
||||||
(en | <a href="commandref_DE.html#LuftdatenInfo"><u>de</u></a>)
|
|
||||||
<div>
|
<div>
|
||||||
<ul>
|
<ul>
|
||||||
LuftdatenInfo is the FHEM module to read particulate matter, temperature
|
LuftdatenInfo is the FHEM module to read particulate matter, temperature
|
||||||
@ -580,9 +582,8 @@ sub LuftdatenInfo_statusRequest($) {
|
|||||||
Under Debian (based) system, this can be installed using
|
Under Debian (based) system, this can be installed using
|
||||||
<code>"apt-get install libjson-perl"</code>.
|
<code>"apt-get install libjson-perl"</code>.
|
||||||
</ul>
|
</ul>
|
||||||
<br>
|
<a id="LuftdatenInfo-define"></a>
|
||||||
<a name="LuftdatenInfodefine"></a>
|
<h4>Define</h4>
|
||||||
<b>Define</b>
|
|
||||||
<ul>
|
<ul>
|
||||||
<code>
|
<code>
|
||||||
define <name> LuftdatenInfo remote
|
define <name> LuftdatenInfo remote
|
||||||
@ -603,28 +604,28 @@ sub LuftdatenInfo_statusRequest($) {
|
|||||||
specified.<br>
|
specified.<br>
|
||||||
If several similar sensors are used, the duplicate values can be written
|
If several similar sensors are used, the duplicate values can be written
|
||||||
in another device.
|
in another device.
|
||||||
</ul><br>
|
</ul>
|
||||||
<a name="LuftdatenInfoset"></a>
|
<a id="LuftdatenInfo-set"></a>
|
||||||
<b>Set</b>
|
<h4>Set</h4>
|
||||||
<ul>
|
<ul>
|
||||||
<li>
|
<a id="LuftdatenInfo-set-statusRequest"></a><li>
|
||||||
<code>statusRequest</code><br>
|
<code>statusRequest</code><br>
|
||||||
Starts a status request.
|
Starts a status request.
|
||||||
</li>
|
</li>
|
||||||
</ul><br>
|
</ul>
|
||||||
<a name="LuftdatenInfoget"></a>
|
<a id="LuftdatenInfo-get"></a>
|
||||||
<b>Get</b>
|
<h4>Get</h4>
|
||||||
<ul>
|
<ul>
|
||||||
<li>
|
<a id="LuftdatenInfo-get-senors"></a><li>
|
||||||
<code>sensors</code><br>
|
<code>sensors</code><br>
|
||||||
Lists all senors.
|
Lists all senors.
|
||||||
</li>
|
</li>
|
||||||
</ul><br>
|
</ul>
|
||||||
<a name="LuftdatenInforeadings"></a>
|
<a name="LuftdatenInfo-readings"></a>
|
||||||
<b>Readings</b><br>
|
<h4>Readings</h4><br>
|
||||||
<ul>
|
<ul>
|
||||||
<li>
|
<li>
|
||||||
<code>airQuality</code>
|
<code>airQuality</code><br>
|
||||||
1 => good<br>
|
1 => good<br>
|
||||||
2 => moderate<br>
|
2 => moderate<br>
|
||||||
3 => unhealthy for sensitive groups<br>
|
3 => unhealthy for sensitive groups<br>
|
||||||
@ -707,11 +708,11 @@ sub LuftdatenInfo_statusRequest($) {
|
|||||||
<code>UVRisk</code><br>
|
<code>UVRisk</code><br>
|
||||||
UV risk from 1 to 5
|
UV risk from 1 to 5
|
||||||
</li>
|
</li>
|
||||||
</ul><br>
|
</ul>
|
||||||
<a name="LuftdatenInfoattr"></a>
|
<a id="LuftdatenInfo-attr"></a>
|
||||||
<b>Attribute</b>
|
<h4>Attributes</h4>
|
||||||
<ul>
|
<ul>
|
||||||
<li>
|
<a id="LuftdatenInfo-attr-disable"></a><li>
|
||||||
<code>disable 1</code><br>
|
<code>disable 1</code><br>
|
||||||
No queries are started.
|
No queries are started.
|
||||||
</li>
|
</li>
|
||||||
@ -720,12 +721,12 @@ sub LuftdatenInfo_statusRequest($) {
|
|||||||
<u><code>disabledForIntervals HH:MM-HH:MM HH:MM-HH-MM ...</code></u>
|
<u><code>disabledForIntervals HH:MM-HH:MM HH:MM-HH-MM ...</code></u>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<a id="LuftdatenInfo-attr-interval"></a><li>
|
||||||
<code>interval <seconds></code><br>
|
<code>interval <seconds></code><br>
|
||||||
Interval in seconds in which queries are performed.<br>
|
Interval in seconds in which queries are performed.<br>
|
||||||
The default and minimum value is 300 seconds for remote request and 30 seconds for local requests.
|
The default and minimum value is 300 seconds for remote request and 30 seconds for local requests.
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<a id="LuftdatenInfo-attr-timeout"></a><li>
|
||||||
<code>timeout <seconds></code><br>
|
<code>timeout <seconds></code><br>
|
||||||
Timeout in seconds for the queries.<br>
|
Timeout in seconds for the queries.<br>
|
||||||
The default and minimum value is 5 seconds.
|
The default and minimum value is 5 seconds.
|
||||||
@ -738,9 +739,8 @@ sub LuftdatenInfo_statusRequest($) {
|
|||||||
|
|
||||||
=begin html_DE
|
=begin html_DE
|
||||||
|
|
||||||
<a name="LuftdatenInfo"></a>
|
<a id="LuftdatenInfo"></a>
|
||||||
<h3>LuftdatenInfo</h3>
|
<h3>LuftdatenInfo</h3>
|
||||||
(<a href="commandref.html#LuftdatenInfo"><u>en</u></a> | de)
|
|
||||||
<div>
|
<div>
|
||||||
<ul>
|
<ul>
|
||||||
LuftdatenInfo ist das FHEM Modul um Feinstaub-, Temperatur- und
|
LuftdatenInfo ist das FHEM Modul um Feinstaub-, Temperatur- und
|
||||||
@ -761,8 +761,8 @@ sub LuftdatenInfo_statusRequest($) {
|
|||||||
<code>"apt-get install libjson-perl"</code> installiert werden.
|
<code>"apt-get install libjson-perl"</code> installiert werden.
|
||||||
</ul>
|
</ul>
|
||||||
<br>
|
<br>
|
||||||
<a name="LuftdatenInfodefine"></a>
|
<a id="LuftdatenInfo-define"></a>
|
||||||
<b>Define</b>
|
<h4>Define</h4>
|
||||||
<ul>
|
<ul>
|
||||||
<code>
|
<code>
|
||||||
define <name> LuftdatenInfo remote
|
define <name> LuftdatenInfo remote
|
||||||
@ -783,28 +783,28 @@ sub LuftdatenInfo_statusRequest($) {
|
|||||||
Hostname angegeben werden.<br>
|
Hostname angegeben werden.<br>
|
||||||
Werden mehrere ähnliche Sensoren betrieben lassen sich die doppelten
|
Werden mehrere ähnliche Sensoren betrieben lassen sich die doppelten
|
||||||
Werte in einem anderen Gerät geschrieben werden.
|
Werte in einem anderen Gerät geschrieben werden.
|
||||||
</ul><br>
|
</ul>
|
||||||
<a name="LuftdatenInfoset"></a>
|
<a id="LuftdatenInfo-set"></a>
|
||||||
<b>Set</b>
|
<h4>Set</h4>
|
||||||
<ul>
|
<ul>
|
||||||
<li>
|
<a id="LuftdatenInfo-set-statusRequest"></a><li>
|
||||||
<code>statusRequest</code><br>
|
<code>statusRequest</code><br>
|
||||||
Startet eine Abfrage der Daten.
|
Startet eine Abfrage der Daten.
|
||||||
</li>
|
</li>
|
||||||
</ul><br>
|
</ul>
|
||||||
<a name="LuftdatenInfoget"></a>
|
<a id="LuftdatenInfo-get"></a>
|
||||||
<b>Get</b>
|
<h4>Get</h4>
|
||||||
<ul>
|
<ul>
|
||||||
<li>
|
<a id="LuftdatenInfo-get-senors"></a><li>
|
||||||
<code>sensors</code><br>
|
<code>sensors</code><br>
|
||||||
Listet alle Sensoren auf.
|
Listet alle Sensoren auf.
|
||||||
</li>
|
</li>
|
||||||
</ul><br>
|
</ul><br>
|
||||||
<a name="LuftdatenInforeadings"></a>
|
<a id="LuftdatenInfo-readings"></a>
|
||||||
<b>Readings</b><br>
|
<h4>Readings</h4><br>
|
||||||
<ul>
|
<ul>
|
||||||
<li>
|
<li>
|
||||||
<code>airQuality</code>
|
<code>airQuality</code><br>
|
||||||
1 => gut<br>
|
1 => gut<br>
|
||||||
2 => mittelmä&suml;ig<br>
|
2 => mittelmä&suml;ig<br>
|
||||||
3 => ungesund für empfindliche Menschen<br>
|
3 => ungesund für empfindliche Menschen<br>
|
||||||
@ -890,11 +890,11 @@ sub LuftdatenInfo_statusRequest($) {
|
|||||||
<code>UVRisk</code><br>
|
<code>UVRisk</code><br>
|
||||||
UV Risiko von 1 bis 5
|
UV Risiko von 1 bis 5
|
||||||
</li>
|
</li>
|
||||||
</ul><br>
|
</ul>
|
||||||
<a name="LuftdatenInfoattr"></a>
|
<a id="LuftdatenInfo-attr"></a>
|
||||||
<b>Attribute</b>
|
<h4>Attribute</h4>
|
||||||
<ul>
|
<ul>
|
||||||
<li>
|
<a id="LuftdatenInfo-attr-disable"></a><li>
|
||||||
<code>disable 1</code><br>
|
<code>disable 1</code><br>
|
||||||
Es werden keine Abfragen mehr gestartet.
|
Es werden keine Abfragen mehr gestartet.
|
||||||
</li>
|
</li>
|
||||||
@ -903,12 +903,12 @@ sub LuftdatenInfo_statusRequest($) {
|
|||||||
<u><code>disabledForIntervals HH:MM-HH:MM HH:MM-HH-MM ...</code></u>
|
<u><code>disabledForIntervals HH:MM-HH:MM HH:MM-HH-MM ...</code></u>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<a id="LuftdatenInfo-attr-interval"></a><li>
|
||||||
<code>interval <seconds></code><br>
|
<code>interval <seconds></code><br>
|
||||||
Intervall in Sekunden in dem Abfragen durchgeführt werden.<br>
|
Intervall in Sekunden in dem Abfragen durchgeführt werden.<br>
|
||||||
Der Vorgabe- und Mindestwert beträgt 300 Sekunden für remote Abfragen und 30 Sekunden für local Abfragen.
|
Der Vorgabe- und Mindestwert beträgt 300 Sekunden für remote Abfragen und 30 Sekunden für local Abfragen.
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<a id="LuftdatenInfo-attr-timeout"></a><li>
|
||||||
<code>timeout <seconds></code><br>
|
<code>timeout <seconds></code><br>
|
||||||
Timeout in Sekunden für die Abfragen.<br>
|
Timeout in Sekunden für die Abfragen.<br>
|
||||||
Der Vorgabe- und Mindestwert beträgt 5 Sekunden.
|
Der Vorgabe- und Mindestwert beträgt 5 Sekunden.
|
||||||
|
@ -567,17 +567,19 @@ sub Nmap_updateUptime($$;$) {
|
|||||||
|
|
||||||
1;
|
1;
|
||||||
|
|
||||||
|
__END__
|
||||||
|
|
||||||
# commandref ##################################################################
|
# commandref ##################################################################
|
||||||
=pod
|
=pod
|
||||||
|
=encoding utf8
|
||||||
=item device
|
=item device
|
||||||
=item summary Interpret of an Nmap network scans
|
=item summary Interpret of an Nmap network scans
|
||||||
=item summary_DE Auswertung eines Nmap Netzwerkscans
|
=item summary_DE Auswertung eines Nmap Netzwerkscans
|
||||||
|
|
||||||
=begin html
|
=begin html
|
||||||
|
|
||||||
<a name="Nmap"></a>
|
<a id="Nmap"></a>
|
||||||
<h3>Nmap</h3>
|
<h3>Nmap</h3>
|
||||||
( en | <a href="commandref_DE.html#Nmap"><u>de</u></a> )
|
|
||||||
<div>
|
<div>
|
||||||
<ul>
|
<ul>
|
||||||
Nmap is the FHEM module to perform a network scan with Nmap and to display information about the available network devices.<br>
|
Nmap is the FHEM module to perform a network scan with Nmap and to display information about the available network devices.<br>
|
||||||
@ -596,8 +598,8 @@ sub Nmap_updateUptime($$;$) {
|
|||||||
.
|
.
|
||||||
</ul>
|
</ul>
|
||||||
<br>
|
<br>
|
||||||
<a name="Nmapdefine"></a>
|
<a id="Nmap-define"></a>
|
||||||
<b>Define</b>
|
<h4>Define</h4>
|
||||||
<ul>
|
<ul>
|
||||||
<code>define <name> Nmap <target specification></code><br>
|
<code>define <name> Nmap <target specification></code><br>
|
||||||
In the <target specification> are all target hosts, which are to be
|
In the <target specification> are all target hosts, which are to be
|
||||||
@ -616,29 +618,29 @@ sub Nmap_updateUptime($$;$) {
|
|||||||
<a href="https://nmap.org/man/de/man-target-specification.html">
|
<a href="https://nmap.org/man/de/man-target-specification.html">
|
||||||
<u>Nmap Manpage (Specifying Destinations)</u>
|
<u>Nmap Manpage (Specifying Destinations)</u>
|
||||||
</a>.
|
</a>.
|
||||||
</ul><br>
|
</ul>
|
||||||
<a name="Nmapset"></a>
|
<a id="Nmap-set"></a>
|
||||||
<b>Set</b>
|
<h4>Set</h4>
|
||||||
<ul>
|
<ul>
|
||||||
<li>
|
<a id="Nmap-set-clear"></a><li>
|
||||||
<code>clear readings</code><br>
|
<code>clear readings</code><br>
|
||||||
Deletes all readings except "state".
|
Deletes all readings except "state".
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<a id="Nmap-set-deleteOldReadings"></a><li>
|
||||||
<code>deleteOldReadings <s></code><br>
|
<code>deleteOldReadings <s></code><br>
|
||||||
Deletes all readings older than <s> seconds.
|
Deletes all readings older than <s> seconds.
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<a id="Nmap-set-interrupt"></a><li>
|
||||||
<code>interrupt</code><br>
|
<code>interrupt</code><br>
|
||||||
Cancels a running scan.
|
Cancels a running scan.
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<a id="Nmap-set-statusRequest"></a><li>
|
||||||
<code>statusRequest</code><br>
|
<code>statusRequest</code><br>
|
||||||
Starts a network scan.
|
Starts a network scan.
|
||||||
</li>
|
</li>
|
||||||
</ul><br>
|
</ul>
|
||||||
<a name="Nmapreadings"></a>
|
<a id="Nmap-readings"></a>
|
||||||
<b>Readings</b><br>
|
<h4>Readings</h4>
|
||||||
<ul>
|
<ul>
|
||||||
General Readings:
|
General Readings:
|
||||||
<ul>
|
<ul>
|
||||||
@ -733,11 +735,11 @@ sub Nmap_updateUptime($$;$) {
|
|||||||
device is reachable.
|
device is reachable.
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</ul><br>
|
</ul>
|
||||||
<a name="Nmapattr"></a>
|
<a id="Nmap-attr"></a>
|
||||||
<b>Attribute</b>
|
<h4>Attributes</h4>
|
||||||
<ul>
|
<ul>
|
||||||
<li>
|
<a id="Nmap-attr-absenceThreshold"></a><li>
|
||||||
<code>absenceThreshold <n></code><br>
|
<code>absenceThreshold <n></code><br>
|
||||||
The number of network cans that must result in "absent" before the
|
The number of network cans that must result in "absent" before the
|
||||||
state of a network device changes to "absent". With this function you
|
state of a network device changes to "absent". With this function you
|
||||||
@ -746,17 +748,17 @@ sub Nmap_updateUptime($$;$) {
|
|||||||
"<metaReading>_state" remains on "present" until the final status
|
"<metaReading>_state" remains on "present" until the final status
|
||||||
changes to "absent".
|
changes to "absent".
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<a id="Nmap-attr-args"></a><li>
|
||||||
<code>args <args></code><br>
|
<code>args <args></code><br>
|
||||||
Arguments for the Nmap scan.<br>
|
Arguments for the Nmap scan.<br>
|
||||||
The default is "-sn".
|
The default is "-sn".
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<a id="Nmap-attr-deleteOldReadings"></a><li>
|
||||||
<code>deleteOldReadings <s></code><br>
|
<code>deleteOldReadings <s></code><br>
|
||||||
After a network scan, all host-specific readings older than <s>
|
After a network scan, all host-specific readings older than <s>
|
||||||
seconds are deleted
|
seconds are deleted
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<a id="Nmap-attr-devAlias"></a><li>
|
||||||
<code>
|
<code>
|
||||||
devAlias <ID>:<ALIAS> <ID2>:<ALIAS2> ...
|
devAlias <ID>:<ALIAS> <ID2>:<ALIAS2> ...
|
||||||
</code><br>
|
</code><br>
|
||||||
@ -779,35 +781,35 @@ sub Nmap_updateUptime($$;$) {
|
|||||||
</code><br>
|
</code><br>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<a id="Nmap-attr-disable"></a><li>
|
||||||
<code>disable 1</code><br>
|
<code>disable 1</code><br>
|
||||||
A running scan is canceled and no new scans are started.
|
A running scan is canceled and no new scans are started.
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<a id="Nmap-attr-excludeHosts"></a><li>
|
||||||
<code>excludeHosts <target specification></code><br>
|
<code>excludeHosts <target specification></code><br>
|
||||||
All target hosts in the <target specification> are skipped during the scan.
|
All target hosts in the <target specification> are skipped during the scan.
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<a id="Nmap-attr-interval"></a><li>
|
||||||
<code>interval <seconds></code><br>
|
<code>interval <seconds></code><br>
|
||||||
Interval in seconds in which the scan is performed.<br>
|
Interval in seconds in which the scan is performed.<br>
|
||||||
The default value is 900 seconds and the minimum value is 30 seconds.
|
The default value is 900 seconds and the minimum value is 30 seconds.
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<a id="Nmap-attr-keepReadings"></a><li>
|
||||||
<code>keepReadings 1</code><br>
|
<code>keepReadings 1</code><br>
|
||||||
If a new IP address is recognized for a device with a known MAC
|
If a new IP address is recognized for a device with a known MAC
|
||||||
address, the invalid readings are deleted unless this attribute is set.
|
address, the invalid readings are deleted unless this attribute is set.
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<a id="Nmap-attr-leadingZeros"></a><li>
|
||||||
<code>leadingZeros 1</code><br>
|
<code>leadingZeros 1</code><br>
|
||||||
For the readings, the IPv4 addresses are displayed with leading zeros.
|
For the readings, the IPv4 addresses are displayed with leading zeros.
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<a id="Nmap-attr-metaReading"></a><li>
|
||||||
<code>metaReading <metaReading></code><br>
|
<code>metaReading <metaReading></code><br>
|
||||||
You can specify "alias", "hostname", "ip" or "macAddress" as
|
You can specify "alias", "hostname", "ip" or "macAddress" as
|
||||||
<metaReading> and is the identifier for the readings.<br>
|
<metaReading> and is the identifier for the readings.<br>
|
||||||
The default is "ip".
|
The default is "ip".
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<a id="Nmap-attr-path"></a><li>
|
||||||
<code>path</code><br>
|
<code>path</code><br>
|
||||||
Path under which the Nmap program is to be reached.<br>
|
Path under which the Nmap program is to be reached.<br>
|
||||||
The default is "/urs/bin/nmap".
|
The default is "/urs/bin/nmap".
|
||||||
@ -817,7 +819,7 @@ sub Nmap_updateUptime($$;$) {
|
|||||||
<u><code>readingFnAttributes</code></u>
|
<u><code>readingFnAttributes</code></u>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<a id="Nmap-attr-sudo"></a><li>
|
||||||
<code>sudo 1</code><br>
|
<code>sudo 1</code><br>
|
||||||
The scan runs with root privileges.<br>
|
The scan runs with root privileges.<br>
|
||||||
The prerequisite is that the user has these rights under the FHEM. For
|
The prerequisite is that the user has these rights under the FHEM. For
|
||||||
@ -834,9 +836,8 @@ sub Nmap_updateUptime($$;$) {
|
|||||||
|
|
||||||
=begin html_DE
|
=begin html_DE
|
||||||
|
|
||||||
<a name="Nmap"></a>
|
<a id="Nmap"></a>
|
||||||
<h3>Nmap</h3>
|
<h3>Nmap</h3>
|
||||||
( <a href="commandref.html#Nmap"><u>en</u></a> | de )
|
|
||||||
<div>
|
<div>
|
||||||
<ul>
|
<ul>
|
||||||
Nmap ist das FHEM Modul um einen Netzwerkscan mit Nmap durchzuführen
|
Nmap ist das FHEM Modul um einen Netzwerkscan mit Nmap durchzuführen
|
||||||
@ -859,8 +860,8 @@ sub Nmap_updateUptime($$;$) {
|
|||||||
installiert werden.
|
installiert werden.
|
||||||
</ul>
|
</ul>
|
||||||
<br>
|
<br>
|
||||||
<a name="Nmapdefine"></a>
|
<a id="Nmap-define"></a>
|
||||||
<b>Define</b>
|
<h4>Define</h4>
|
||||||
<ul>
|
<ul>
|
||||||
<code>define <name> Nmap <target specification></code><br>
|
<code>define <name> Nmap <target specification></code><br>
|
||||||
In der <target specification> stehen alle Zielhosts, die gescannet
|
In der <target specification> stehen alle Zielhosts, die gescannet
|
||||||
@ -881,29 +882,29 @@ sub Nmap_updateUptime($$;$) {
|
|||||||
<a href="https://nmap.org/man/de/man-target-specification.html">
|
<a href="https://nmap.org/man/de/man-target-specification.html">
|
||||||
<u>Nmap Man Page (Angabe von Zielen)</u>
|
<u>Nmap Man Page (Angabe von Zielen)</u>
|
||||||
</a>.
|
</a>.
|
||||||
</ul><br>
|
</ul>
|
||||||
<a name="Nmapset"></a>
|
<a id="Nmap-set"></a>
|
||||||
<b>Set</b>
|
<h4>Set</h4>
|
||||||
<ul>
|
<ul>
|
||||||
<li>
|
<a id="Nmap-set-clear"></a><li>
|
||||||
<code>clear readings</code><br>
|
<code>clear readings</code><br>
|
||||||
Löscht alle Readings außer "state".
|
Löscht alle Readings außer "state".
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<a id="Nmap-set-deleteOldReadings"></a><li>
|
||||||
<code>deleteOldReadings <s></code><br>
|
<code>deleteOldReadings <s></code><br>
|
||||||
Löscht alle Readings die älter sind als <s> Sekunden.
|
Löscht alle Readings die älter sind als <s> Sekunden.
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<a id="Nmap-set-interrupt"></a><li>
|
||||||
<code>interrupt</code><br>
|
<code>interrupt</code><br>
|
||||||
Bricht einen laufenden Scan ab.
|
Bricht einen laufenden Scan ab.
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<a id="Nmap-set-statusRequest"></a><li>
|
||||||
<code>statusRequest</code><br>
|
<code>statusRequest</code><br>
|
||||||
Startet einen Netzwerkscan.
|
Startet einen Netzwerkscan.
|
||||||
</li>
|
</li>
|
||||||
</ul><br>
|
</ul>
|
||||||
<a name="Nmapreadings"></a>
|
<a id="Nmap-readings"></a>
|
||||||
<b>Readings</b><br>
|
<h4>Readings</h4>
|
||||||
<ul>
|
<ul>
|
||||||
Allgemeine Readings:
|
Allgemeine Readings:
|
||||||
<ul>
|
<ul>
|
||||||
@ -1001,11 +1002,11 @@ sub Nmap_updateUptime($$;$) {
|
|||||||
Netzwerkgerät erreichbar ist.
|
Netzwerkgerät erreichbar ist.
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</ul><br>
|
</ul>
|
||||||
<a name="Nmapattr"></a>
|
<a id="Nmap-attr"></a>
|
||||||
<b>Attribute</b>
|
<h4>Attribute</h4>
|
||||||
<ul>
|
<ul>
|
||||||
<li>
|
<a id="Nmap-attr-absenceThreshold"></a><li>
|
||||||
<code>absenceThreshold <n></code><br>
|
<code>absenceThreshold <n></code><br>
|
||||||
Die Anzahl an Netzwerkscans, welche in "absent" resultieren
|
Die Anzahl an Netzwerkscans, welche in "absent" resultieren
|
||||||
müssen, bevor der Status eines Netzwerkgeräts auf "absent"
|
müssen, bevor der Status eines Netzwerkgeräts auf "absent"
|
||||||
@ -1015,17 +1016,17 @@ sub Nmap_updateUptime($$;$) {
|
|||||||
ist, verbleibt das Reading "<metaReading>_state" auf "present",
|
ist, verbleibt das Reading "<metaReading>_state" auf "present",
|
||||||
bis der Status final auf "absent" wechselt.
|
bis der Status final auf "absent" wechselt.
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<a id="Nmap-attr-args"></a><li>
|
||||||
<code>args <args></code><br>
|
<code>args <args></code><br>
|
||||||
Argumente für den Nmap-Scan.<br>
|
Argumente für den Nmap-Scan.<br>
|
||||||
Die Vorgabe ist "-sn".
|
Die Vorgabe ist "-sn".
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<a id="Nmap-attr-deleteOldReadings"></a><li>
|
||||||
<code>deleteOldReadings <s></code><br>
|
<code>deleteOldReadings <s></code><br>
|
||||||
Nach einem Netzwerkscan werden alle hostspezifischen Readings, die
|
Nach einem Netzwerkscan werden alle hostspezifischen Readings, die
|
||||||
älter sind als <s> Sekunden, gelöscht
|
älter sind als <s> Sekunden, gelöscht
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<a id="Nmap-attr-devAlias"></a><li>
|
||||||
<code>
|
<code>
|
||||||
devAlias <ID>:<ALIAS> <ID2>:<ALIAS2> ...
|
devAlias <ID>:<ALIAS> <ID2>:<ALIAS2> ...
|
||||||
</code><br>
|
</code><br>
|
||||||
@ -1050,40 +1051,40 @@ sub Nmap_updateUptime($$;$) {
|
|||||||
</code><br>
|
</code><br>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<a id="Nmap-attr-disable"></a><li>
|
||||||
<code>disable 1</code><br>
|
<code>disable 1</code><br>
|
||||||
Ein laufender Scan wird abgebrochen und es werden keine neuen Scans
|
Ein laufender Scan wird abgebrochen und es werden keine neuen Scans
|
||||||
gestartet.
|
gestartet.
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<a id="Nmap-attr-excludeHosts"></a><li>
|
||||||
<code>excludeHosts <target specification></code><br>
|
<code>excludeHosts <target specification></code><br>
|
||||||
In der <target specification> stehen alle Zielhosts, die beim
|
In der <target specification> stehen alle Zielhosts, die beim
|
||||||
Scan übersprungen werden sollen.
|
Scan übersprungen werden sollen.
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<a id="Nmap-attr-interval"></a><li>
|
||||||
<code>interval <seconds></code><br>
|
<code>interval <seconds></code><br>
|
||||||
Intervall in Sekunden in dem der Scan durchgeführt wird.<br>
|
Intervall in Sekunden in dem der Scan durchgeführt wird.<br>
|
||||||
Der Vorgabewert ist 900 Sekunden und der Mindestwert 30 Sekunden.
|
Der Vorgabewert ist 900 Sekunden und der Mindestwert 30 Sekunden.
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<a id="Nmap-attr-keepReadings"></a><li>
|
||||||
<code>keepReadings 1</code><br>
|
<code>keepReadings 1</code><br>
|
||||||
Wird für ein Gertät mit bekannter MAC-Adresse eine neue IP-Adresse
|
Wird für ein Gertät mit bekannter MAC-Adresse eine neue IP-Adresse
|
||||||
erkannt, werden die ungültig gewordenen Readings gelöscht es sei denn
|
erkannt, werden die ungültig gewordenen Readings gelöscht es sei denn
|
||||||
dieses Attribut ist gesetzt.
|
dieses Attribut ist gesetzt.
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<a id="Nmap-attr-leadingZeros"></a><li>
|
||||||
<code>leadingZeros 1</code><br>
|
<code>leadingZeros 1</code><br>
|
||||||
Bei den Readings-Namen werden die IPv4-Adressen mit führenden
|
Bei den Readings-Namen werden die IPv4-Adressen mit führenden
|
||||||
Nullen dargestellt.
|
Nullen dargestellt.
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<a id="Nmap-attr-metaReading"></a><li>
|
||||||
<code>metaReading <metaReading></code><br>
|
<code>metaReading <metaReading></code><br>
|
||||||
Als <metaReading> kann "alias", "hostname", "ip" oder
|
Als <metaReading> kann "alias", "hostname", "ip" oder
|
||||||
"macAddress" angegeben werden und ist der Bezeichner für die
|
"macAddress" angegeben werden und ist der Bezeichner für die
|
||||||
Readings.<br>
|
Readings.<br>
|
||||||
Die Vorgabe is "ip".
|
Die Vorgabe is "ip".
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<a id="Nmap-attr-path"></a><li>
|
||||||
<code>path</code><br>
|
<code>path</code><br>
|
||||||
Pfad unter dem das Nmap Programm zu erreichen ist.<br>
|
Pfad unter dem das Nmap Programm zu erreichen ist.<br>
|
||||||
Die Vorgabe ist "/urs/bin/nmap".
|
Die Vorgabe ist "/urs/bin/nmap".
|
||||||
@ -1093,7 +1094,7 @@ sub Nmap_updateUptime($$;$) {
|
|||||||
<u><code>readingFnAttributes</code></u>
|
<u><code>readingFnAttributes</code></u>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<a id="Nmap-attr-sudo"></a><li>
|
||||||
<code>sudo 1</code><br>
|
<code>sudo 1</code><br>
|
||||||
Der Scan wird mit Root-Rechten ausgeführt.<br>
|
Der Scan wird mit Root-Rechten ausgeführt.<br>
|
||||||
Voraussetzung ist, dass der Benutzer unter dem FHEM ausgeführt
|
Voraussetzung ist, dass der Benutzer unter dem FHEM ausgeführt
|
||||||
|
Loading…
x
Reference in New Issue
Block a user