Recently, the company has been developing remote video and remote monitoring projects. We just have time to summarize them,
I don't know much about it, just follow the feeling;
Query a lot of information, all scattered, some good information on foreign websites,
Many of them are implemented using C and C ++. I have limited technical skills and can only use
-xx:maxpermsize=128m -djava.rmi.server.hostname=192.168.1.8 -dcom.sun.management.jmxremote.port=8088 -dcom.sun.management.jmxremote.ssl=false -dcom.sun.management.jmxremote.authenticate=true -dcom.sun.management.jmxremote.password.file=/usr/java/default/jre/lib/management/jmxremote.password -dcom.sun.management.jmxremote.access.file=/usr/java/default/jre/lib/management/jmxremote.access ' (Jmxremote.access has a template under Java_home\jre\lib\management)Display in Jmxremote.accessMonitorrole re
want to access it without shutting down the firewall. The 1099 ports need to be published in the Iptables.Shutdown Firewall command: Service iptables stop[[Email protected] sysconfig]# service iptables stopflushing Firewall rules: [ OK ]setting chains to policy A Ccept:filter [ OK ]unloading iptables modules: [ OK ]Add in Etc/sysconfig/iptables:-A rh-firewall-1-input-m state--state new-m tcp-p TCP--dport 1
Virtual VM is the JDK6 Update7 tool, there is a tendency to assemble other JDK tools, the current version of JDK7 has supported most of the monitoring capabilities, as if not as Jprofile and Youkit to support real-time tracking memory stack to locate the memory leak problem.
For remotely applied connections, Virtual VMS provide two ways: Jmx and JSTATD, and the configuration of these two connections is described below.
Jmx:
Locate the Jmxremote.pas
: This article describes how raspberry uses PHP to call simplecv in python for remote monitoring. For more information about PHP tutorials, see. Zookeeper
Http://www.eefocus.com/nightseas/blog/15-07/314520_6f011.html
Http://blog.csdn.net/yueguanghaidao/article/details/21748693
Http://code.google.com/p/ppython/
1. install simplecv
2. compile python
3. rc. local boot, python background
4. Reference
X11Vnc-suitable for Synchronous Remote Monitoring and demo recording in the LinuxX graphic environment-Linux Enterprise Application-Linux server application information. For more information, see the following. We found a good tool suitable for Synchronous Remote Monitoring and demo recording in the Linux X graphics en
Tags: form extras information stop port false pre SSL REMAuthor remote server operating system CentOS 7.0, Tomcat version 7.01. Linux Tomcat Configuration 1.1 catalina_opt ConfigurationYou can add the following configuration in the catalina.sh filecatalina_home=/usr/local/tomcat_fd02_mcjava_opts="$JAVA _opts-djava.rmi.server.hostname= xxx.xxx.xxx.xxx \-dcom.sun.management.jmxremote.ssl=false- Dcom.sun.management.jmxremote.authenticate=false"Configurin
Master Machine Run Command:Mkdir-p/var/log/-P/var/log/-P/var/log/-v/tmp:/tmp-v/log :/log-v/var/log:/var5601:56019200:92009300 :93005044:5044:--name Elk Sebp/elkOnly the Lagstash is turned on in slave and the related log is directed to the primary elk server:Mkdir-p/var/log/-v/tmp:/tmp-v/log:/log-v/var/log:/var5601: 56019200:92009300:93005044:50445000 : elasticsearch_start=-e0 -e kibana_start=0 --name Elk sebp/elkLogstash will error after startup because by default point to the local Elasticsear
Nagios NRPE monitoringThe procedure for a remote host is as follows.
Install nrpe on the invigilator
Wget http://nchc.dl.sourceforge.net/sourceforge/nagios/nrpe-2.12.tar.gz
Tar zxvf nrpe-2.12.tar.gz
Cd nrpe-2.12
./Configure -- prefix =/usr/local/nagios
Make all
Make install-plugin
# Install the supervisor in this step
Add a user to the monitored Machine
Groupadd nagios
Useradd-g nagios-d/usr/local/nagios-s/sbin/nologin nagios
Install plugin on the mon
List of open-source Remote Monitoring Software
1,Bo2kFull name:Back Orifice 2000It was released by a hacker organization named "cult of the dead cow. Within a week of release, the number of downloads reaches tens of thousands. The hacker organization also applied for a top-level domain name for bo2k, showing its power.: Http://www.newasp.net/code/vc/3122.html
2,VNC (Virtual Network Computing)It was first
to the Server.xml configuration file7. Modify the catalina.sh file under Tomcat's Bin directoryCd/usr/local/tomcat/binvi catalina.shAdd the following code to the catalina.sh configuration fileCatalina_opts= "-dcom.sun.management.jmxremote-dcom.sun.management.jmxremote.authenticate=false- dcom.sun.management.jmxremote.ssl=false-djava.rmi.server.hostname=192.168.0.23 "You can also add the following code within the startup.sh8. Start Tomcat./startup.sh9, Win7 add jmx, port number 12345JVISUALVM wi
Test the remote network topology by monitoring the TTL response
Sometimes, the network administrator can configure an internal network to implement communication between a single host and other hosts at different levels. A single Internet Protocol (IP) address may represent many devices that have opened ports on the internal network. Although there are some basic ways to detect them, it is surprising that
Monitor Java programs to increase startup parametersJava \-djava.rmi.server.hostname=192.168.1.97 \-dcom.sun.management.jmxremote \-dcom.sun.management.jmxremote.port=1099 \-dcom.sun.management.jmxremote.authenticate=false \-dcom.sun.management.jmxremote.ssl=false \-jar Imagescheck.jar > Image.log 2>1 Because the startup parameters are too long, we can define the system environment variables to represent the last line increment in the/etc/profileExport java_opts= '-djava.rmi.server.hostname=192.
I. Monitoring requirements:
Remote monitoring of custom TCP ports on Windows Servers
1. Linux machines are relatively simple. Use the check_tcp plug-in (the steps are omitted)
2. Windows machine, using the check_nt plug-in, check_nt for detailed usage see http://nagiosplugins.org/man/check_nt
A. First install nsclient ++
B. Edit
/Usr/local/Nagios/etc/objects/comm
Recently wrote a remote monitoring program with Python, the main features are:
1. Using Mail control so the function
2. The screen can be sent to the mailbox
3. Can use the camera to get pictures, these images uploaded to seven cattle
4. Boot from boot
The code is as follows:
##coding by Loster#Import Win32APIImport Win32conImport PlatformImport socketImport timeImport OSImport SmtplibImport PoplibFrom vi
can not only control the camera, but also can play the local video directly, but need some configuration PublicCameracapture () {InitializeComponent (); Try { //_capture = new Capture (); varFileName ="file Address"; _capture=NewCapture (fileName); _capture. Imagegrabbed+=Processframe; } Catch(NullReferenceException excpt) {MessageBox.Show (excpt. Message); } }There are two third-party files to download:Opencv_ffmpeg.
in Use:jvm_bindThe above options must be set in the catalina_opts variable and set in Java_opts, and the problem will occur.# catalina_opts (Optional) Java runtime options used when the "start",# "Run" or "Debug" command is executed.# Include here and isn't in java_opts all options, that's should# only being used by Tomcat itself, not by the stop process,# the version command etc.# Examples is heap size, GC logging, JMX ports etc.# java_opts (Optional) JAVA runtime options used when any command
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.