Questions tagged [monitoring]
Applications or appliances that observe machines, systems and networks to find problems and notify administrators.
2,464
questions
0
votes
1
answer
134
views
send a get request to url in monit (linux)
I'm trying to find out when a file size increase stops and then sends a GET request to some URL.
already added this conf in
/etc/monit/monitrc
check file file.log with path /home/projects/my_project/...
0
votes
1
answer
115
views
How to find usage (memory) of databases inside a Google CloudSQL instance?
I run multiple databases inside a single CloudSQL instance. My problem is that I cannot get monitoring insights at the individual database level. For example, if I want to know how much memory a ...
-1
votes
1
answer
31
views
How to monitor web servers by checking their availability and integrity?
Good morning,
My objective is therefore to monitor several web servers and ensure that each one is UP, available, but also to verify that they have not been victims of attacks.
The idea is to find ...
-1
votes
1
answer
221
views
Monitor Services and Event Logs on Windows Servers
We are standing up a new environment and will be installing SIEM tools, etc. in the future.
We have a few dozen Windows 2019 servers so far. I've been tasked with providing a solution for monitoring ...
1
vote
0
answers
99
views
aws guardduty some alerts won't notify on slack
I have recently setup aws guardduty with slack notification using this guide right https://medium.com/@damitj07/how-to-create-a-slack-alert-for-guardduty-49d542927529, there were a few issues with the ...
0
votes
1
answer
622
views
How to monitor systemd?
I am looking for a way to monitor systemd services: Basic things such as whether they are running or not is a good start (and anything else on top is a bonus).
I tried using node_exporter, but since I ...
0
votes
0
answers
1k
views
Monitor disk I/O with zabbix
I'm running both zabbix 5.0.30 and zabbix agent 5.0.30 on Centos 7
In Centos 7 server, I executed this command
[root@STG-front default]# iostat -d sda
Linux 3.10.0-862.el7.x86_64 (STG-front) 01/09/...
0
votes
1
answer
5k
views
Warning: atop.service changed on disk. Run 'systemctl daemon-reload' to reload units [closed]
I was trying to change the atop log interval on CentOS 7 cPanel server from 600 to 60 seconds and tried editing the file /etc/system/system/multi-user.target.wants/atop.service (Environment="...
2
votes
0
answers
4k
views
Explain of OOM killer logs
I have a question about the OOM killer logs. We are expecting a lot of OOM kills.
The ecosystem
My ecosystem looks like below:
I have a server with 4 cores and 8 GB of RAM.
I am running there the ...
1
vote
0
answers
2k
views
Obtain statistics of CPU and memory usage from one cgroup
Context
I have a system in which I have to check periodically usage:
relative (percents) for CPU
and absolute (GB) for memory.
How it's currently implemented
Language we're using is python.
system-...
0
votes
0
answers
220
views
PRTG PowerShell Remoting Requirements for Custom EXE/Script Advanced Sensor
I've created a script for checking the TLS certificate assigned to an SMTP Relay server which supports SMTPS. The code is available here if that's of interest.
The documentation says that powershell ...
1
vote
1
answer
256
views
Pink in memory htop
What does the pink color in memory htop means and how can I reset it?
You can see example here:
htop preview
-1
votes
1
answer
830
views
Can Wazuh work for a single agent with less than the stated minimum hardware requirements?
I was surprised to find that the Wazuh server requirements state 2gb and 2 cores are the minimum requirements - but I wonder how much these numbers are tailored towards supporting multiple agents.
Is ...
1
vote
1
answer
193
views
Monit: Editing in-built alert text
i have the monit tool setup on a linux box, and it's been monitoring apache and the overall system for a few months. The apache config file is:
check process apache with pidfile /var/run/httpd/httpd....
1
vote
0
answers
208
views
How to monitor specific NGINX error codes with Logwatch
I've just started implementing NGINX rate limiting, and need to monitor when rate limiting is actually happening on a server. I found out Logwatch will send daily logs by email which sounds perfect. ...
1
vote
0
answers
134
views
Linux Auditd monitoring of file operations in mounted folder
I have multi node kubernetes cluster and I would like to monitor file operations that are made by containers in mounted persistent volume.
I found the all PV data are located at nodes in /var/lib/...
0
votes
1
answer
1k
views
Zabbix how to monitor multiple databases server on one host?
I am new to zabbix and I am trying to monitor multiple mysql databases.
I have one server with two docker container that each have one mysql database.
To monitor the first database I used the MySQL by ...
2
votes
1
answer
2k
views
How to perform healthcheck on NFS clients connectivity from the NFS-Server?
I have three Debian 11 servers let's call them nfs-server which is the NFS server, nfs1, and nfs2 which are the NFS clients.
I want to perform some sort of health check from the NFS server to ensure ...
0
votes
1
answer
112
views
Ansible security best practices for monitoring
I have several servers at home. I would like to have one computer that will monitor activity on those and notice me if something is wrong. For that reason I install ansible there. In order to have ...
2
votes
2
answers
1k
views
How to get cpu hardware id on Android systems?
I need get CPU voltage and temperature from /sys/class/hwmon but need find the CPU ID to find the correct directory, by example:
$ ll /sys/class/hwmon/hwmon2/device
lrwxrwxrwx 1 root root 0 sep 3 13:...
1
vote
3
answers
3k
views
How to monitor memory usage continuously with Linux?
I have a daemon service application runing a Ubuntu server(20.04.1).
The total phisical memory is 2G, and the swap space is 4G.
Sometime my service was killed by OS quietly, eventhough I add ...
0
votes
0
answers
61
views
Apache mod_status, full machne readable details
Apache's mod_status (i.e /server-status) outputs HTML, including what HTTP clients are accessing what thing right now. There is a text format (/server-status?auto), but that doesn't include the ...
0
votes
2
answers
210
views
How do i use the mail CLI? [closed]
I want to make a simple bash script that curls websites and sends out an email if the HTTP_Code is above 299.
I am not very fond of the mail CLI tool. I want to use a SMTP Server to send the ...
0
votes
0
answers
126
views
Monitoring tool for remote borg repository
I am currently using Borg Backup which is connected to a remote repository hosted in Hetzner. Borg is being run daily via cron. While I place some log files to see if backup is working, I would like ...
1
vote
1
answer
137
views
How to filter by service groups in the monit web frontend?
Monit has a feature called "service groups" (https://mmonit.com/monit/documentation/monit.html#SERVICE-GROUPS). It allows you to filter by groups using the CLI. But is it possible to use ...
0
votes
2
answers
51
views
How do you limit Exceptions loggings in production
First, please note this might be a JavaScript question, on Node or on the browser, or a Ruby question, whether logging is in files or to the database, etcetera.
This is why I'm asking in serverfault; ...
0
votes
1
answer
117
views
Zabbix Server configuration Inquiry
I hope I’m posting in the right place. So, I have a question. I’m trying to set up a simple network monitor (Zabbix) in VirtualBox to monitor the hosting machine. I have everything set up, but the ...
0
votes
1
answer
347
views
Monitor free space with monit ... but only if the folder is mounted
For my backup, external disk space is mounted via cronjob as /mnt/backup on a Ubuntu machine every night. When the backup is complete, the disk is unmounted. No need to expose the backup drive to ...
0
votes
1
answer
746
views
Monitor session duration on AWS Cognito
I am using AWS Amplify to host an Angular application and using Cognito user pool. I have created a dashboard on Amazon Quicksight for BI purposes. One of the metrics that I want to monitor is how ...
0
votes
1
answer
166
views
How can I get an alert me if ping is not sent from windows service I created?
Let me explain the problem. I created a windows service that should run a method every minute, but it seems to fail at random times for an unknown reason. The application doesn't crash but some how a ...
0
votes
2
answers
1k
views
Can't find Amplify access logs in CloudWatch log groups
I'm creating a CloudWatch dashboard and I want to monitor Amplify access logs beside other metrics. I can find the access logs inside the Amplify dashboard (Screenshot below) but I can't find the same ...
0
votes
1
answer
265
views
Need help configuring SOF-ELK Sans to parse IIS W3C logs
How can I get the SOF-ELK VM to inject the IIS logs like the httpd logs. Here are my filebeats yml configs:
/etc/filebeat/filebeat.yml
filebeat.config.inputs:
enabled: true
path: /usr/local/sof-...
0
votes
3
answers
1k
views
How to see which ports a process is using?
While testing our software, a large corporate customer was able to detect the third-party licensing software using port 137.
Up until this point we have only been aware of the license software using ...
-1
votes
1
answer
348
views
Is there a way to monitor remotly multiple windows server for hardware performance? [closed]
We have 5 server installed as VM with "Windows Server 2016" on VMWware. These servers are configured as RDS, means multiple users are working on it. Users which are connected on these ...
1
vote
3
answers
1k
views
How to monitor outbound bandwidth usage in Linux?
Currently I use vnstat to monitor my bandwidth usage. What I want to achieve is to get data for making the decision whether to stay in a more expensive but unlimited cable based plan, or to switch to ...
3
votes
1
answer
3k
views
Set INFO/ERROR priority for messages logged to journal via stdout and stderr?
We have many production apps (first and third-party) that leave logging up to the process that runs the app and just log to stdout for INFO and stderr for ERROR logs (ie only 2 log priorities: INFO|...
1
vote
1
answer
2k
views
How to get hard disk status from RAID with SmartCTL for monitoring purposes?
I have a FreeBSD with a RAID running 3 Hard Disks.
I was given the challenge to monitor its RAID - If a hard disk fails or it presents some problem i need to know.
So, the first thing i am doing right ...
0
votes
1
answer
302
views
nagios-nrpe-server output different vs running locally
To be sure I don't have any double definition of the command, I created a new debug command name in the nrpe config
/etc/nagios/nrpe.d # grep -R debug
debug.cfg:command[debug_check_disks]=/usr/lib/...
0
votes
1
answer
3k
views
Debug Prometheus Blackbox Exporter http_2xx probs
We are using the Prometheus Blackbox Exporter (blackbox_exporter, version 0.19.0) to check HTTP endpoints.
Now we need to implement a check with the fail_if_body_matches_regexp.
The check should ...
0
votes
1
answer
470
views
Is there a tool to check and manage file permissions?
I developed a set of rules for file and directory owner and permissions for our company server. E.g.:
Projects/: permission 750, owner root, group internal
Projects/* (directories): permission 2770, ...
1
vote
1
answer
71
views
Possible exposable asset type on Google Cloud
One of the ways to secure a cloud environment is to monitor all of the assets that we have. Recently, I made a script to get information regarding those assets by using GCP API, but I need to do it ...
0
votes
1
answer
1k
views
Can you turn off Exchange transport certificate expiration warnings (event 12017)
For the last few days, the system log on our Exchange server has been filled with "errors" like the following:
Error 1/14/2022 2:15:10 PM MSExchangeFrontEndTransport 12017 ...
0
votes
0
answers
1k
views
Kafka: monitoring length of queues / topics
We have several producers and several consumers connected via Kafka - basically, it's batch processing jobs that are created on demand, placed on Kafka in several queues, and the batch processors pick ...
1
vote
0
answers
104
views
Monitor website (http) not accesible via webmin (server status tool)
I am trying to workout how to test that a site is inaccesible with webmin's tools... System and server status.
This is... an URL that should not be accesible to anyone except certain IPs or an http ...
0
votes
1
answer
1k
views
Create a zabbix alert for a numeric value in a file
I am a newbie in zabbix,
I created a script in linux and it will create a file that has a value on it. The data in a file has only one value / number .
For example.
/home/testuser/textfile.txt
If you ...
0
votes
1
answer
50
views
Is there any monitoring tools to create scenarios/dependencies check? [closed]
My team and I got the project to test a new monitoring solution that allow us to :
Perform classical monitoring checks (through SNMP, ping, sensor status, vendor librairies etc...)
Perform checks in ...
0
votes
2
answers
2k
views
Monit restart process behavior
Monit's documentation states the following for the restart action :
RESTART restarts the service and send an alert. Restart is performed
by calling the service's registered restart method or by first ...
0
votes
0
answers
43
views
Is there any NATIVE disk monitoring solution for storage in Azure VMs?
I have done plenty of digging, but it looks like this may be a shortcoming in Azure. I cannot find a native solution in the Azure portal to tell me when VMs are running low on disk space. What if I ...
0
votes
3
answers
371
views
Lightweight Linux tools for on-demand performance monitoring during load testing?
I'm tasked with testing out ProxySQL on a couple of Tomcat test servers, comparing its performance and resource utilization with the current Apache DBCP connection pooling. I've got a rough load ...
0
votes
1
answer
904
views
Comparision trigger in Zabbix
I got two items created for showing certain values. One of them is shoving value from today and the other one from week ago. How can I create trigger that compares them and alert when one of them is ...