GithubHelp home page GithubHelp logo

dcl-lily / nagiosdashboard Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 251 KB

NagiosDashBoard-Nagios监控展示页面

License: GNU General Public License v3.0

PHP 48.86% CSS 22.65% JavaScript 28.50%
nagios ndoutils dashboard php

nagiosdashboard's Introduction

NagiosDashBoard

NagiosDashBoard-Nagios监控展示页面

需要ndoutils的支持

1、配置merlin.php文件

首先修改13行的用户名密码 root是连接数据的用户名,123.com是连接数据的密码,修改成自己的

  $con = mysql_connect("localhost", "root", "123.com") or die("<h3><font color=red>不能连接到数据库!</font></h3>");

修改19行的数据,nagiosndo 你的NDO数据保存的数据库名

  $db = mysql_select_db("nagiosndo", $con);

2、修改index.php文件

$refreshvalue = 30;  //页面刷新时间秒

$pagetitle = "Nagios-监控展示页面";     //页面title显示类容

3、修改js/nagios.js

refreshValue = 30;    //页面刷新时间设定

watermark({watermark_txt:'背景水印文字' + " "+getNowFormatDate()});

效果

image

nagiosdashboard's People

Contributors

dcl-lily avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.