Hi if ($_GET["kl"] == "public"){ $user_id = 2; $this->setUserLoggedIn($user_id, true); $user = $this->getUser($user_id); $this->newRememberMeCookie(); } This code works but I would like an user_id can work more than id=2 like I want to let it work from id 2 to id 50 how to do that
Hi!! I want to cut an IP Address and Port out from message of Log's page to make more of secure of this tool how to code that?
Hi!! I want to cut an IP Address and Port out from message of Log's page to make more of secure how to code that?
I know this is an old thread, but if anyone is still tryhing to get SMSGlobal working, I found a fix that works for me. Change line 67 in Smsglobal.php. Change www.smsglobal.com to api.smsglobal.com. I found this by reviewing SMSGlobal's api docs. Cheers. Bobby
New user here, looking for some guidance. I am trying to get PHP Server Monitor up and running on a Synology Diskstation, using Docker but cannot find a suitable guide for beginners. After downloading various images from the Docker hub and getting nowhere. I am just trying to find a step by step guide. Thanks
New user here, looking for some guidance. I am trying to get PHP Server Monitor up and running on a Synology Diskstation, using Docker but cannot find a step by step user guide. After downloading various images from the Docker hub and getting nowhere. I am just trying to find a stepp by step guide. Thanks
Hi Seth Hall. I have the same config as you have, and I followed your steps, but nothing. still the same error. Can you give me any hints? Thanks, István
Hi, I run Servermonitor for about 10 websites using detection via a text pattern without problems. The URL is always entered as e.g. https://example.com/ and the pattern is found on the default page, e.g. index.htm. It even works with a named page like https://example.com/page.htm. Now I applied the same scheme for a website running under the CMS GRAV, but the site is always marked as offline which is definitely wrong. The log says "TIMEOUT ERROR: no response from server", "Could not get headers....
any news? has already built in maybe in new release?
Please I have the same problem and this software would be very useful to me. Thanks
i got that problem too. my solution is you must change your php version.
Every thing is OK , No problem but when I click "Users" in dashboard I receive This page isn’t working http error 500 Debug Fatal error: Declaration of psm\Module\User\Controller\UserController::run() must be compatible with psm\Module\AbstractController::run($action = NULL) in /home/.......Module/User/Controller/UserController.php on line 36
Every thing is OK , No problem but when I click "Users" in dashboard I receive This page isn’t working http error 500
Every thing is OK , No problem but when I click Users I receive This page isn’t working http error 500
Just incase anyone else comes across this issue, I found the following worked for me. I'm running Ubuntu 20.04, Apache, MySQL, and PHP 7.5 I received the same blank screen when navigating to the install.php file and enabling PSM_DEBUG presented me with the same error. To resolve, I install php-xml, restarted apache and the install.php page was visible. I also installed php-curl and set my timezone in php.ini as these were both suggested. I've been running it, playing with whats available and so far...
How can I make the color I want?
How anyone can view the site. Without member? Ty.
How anyone can view the site. Non membership? Ty.
Any idea why Clicksend SMS would not work? Account established with phone number. PHP monitor will not connect. Attached image is what I get no matter what username or password I put in. Seems like it needs configuring somewhere in the script??
Any idea why Clicksend SMS would not work? Account established with phone number. PHP monitor will not connect
Fatal error: Uncaught RuntimeException: Extension DOM is required. in /var/www/html/phpservermon/vendor/symfony/config/Util/XmlUtils.php:50 Stack trace: #0 /var/www/html/phpservermon/vendor/symfony/config/Util/XmlUtils.php(131): Symfony\Component\Config\Util\XmlUtils::parse() #1 /var/www/html/phpservermon/vendor/symfony/dependency-injection/Loader/XmlFileLoader.php(379): Symfony\Component\Config\Util\XmlUtils::loadFile() #2 /var/www/html/phpservermon/vendor/symfony/dependency-injection/Loader/XmlFileLoader.php(44):...
Fatal error: Uncaught RuntimeException: Extension DOM is required. in /var/www/html/phpservermon/vendor/symfony/config/Util/XmlUtils.php:50 Stack trace: #0 /var/www/html/phpservermon/vendor/symfony/config/Util/XmlUtils.php(131): Symfony\Component\Config\Util\XmlUtils::parse() #1 /var/www/html/phpservermon/vendor/symfony/dependency-injection/Loader/XmlFileLoader.php(379): Symfony\Component\Config\Util\XmlUtils::loadFile() #2 /var/www/html/phpservermon/vendor/symfony/dependency-injection/Loader/XmlFileLoader.php(44):...
This problem has been solved in the latest release (3.5 and above). Unfortunatly the newer releases are no longer being published to Sourceforge. You can obtain them on the project gitbuh page https://github.com/phpservermon/phpservermon The main project website needs to be updated. The download link is outdated.
This problem has been solved in the latest release (3.5 and above). Unfortunatly the newer release are no longer being published to Sourceforge. You can obtain them on the project gitbuh page https://github.com/phpservermon/phpservermon The main project website needs to updated.
Hi Lance I figured it out. For SMSGlobal its working ok now for me because I did the following as a workaround: a) By default for new accounts SMSGlobal do not allow SMS messages to be delivered that include a URL in the message. The server monitor includes URLs in the SMS messages so they are disabled. Need to request SMSGlobal support to enable urls in messages for your account. b) All phone numbers should start with the country code, example 44 for UK and not +44 and not 0044. c) The API does...
Hi Lance I figured it out. For SMSGlobal its working ok now for me because I did the following as a workaround: a) By default for new accounts SMSGlobal do not allow SMS messages to be delivered that include a URL in the message. The server monitor includes URLs in the SMS messages so they are disabled. Need to request SMSGlobal support to enable urls in messages for your account. b) All phone numbers should start with the country code, example 44 for UK and not +44 and not 0044. c) The API does...
Hi Lance I figured it out. For SMSGlobal its working ok now for me because I did the following: a) By default for new accounts SMSGlobal do not allow SMS messages to be delivered that include a URL in the message. The server monitor includes URLs in the SMS messages so they are disabled. Need to request SMSGlobal support to enable urls in messages for your account. b) The test function in the text message settings in the server monitor does not work for SMSGlobal - it always pops-up an error when...
Hi Lance I followed your guide and I still cannot send sms using SMSglobal. I have credit and can send ok manually from my SMS Global account. All I get is a pink box that says “Error in sms sending”. I wonder what number I supposed to enter in the "senders phone number" field, I try various ones. I do not have a paid number with SMSGlobal. Thanks
Hi all, I do some script to run status.cron.php every 3 secounds just following this steps : Tested on (CentOS 8) ( PHP Server Monitor v3.5.0.) (PHP 7.2.24) (5.5.5-10.3.17-MariaDB) (Apache/2.4.37). Create new file shell script to run it by cron job command for PHP Server Monitor to refresh status every 3 second cd /root nano every5second.sh Add this : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15#!/bin/bash # Run cron jop for update status SERVER MONITOR PID=$$ # The self killer (sleep 57;kill $PID)& while...
Hi all, I do some script to run status.cron.php every 3 secounds just following this steps : Tested on (CentOS 8) ( PHP Server Monitor v3.5.0.) (PHP 7.2.24) (5.5.5-10.3.17-MariaDB) (Apache/2.4.37). Create new file shell script to run it by cron job command for PHP Server Monitor to refresh status every 3 second cd /root nano every5second.sh Add this : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15#!/bin/bash # Run cron jop for update status SERVER MONITOR PID=$$ # The self killer (sleep 57;kill $PID)& while...
Hi all, I do some script to run status.cron.php every 3 secounds just following this steps : Tested on (CentOS 8) ( PHP Server Monitor v3.5.0.) (PHP 7.2.24) (5.5.5-10.3.17-MariaDB) (Apache/2.4.37). Create new file shell script to run it by cron job command for PHP Server Monitor to refresh status every 3 second cd /root nano every5second.sh Add this : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15#!/bin/bash # Run cron jop for update status SERVER MONITOR PID=$$ # The self killer (sleep 57;kill $PID)& while...
I read an old thread that said this might be a PHP version incompatibility. I just built a new LAMP server with PHP v7.3 and it looks like that got PHPServerMon working well again. Thanks anyway!
Hello, I just upgraded from 3.4.1 to 3.5.0 and when I try to load the site or run the upgrade script at phpservermon/install.php, I get a blank white screen. I've enabled debugging, and I get the following error. I'm a bit of a rookie when it comes to code, especially PHP, can anyone tell me what I need to do to fix this error?
Hello, I just upgraded from 3.4.1 to 3.5.0 and when I try to load the site or run the upgrade script at phpservermon/install.php, I get a blank white screen. I've enabled debugging, and I get the following errors. I'm a bit of a rookie when it comes to code, especially PHP, can anyone tell me what I need to do to fix these two errors?
Any solution ?
Any update on this?
Dear, I am this error. Help-me, please! Warning: require_once(DIR/../src/bootstrap.php): failed to open stream: No such file or directory in /home/*/***.com.br/cron/status.cron.php on line 29 Fatal error: require_once(): Failed opening required 'DIR/../src/bootstrap.php' (include_path='.:/opt/php52/lib/php') in /home/*/***.com.br/cron/status.cron.php on line 29 Thks!
I ended up installing Cabot as an alternative website monitor. You can read my "installation notes here".
Thanks. I got version 3.4.5 and tried it with PHP 7.0, 7.1, 7.2, 7.3, 7.4 all resulting in a blank page after installation. Anyone know of any alternative scripts for monitoring website, page changes?
View Github for the latest version with PHP 7 support.
No. Only the Github recieves updates at this time.
It looks like there is not much of any development on this project anymore. Is there an active alternative project?
to continue my requirement, i have test1 enviroment and list of the servers, in status page, there is one icon test1,once i click the test1 icon it has to redirect to test1 server list.
Hi Team, i installed php server monitoring sucessfully and it is working as expected, i have no of severs with different entiroment, like prod ,qa and test ...ect ,. i need your assistance to make a group to the servers in UI, rather then showing all servers in single pagel
Hi Team, i installed php server monitoring sucessfully and it is working as expected, i have no of severs with different entiroment, like prod ,qa and test ...ect ,. i need your assistance to is possible to group the servers in UR, rather then showing all servers in single pagel
Version 3.2 and 3.1.1 do not support Php 7.x I have tested everything.
The hint to check the actuality of the PHP version is probably wrong in this case. Because the problem is not a PHP that is too old but a PHP that is too new. I have tested it. Version 3.1.1. and 3.2 run perfectly under PHP 5.6 but not under any Php 7 version (not with 7.1, 7.2, 7.3 and 7.4 On many web servers php 5.6 is no longer supported, so PSM is not usable there. Obviously the developers don't maintain it anymore, because Php 5.6 is outdated for a long time
This is definitely a problem that occurs with PHP higher than 5.6. It does not work with 7.1, 7.2, 7.3 and 7.4 - all tested - always a blank page. On many web servers php 5.6 is no longer supported, so PSM is not usable there.
Hi there, I have set debug to true and when I try to update the servers status on /?&mod=server I get the following errors multiple times. Deprecated: Function mcrypt_get_iv_size() is deprecated in /usr/www/users/****/src/includes/functions.inc.php on line 717 Deprecated: Function mcrypt_get_iv_size() is deprecated in /usr/www/users/****/src/includes/functions.inc.php on line 723 Deprecated: Function mcrypt_decrypt() is deprecated in /usr/www/users/****/src/includes/functions.inc.php on line 725...
temporary solution found on topic https://sourceforge.net/p/phpservermon/discussion/845823/thread/4d9cba5de6/
Dear support, I have just downloaded and installed the php server monitor and when I am visiting the /?&mod=user page I get the following error: Fatal error: Declaration of psm\Module\User\Controller\UserController::run() must be compatible with psm\Module\AbstractController::run($action = NULL) in /var/www/vhosts/*/public_html/domains//subdomains/**/src/psm/Module/User/Controller/UserController.php on line 36 How can I solve the issue ? Thank you in advance
Dear support, I have just downloaded and installed the php server monitor and when I am visiting the /?&mod=user page I get the following error: Fatal error: Declaration of psm\Module\User\Controller\UserController::run() must be compatible with psm\Module\AbstractController::run($action = NULL) in /var/www/vhosts/*/public_html/domains/netfrix.de/subdomains/*/src/psm/Module/User/Controller/UserController.php on line 36 How can I solve the issue ? Thank you in advance
I analized the logs cat /var/spool/mail/root logs are rejecting the emails for my case i changed public dns to coperate dns server ip and reboot the server it works for me. Must make sure host able to sent the email to reciepent echo "something..."| mail -s testeMail randy@example.net
how did you resolved it?
Yes Alexander its resolved.
same here... did you resolved it?
Hi, I configurerd a server monitoring. It was successfull. But probblem is I cant see RED colour when server down.
Perfect, that's it! Now it works with PHP 7.4.2. Thank you very much Manu! Regards
Hi, theres an error in the "src\psm\Module\User\Controller\UserController.php" Class. The function "run" doesnt have the same properties than its abstract class. So for a quick fix, move to src\psm\Module\User\Controller\UserController.php search for "function run" and change it to public function run( $action = null ) { regards manu
Hello, could you achieve this goal?
Hello, I am getting the error message while configure the mailer This is what i am getting. Error in email sending: SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting Version I used PHP Server Monitor v3.4.5. Please advise
Hello, I am getting the error message while configure the mailer This is what i am getting. Error in email sending: SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting Please advise
Hello, I am getting the error message while configure mailer This is what i am getting Error in email sending: SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting
Transactional SMS can be used by Registered Education Institutions (Only for sending critical information to parents) Airlines & Railway (Only for sending ticket & PNR details to passengers) Registered Companies Insurance Companies Registered Banks & Financial Institutions Credit Card Companies Stock Market Alerts (Only to opted-in/subscribed customers) E-Commerce website sending response to ecommerce transactions made by their customers Does Transactional SMS have Sender ID? Yes, you can have Send...
After I got woken up at 1am because Sourceforge was down: has anybody worked out how to set the PushOver priority to 0? It's currently at 2 which is the emergency setting and rings always until confirmed. I looked into the pushover.php but my php is so basic that I broke it trying to adjust it...
After the update to 3.2, the "User" area is no longer available. Everything else and the tool itself works fine.
Hello, Thank you for this open server monitor project. this server monitoring tool really helpful for me for website maintenance. I like to suggest to add new SMS Gateway , which is really helpful for user to get real-time notification. You can check various leading website to Integrate API - Twillo Nexmo SandeshLive
Hi there I would like to monitor Let's Encrypt certs to ensure that websites are loading and displaying correctly. Would anyone know how to setup a monitoring service that would triger an alert if a certificate was not valid (failed to auto renew) . It seems that the standard monitoring still finds the website active with or without a valid certificate (as the error warning are browser based and not bot based - I presume) Any help would be greatly appreciated. Brad
I also want to do this. I added a new menu item which links to a new the php page in /src/psm/Module/Server/Controller I created but it still doesnt work. It doesnt load that page. I also edited AbstractController.php in src/psm/Module, still not working. any ideas ?
Hi, Thank you very much for this awesome Server Moniter project. The server monitering very crucial part of website maintenance. To get realtime notifications, here I came across to integrate text messaging support to this project and interate the SMS API from PRP Services Pvt. Ltd. - a leading Cloud telephony & Enterprise messaging solution provider. Website: https://www.prpservices.in
Yes I am in too. For many host, it is a must. Also searching a host is good idea :)
I'm running PHP 7.2.21 and this issue with blank user page is still not fixed in 3.2.0.
I was able to resolve this issue by setting the group permissions of /var/lib/php/session to that of my webserver (nginx).
I am having this problem as well (error attached). Did you ever find a resolution?
I am having this problem as well (error attached). Did you ever find a resolution?
Tell me how you can create a separate page with your arbitrary php code
Hi, I am not able to add any users at the moment, phpservermon/?&mod=user page is giving me http 500 (phpservermon-3.2.0.zip) with PHP Version 7.3.8 in a shared hosting environment - cURL support enabled cURL Information 7.29.0 This is a shared environment, any help would be greatly appretiated.
Hi there, would be cool to have the ability to make HTTP requests or fire scripts/commands on status changes. This could help to trigger recovery actions. Thanks for the great tool. tezzlicious
Hi there, would be call to have the ability to make HTTP requests or fire scripts/commands on status changes. This could help to trigger recovery actions. Thanks for the great tool. tezzlicious
Now it doesn't matter the project was scraped On Thu, Jul 25, 2019, 23:25 Alvonei Gris alvonei@users.sourceforge.net wrote: Good night! I believe you did not configure Crontab to update monitor information Servers being monitored, aren't being monitored. https://sourceforge.net/p/phpservermon/discussion/845823/thread/fd4a13cae8/?limit=25#a6dd Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/phpservermon/discussion/845823/ To unsubscribe from further messages,...
Server Status Color is not changing to red when monitored IP is offline
Good night! I believe you did not configure Crontab to update monitor information
I think I have it figured out. I needed to install the following packages php-mysqlnd php-mysql I needed to add the following line at the end of config.php for debug info define('PSM_DEBUG', true); Hope this helps anyone else with same issue.
I tested the monitor on my own ubuntu 16.04 server and got the cron job working. I have now installed the monitor on a REHL7 server behind organisation firewall so it can access the servers it needs to monitor. Installed fine and the update via the web interface works fine and so does emailing. When I went to configure the cron jon I tested /usr/bin/php /srv/www/html/monitor/cron/status.cron.php and found it did nothing. So to clarify when I pressed enter it returns nothing and goes back to prompt...
PLease can some one provide more details on how this can be done. i want the php server mon to skip the log in page and go straight to the servers. is this possible? please any help will be appreciated i dont want the initial log in page
PLease can some one provide more details on how this can be done. i want the php server mon to skip the log in page and go straight to the server. is this possible?
Nobody seems to actually be responding to support queries here. (It's free software, so there's only so much we can complain about.) Have you verified your php is up to date? Create an empty PHP file in the root level of your install folder and put only <?php phpinfo(); in it, look at it in a browser. I suggest that you change the directory name of your install to simply phpservermon -- or anything without the 3.2.0 in it. Dots in a directory name can be problematic. I had an issue when trying to...
My first attempt to set up SMS... I chose a provider from the latest README -- Nexmo -- it is not available as an option in the dropdown window of the SMS settings tab. (There are 18 services on the list on the Introduction page, only 13 show in the tab.) I then signed up for SMSGlobal. I understand I want the username and password from the API & Integrations page, but I'm unclear as to what phone number I should be entering. I suspect it means I need to buy a dedicated number from SMSGlobal, but...
friends, good afternoon! Can someone or the author help me ?! Next, I loved the script, and that's exactly what I need, and I would very much like to deploy it in an ad-admin panel that I already own. However, when I log in to this system, it destroys my panel session, has the possibility of someone helping me override the session portion of this script? why would I use a startsession of my panel instead of it! understood I already tried everything and could not incorporate it for this simple reason...
There's some instructions on how to set up a Telegram bot, but no instructions on how to get the software talking to Telegram. Is this something that was removed, or am I missing where to set things up?
So I have a good number of servers being monitored and multiple user accounts set up, one user account per admin plus a catchall. What I would like is that notifications for a server going down to only be sent to those users that have "permissions" on that server. This way each admin can be notified via Pushover, which is really hard to ignore, if one of 'their' servers goes down while the catchall, which has permissions on all, sends out emails for tracking. The other admins may notice the server...
So I have a good number of servers being monitored and multiple user accounts set up, one user account per admin plus a catchall. What I would like is that notifications for a server going down to only be sent to those users that have "permissions" on that server. This way each admin can be notified via Pushover, which is really hard to ignore, if one of 'their' servers goes down while the catchall, which has permissions on all, sends out emails for tracking. The other admins may notice the server...
I did the setup for phpservermon and thought everything was fine, after that I inserted a server I wanted to monitor, but then I noticed it wasn't showing latency. also it never went down(which can be because it isn't being monitored or because it just didn't went down). I'm using ubuntu 18.04, mysql 5.7, php 5.6 and apache2. If someone knows how to fix this with only this info, please do, but my question is: Is it possible that this error is because of my connection to the company's network, in...
Hello, if the development of the PHP Server Monitor continues, I would like to have the following feature. If a monitored system switches to orange or red, I would like to be informed with 2 different audio files. So you could actively look at the site as soon as you hear the corresponding audio files. It would make sense here if everyone could upload their own MP3. Many thanks in advance.
Hi, I just downloaded phpservermon-3.2.0. Whenever I try to run 'install.php', it just turns up blank. Following the the documentation, I added the line 'define('PSM_DEBUG', true);' to the config.php file, and it gave me the following error: Fatal error: Uncaught Error: Class 'DOMDocument' not found in /var/www/html/phpservermon-3.2.0/vendor/symfony/config/Util/XmlUtils.php:52 Stack trace: #0 /var/www/html/phpservermon-3.2.0/vendor/symfony/dependency-injection/Loader/XmlFileLoader.php(280): Symfony\Component\Config\Util\XmlUtils::loadFile('/var/www/html/p...',...
Hi Great system indeed. I too would love the functionality to be able to sort servers alphabetically or otherwise, as I have an ever-increasing list.
I'm having th same problem with Joomla websites. I've tried lots of strings and ther Server Monitor cannot find them.
You can also delete line 297 (/src/psm/Module/AbstractController.php) to remove the user menu --->
Hi Is it possible import a list of servers, like uptimerobot API does !?
Ubuntu 18, PHP 7.2, NGINX Doesn't seem to matter which version of PSM i run, i get the same error for ping. An unknown error also occurs with pushover. API key is entered, and notifications send via pushover.net test form.