Check value in a file

Engage with the community of users including those using the open source solutions.
Includes Nagios Core, Plugins, and NCPA

Check value in a file

Postby fabrossi » Wed Oct 27, 2021 8:44 am

Hello everyone!
I need help with this problem. I need to check a value in a file.
From this value I need to create an alarm with this threshold: over 60 is a warning, over 100 is critical.
I searched in the nagios exchange but I only find check_file_content but I don't need this.
Please help me?
Posts: 2
Joined: Mon Apr 29, 2019 7:48 am

Re: Check value in a file

Postby benjaminsmith » Mon Nov 08, 2021 4:48 pm


Can you post a sample of the contents of the file with the value to check? What is the structure of the file (text, XML, json...etc.).

As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Return to Community Support

Who is online

Users browsing this forum: Google [Bot], Majestic-12 [Bot] and 31 guests