Skip to content

Commit

Permalink
Merge pull request #74 from XavierBerger/revert-73-patch-1
Browse files Browse the repository at this point in the history
Revert "Update services.conf". Pull request should be done in devel branch. Revert.
  • Loading branch information
XavierBerger committed Jan 4, 2015
2 parents 369c13e + 9b01ace commit 51d314b
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions rpimonitor/template/services.conf
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
# - rpimonotor port (8888) - yes - no
# - http port (80) - yes - yes
# - https port (443) - yes - yes
# - mysql port (3306) - yes - no
########################################################################
dynamic.1.name=ssh
dynamic.1.source=netstat -nlt
Expand All @@ -24,11 +23,6 @@ dynamic.4.name=https
dynamic.4.source=netstat -nlt
dynamic.4.regexp=tcp .*:(443).*LISTEN

dynamic.5.name=mysql
dynamic.5.source=netstat -nlt
dynamic.5.regexp=tcp .*:(3306).*LISTEN


web.status.1.content.1.name=Servers
web.status.1.content.1.icon=daemons.png
web.status.1.content.1.line.1="<b>ssh</b> : "+Label(data.ssh,"==22","OK","success")+Label(data.ssh,"!=22","KO","danger")+" <b>rpimonitor</b> : "+Label(data.rpimonitor,"==8888","OK","success")+Label(data.rpimonitor,"!=8888","KO","danger")+" <b>nginx http</b> : "+Label(data.http,"==80","OK","success")+Label(data.http,"!=80","KO","danger")+" <b>nginx https</b> : "+Label(data.https,"==443","OK","success")+Label(data.https,"!=443","KO","danger")+" <b>mysql</b> : "+Label(data.mysql,"==3306","OK","success")+Label(data.mysql,"!=3306","KO","danger")
web.status.1.content.1.line.1="<b>ssh</b> : "+Label(data.ssh,"==22","OK","success")+Label(data.ssh,"!=22","KO","danger")+" <b>rpimonitor</b> : "+Label(data.rpimonitor,"==8888","OK","success")+Label(data.rpimonitor,"!=8888","KO","danger")+" <b>nginx http</b> : "+Label(data.http,"==80","OK","success")+Label(data.http,"!=80","KO","danger")+" <b>nginx https</b> : "+Label(data.https,"==443","OK","success")+Label(data.https,"!=443","KO","danger")

0 comments on commit 51d314b

Please sign in to comment.