Skip to content

Commit 27c8d79

Browse files
author
Miha Petkovsek
committed
Fixed phpipam#13 - Small Issue Spelling Error
1 parent 0a9c55f commit 27c8d79

File tree

6 files changed

+14
-14
lines changed

6 files changed

+14
-14
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ It comes with nice HMTL5 UI:
1414

1515
and more.
1616

17-
You can set severity level for each received message, ignore specific message types, create maintaneance periods
17+
You can set severity level for each received message, ignore specific message types, create maintenance periods
1818
for hosts, set per-user quiet hours and more.
1919

2020

app/host/index.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
print "<div class='container-fluid text-right row'>";
3535
print "<div class='col-lg-6 col-sm-12'></div>";
3636
print "<div class='col-lg-6 col-sm-12 hosts-wrapper'>";
37+
if(isset($unique_hosts)) {
3738
foreach ($unique_hosts as $h) {
3839
// ignore unknown
3940
if ($h->hostname!="<UNKNOWN>") {
@@ -43,6 +44,7 @@
4344
print "<span class='badge badge1 badge5 marged $active'><a href='host/$h->hostname/'>$h->hostname</a></span>";
4445
}
4546
}
47+
}
4648
print "</div>";
4749
print "</div>";
4850
print "<hr><br>";

app/live/index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434

3535
# critical
3636
print "<h4>Live message update</h4><hr>";
37-
print "<div class='container pull-left'>Messages will be updated each 15 seconds</div>";
37+
print "<div class='container pull-left'>Messages will be updated every 15 seconds</div>";
3838
print "<table class='table snmp live sorted table-noborder table-condensed table-hover'>";
3939
$Table_print->print_snmp_table ($traps, true, true, false, true);
4040
print "</table>";

app/settings/exceptions.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<h4 class="red">Ignored messages (Exceptions)</h4>
22
<br>
33

4-
Below messages will not be placed to database, and notification message for below definitions will not be sent. If only OID is set, than trap containing this OID will not be processes.
5-
If hostname is set it will match hostname also, same goes for messages for better fine-tuning.
4+
Messages listed here will not be written to the database and Notifications will not be sent.
5+
If either only the OID, hostname or the message is set, then traps containing this OID, hostname or message will not be processed. This allows for more granular control and better fine tuning.
66
<br><br>
77
<?php
88

app/settings/index.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@
44

55
// items
66
$items = array(
7-
"general" => "General settings",
7+
"general" => "General settings",
88
"severity_definitions" => "Severity definitions",
9-
"exceptions" => "Ignored messages",
10-
"maintaneance" => "Maintaneance",
11-
"mibs" => "MIB files",
12-
"users" => "User management"
9+
"exceptions" => "Ignored messages",
10+
"maintaneance" => "Maintenance",
11+
"mibs" => "MIB files",
12+
"users" => "User management"
1313
);
1414
// default
1515
if(!isset($_GET['page'])) { $_GET['page'] = "severity_definitions"; }

app/settings/maintaneance.php

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
<h4 class="red">Maintaneance periods for hosts</h4>
1+
<h4 class="red">Maintenance periods for hosts</h4>
22
<br>
33

4-
Here you can set maintaneance periods for specific hosts. During maintaneance period you will not be receiving notifications for this host, but notifications will still be arraving to database.
4+
Here you can set maintenance periods for specific hosts. Notifications will be disabled for the duration of Maintenance period for such hosts. Notifications will still be received and written to the database.
55
<br><br>
66
<?php
77

@@ -50,6 +50,4 @@
5050
# print table
5151
print "<table class='table snmp sorted table-noborder table-condensed table-hover'>";
5252
$Table_print->print_table ($maintaneance, true, "app/settings/item-edit.php", "maintaneance");
53-
print "</table>";
54-
55-
?>
53+
print "</table>";

0 commit comments

Comments
 (0)