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?
Thanks!
fabrossi
 
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

Hi,

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.).

Thanks,
Benjamin
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
benjaminsmith
 
Posts: 5241
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul


Return to Community Support

Who is online

Users browsing this forum: No registered users and 8 guests