Closed Eldadc closed 2 years ago
I'm not sure if I understand it correctly. You mean that you are having problems to configure the module process.pm
to monitor an specific process in your server, or you mean that you are trying to create your own new module?
<process>
section of your configuration file.process.pm
doesn't do?Hi,
Thanks for the quick response. I am trying to monitor a specific process , I have edit the configuration file and add new process name to the list ,and restarted the service. I have not edit the process.pm file , since I didn't understand the propose of this file. How can I check if process is monitor ? Where Can I find a man on How to create a custom report for a specific process.
I have not edit the process.pm file , since I didn't understand the propose of this file.
You don't have to edit the process.pm
file as it is part of Monitorix code. You should only have to create your own configuration file in /etc/monitorix/conf.d/
, as stated in the FAQ.
How can I check if process is monitor ?
If you have configured correctly the <process>
section in your configuration file, you should start seeing lines plotted in the graphs in the next minutes after restarting Monitorix.
Where Can I find a man on How to create a custom report for a specific process.
What kind of custom report do you mean? please, elaborate.
Hi,
Thanks for the info , that's more clear.
Once I created my own conf.d for my processes , How Can it be reflected on a graph ?
Check this example screen shot, you should see something like this.
I can not distinguish which lines to which process in the Active process graph ? Below is an example.
<process>
section of your configuration file.Hi,
configuration file.
This syntax won't be recognized by Monitorix. Please check the log file to see if there are error messages.
Hi,
My configuration file, I did not edit the default syntax , just added new process.
<process>
<list>
0 = httpd, sshd, ntpd, mysqld, proftpd, clamd, imap, sendmail, named, smbd, processname
</list>
<desc>
httpd = Apache
imap = Dovecot
named = Bind
MyProcess = processname
</desc>
rigid = 2, 0, 0, 0, 0, 0, 0, 0
limit = 100, 1000, 1000, 1000, 1000, 1000, 1000, 1000
</process>
0 = httpd, sshd, ntpd, mysqld, proftpd, clamd, imap, sendmail, named, smbd, processname
As stated in the manpage, the maximum number of processes allowed per group is 10.
You must either create a new group (e.g: 1
) and include there your process name or substitute one of the default process names by yours.
Hi
Ok , I correct this settings. BTW I am using 3.12 version.
In your screen shot you sent , It displays a process statistics page , In my version there is no such report , just "Active processs"
Thanks
In your screen shot you sent , It displays a process statistics page , In my version there is no such report , just "Active processs"
Do I need to create such report or there is another issue un my settings ?
The screen shot I sent you was and example of the module you are setting (process.pm
). The graph called Active processes is a graph that belongs to a different module (system.pm
).
Please, read the documentation and explore all the screen shots in the web site to familiarize on how Monitorix works.
Hi,
I am sorry that I am loading you with my issue , Thanks for your patience. It seems the process statistics report doesn't exists in my report.
Thanks
I don't understand, sorry.
Following your example and what you want to have, your should create a config like this:
<list>
0 = httpd, sshd, ntpd, mysqld, proftpd, clamd, imap, sendmail, named, smbd
1 = processname
</list>
I hope that helped you.
Hi,
I have reinstalled the app , new without changing default configuration. The process satistics is missing.
Thx
On Thu, Jun 30, 2022, 5:50 PM Jordi Sanfeliu @.***> wrote:
I don't understand, sorry.
Following your example and what you want to have, your should create a config like this:
0 = httpd, sshd, ntpd, mysqld, proftpd, clamd, imap, sendmail, named, smbd 1 = processname
I hope that helped you.
— Reply to this email directly, view it on GitHub https://github.com/mikaku/Monitorix/issues/423#issuecomment-1171318106, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAVJH7M2HBPMXAG3HF5OZPLVRWXZPANCNFSM5Z5GZBDQ . You are receiving this because you authored the thread.Message ID: @.***>
I have reinstalled the app , new without changing default configuration. The process satistics is missing.
That's because the process.pm
module comes disabled by default. You need to enable it to get the graphs:
<graph_enable>
[...]
process = y
Hi,
I was struggling with configuration and some manuals on the internet but still did not manage to customize my process graph. My main goal is monitor a specific process on my server and of course to monitor it with graph and also in silently mode from my CI . I want to display my process activity in a graph , simple graph. I think my big challenge is to display a summery report on my CI server , or at least to parse a summery text file for results? Any help will be appreciated.
Thanks