Skip to content

Commit 3ea23d5

Browse files
authored
Update README.md
1 parent 7ede846 commit 3ea23d5

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ The can be easily extended to any other custom notification type.
3131
This guide assumes you have a working net-snmp, apache, php and mysql installation with default apache files stored
3232
in /var/www/.
3333

34-
1. Set traphandler
34+
1.Set traphandler
3535

3636
First, edit file `/etc/snmp/snmptrapd.conf` and add traphandler for default files to traphandler.php:
3737

@@ -42,7 +42,7 @@ agentaddress my_ip_address:162
4242
traphandle default /usr/bin/php /var/www/traphandler.php
4343
```
4444

45-
2. Prepare and edit config file
45+
2.Prepare and edit config file
4646

4747
Now go to /var/www/ directory and copy config.dist.php to config.php:
4848
```
@@ -51,13 +51,13 @@ cp /var/www/config.dist.php /var/www/config.php
5151
and edit the config file to match your settings.
5252

5353

54-
3. Set mod_rewrite
54+
3.Set mod_rewrite
5555

5656
mod_rewrite is required for snmptraps. Example here:
5757

5858
http://phpipam.net/documents/prettified-links-with-mod_rewrite/
5959

60-
4. Import database schema
60+
4.Import database schema
6161

6262
Now you have to import chema for mysql database with following command:
6363

@@ -81,7 +81,7 @@ mysql -u root -p snmptraps < db/SCHEMA.sql
8181
That should be it, fire up browser and login. Default user/pass is Admin/snmptraps.
8282

8383

84-
5. Send test message and debugging
84+
5.Send test message and debugging
8585

8686
To test snmptrap you can use the following command:
8787

0 commit comments

Comments
 (0)