Linux 120.141.167.72.host.secureserver.net 4.18.0-553.150.1.el8_10.x86_64 #1 SMP Fri Jul 31 15:23:31 EDT 2026 x86_64
Apache
: 72.167.141.120 | : 216.73.217.14
808 Domain
7.4.33
bestseocompany
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
usr /
lib /
fm-agent /
plugins /
[ HOME SHELL ]
Name
Size
Permission
Action
__pycache__
[ DIR ]
drwxr-xr-x
__init__.py
0
B
-rw-r--r--
apache.py
20.07
KB
-rw-r--r--
apache_kafka.py
13.66
KB
-rw-r--r--
apache_zookeeper.py
6.34
KB
-rw-r--r--
bandwidth.py
22.59
KB
-rw-r--r--
cassandra.py
9.46
KB
-rw-r--r--
cert.py
2.89
KB
-rw-r--r--
couch.py
9.56
KB
-rw-r--r--
cpu_usage.py
32.09
KB
-rw-r--r--
dem_plugin.py
7.48
KB
-rw-r--r--
disk.py
16.8
KB
-rw-r--r--
docker.py
38.95
KB
-rw-r--r--
elasticsearch.py
2.9
KB
-rw-r--r--
entropy.py
930
B
-rw-r--r--
exim.py
1
KB
-rw-r--r--
file_presence.py
5.07
KB
-rw-r--r--
fortisase_connection.py
6.99
KB
-rw-r--r--
haproxy.py
13.46
KB
-rw-r--r--
io_stats.py
13.39
KB
-rw-r--r--
jboss.py
13.66
KB
-rw-r--r--
jmx.py
8.39
KB
-rw-r--r--
linux_logs.py
3.34
KB
-rw-r--r--
lm_sensors.py
2.54
KB
-rw-r--r--
logstash_forwarder.py
1.64
KB
-rw-r--r--
memcache.py
6.04
KB
-rw-r--r--
memory_usage.py
26.56
KB
-rw-r--r--
mongo.py
16.61
KB
-rw-r--r--
mysql.py
20.4
KB
-rw-r--r--
nagios.py
5.58
KB
-rw-r--r--
nginx.py
12.33
KB
-rw-r--r--
nodejs.py
6.44
KB
-rw-r--r--
ntp.py
1.98
KB
-rw-r--r--
opcache.py
2.3
KB
-rw-r--r--
oracle.py
15.6
KB
-rw-r--r--
package_upgrade.py
8.88
KB
-rw-r--r--
phpfpm.py
5.61
KB
-rw-r--r--
ping.py
2.6
KB
-rw-r--r--
postfix.py
1.99
KB
-rw-r--r--
postgresql.py
21.37
KB
-rw-r--r--
process.py
17.23
KB
-rw-r--r--
rabbitmq.py
19.85
KB
-rw-r--r--
redis.py
11.31
KB
-rw-r--r--
sendmail.py
2.42
KB
-rw-r--r--
sysctl.py
1.42
KB
-rw-r--r--
tcp.py
6.59
KB
-rw-r--r--
template.py
3.28
KB
-rw-r--r--
tomcat.py
7.09
KB
-rw-r--r--
tomcat_jmx.py
19.11
KB
-rw-r--r--
unbound_dns.py
4.62
KB
-rw-r--r--
uptime.py
3.61
KB
-rw-r--r--
users.py
1.09
KB
-rw-r--r--
uwsgi.py
4.73
KB
-rw-r--r--
varnish.py
4.91
KB
-rw-r--r--
weblogic.py
13.84
KB
-rw-r--r--
weblogic12c.py
19.2
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : lm_sensors.py
import agent_util import sys import os import platform from agent_util import float def build_sensor_dict(): cmd = """sensors -u""" ret, out = agent_util.execute_command(cmd) lines = out.splitlines() current_sensor_package = "" current_sensor = "" sensors_dict = {} for l in lines: l = l.lower() if not l or l == "" or "adapter" in l: continue if ":" in l: if not l or l == "" or "crit" in l or "max" in l: continue line = l.strip().split(":") if not line[1]: current_sensor = line[0].replace(" ", "_") else: sens_type = "temperature" if "fan" in current_sensor: sens_type = "fan_speed" textkey = "%s.%s.%s" % (current_sensor_package, current_sensor, line[0]) if sens_type not in sensors_dict: sensors_dict[sens_type] = {} sensors_dict[sens_type][textkey] = float(line[1]) else: current_sensor_package = l return sensors_dict class LMSensorsPlugin(agent_util.Plugin): textkey = "lm_sensors" label = "Hardware Sensors" @classmethod def get_metadata(self, config): status = agent_util.SUPPORTED msg = None if not agent_util.which("sensors", exc=False): self.log.info("lm_sensors binary not found") status = agent_util.UNSUPPORTED msg = "lm_sensors binary not found" return {} sensors = build_sensor_dict() self.log.debug("Found sensor data:\n%s" % sensors) data = {} if "temperature" in sensors.keys(): temp_options = sorted(sensors["temperature"].keys()) data["temperature"] = { "label": "Sensor temperature", "options": temp_options, "status": status, "error_message": msg, "unit": "Celsius", } if "fan_speed" in sensors.keys(): fan_options = sorted(sensors["fan_speed"].keys()) data["fan_speed"] = { "label": "Fan speed", "options": fan_options, "status": status, "error_message": msg, "unit": "RPM", } return data def check(self, textkey, option, config): sensors = build_sensor_dict() value = sensors.get(textkey, {}).get(option) if value == None: return None return float(value)
Close