Skip to main content
Released

[os::linux::local::plugin] Calculated value of the max open files and percentage thresholds in "open-files" mode

Related products:Infra Monitoring - Connectors
  • Nov 21, 2023 10:22 AM UTC
  • 9 replies
  • 94 views

Aleksey
Forum|alt.badge.img+6

Hello.

Now the "open-files" mode assumes that we must set the threshold values statically.
Please make a small improvement to this mode.

We can get the system open file threshold with the command cat /proc/sys/fs/nr_open
This value can be set to default as the maximum if not explicitly set.
This will add convenient percentage WARN/CRIT thresholds.

PS: https://github.com/centreon/centreon-plugins/issues/3969

 

9 replies

rchauvel
Centreonian
Forum|alt.badge.img+18
  • Centreonian
  • Dec 1, 2023 1:23 PM UTC
New→Discussion ongoing

omercier
Centreonian
Forum|alt.badge.img+15
  • Centreonian
  • Jan 26, 2024 2:16 PM UTC

Hi @Aleksey,

According to the discussion on github and what I can find in the doc, the /proc/sys/fs/nr_open file gives the maximum number of open files per process.

So if you want to take advantage of this information, I suggest you to rephrase your idea to apply it to processes monitoring, not to open-files. I find preferable to add a metric to the process monitoring mode rather than adding the notion of processes in the open-files monitoring mode.

 


Aleksey
Forum|alt.badge.img+6
  • Author
  • Builder *
  • Jan 30, 2024 11:03 AM UTC

Perhaps you are right and it is better to add a check for open files for each process in the "process" mode. But I don't see any option to rename the idea ("open-files" -> "process") on this site.


omercier
Centreonian
Forum|alt.badge.img+15
  • Centreonian
  • Jan 30, 2024 1:53 PM UTC

Ok, no problem.


rchauvel
Centreonian
Forum|alt.badge.img+18
  • Centreonian
  • Feb 12, 2024 3:33 PM UTC
Discussion ongoing→Needs Votes

Forum|alt.badge.img+5
  • Centreonian
  • Jun 12, 2024 4:06 PM UTC
Needs Votes→In Backlog

Forum|alt.badge.img+5
  • Centreonian
  • Oct 15, 2025 7:45 AM UTC
In Backlog→Planned

ltirand
Centreonian
Forum|alt.badge.img+13
  • Centreonian
  • Nov 13, 2026 8:19 AM UTC

Hello :)

This idea was released in 

Best regards.


Forum|alt.badge.img+5
  • Centreonian
  • Nov 13, 2026 8:19 AM UTC
Updated idea statusPlanned→Released