I have the case here to be able to send to multiple emails when something in my network goes down. The normal thing to do is create a user for each email and select the specifis equipment for these users. The problem is : I don't want to do this! I modified different portions of code to ba able, for a user, to specifie multiple emails with the formula multi:email1@domain.com,email2@domain.com,email3@domain.com.... src\templates\default\module\user\profile.tpl.html line 38 <!--<input type="text" id="email"...
I managed to modify the code here : https://sourceforge.net/p/phpservermon/discussion/845823/thread/69de2f96/
I recently modified the code to give our department the geas to repair all problems. So when there is no problem, I put a random GIF to send us a good job pic! src\templates\default\module\server\status\index.tpl.html line 1, replace code until {% for server in servers_online %} <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> <div class="tab-content"> <input type="hidden" name="saveLayout_csrf" value="{{ csrf_token(csrf_key|default('')) }}" /> <div id="flow-layout"...
I recently modified the code to give our department the geas to repair all problems. So when there is no problem, I put a random GIF to send us a good job pic! src\templates\default\module\server\status\index.tpl.html line 6 {% for server in servers_offline %} <div class="offline"> <div class="entity {{ server.class_warning }}" onclick="window.location.href='{{ server.url_view|raw }}'"> <h2>{{ server.label }}</h2> <p>{{ label_last_online }}: {{ server.last_online_nice }}</p> <p>{{ label_last_check...
I recently modified the code to give our department the geas to repair all problems. So when there is no problem, I put a random GIF to send us a good job pic! src\templates\default\module\server\status\index.tpl.html line 6 {% for server in servers_offline %} <div class="offline"> <div class="entity {{ server.class_warning }}" onclick="window.location.href='{{ server.url_view|raw }}'"> <h2>{{ server.label }}</h2> <p>{{ label_last_online }}: {{ server.last_online_nice }}</p> <p>{{ label_last_check...
I recently modified the code to give our department the geas to repair all problems. So when there is no problem, I put a random GIF to send us a good job pic! src\templates\default\module\server\status line 6 {% for server in servers_offline %} <div class="offline"> <div class="entity {{ server.class_warning }}" onclick="window.location.href='{{ server.url_view|raw }}'"> <h2>{{ server.label }}</h2> <p>{{ label_last_online }}: {{ server.last_online_nice }}</p> <p>{{ label_last_check }}: {{ server.last_checked_nice...
I have the case here to be able to send to multiple emails when something in my network goes down. The normal thing to do is create a user for each email and select the specifis equipment for these users. The problem is : I don't want to do this! I modified different portions of code to ba able, for a user, to specifie multiple emails with the formula multi:email1@domain.com,email2@domain.com,email3@domain.com.... src\templates\default\module\user\profile.tpl.html line 38 <!--<input type="text" id="email"...
Yes there is my modifications : Create a Public user, give access to servers you want Memorize the ID it gives to you \src\psm\Service\User.php Line 98 (after $this->session = $session;) global $_GET; if ($_GET["kl"] == "public"){ $user_id = 2; $this->setUserLoggedIn($user_id, true); $user = $this->getUser($user_id); $this->newRememberMeCookie(); } When you will tap the URL http:/server/servermonitor/?kl=public it will take the Public account This method use a particular userid so even if somebody...