Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Hello, after looking for some plugins I have not been able to add to monitoring the monitoring of a specific process in MB. I want to receive a "warning" and "critical" alert to a certain amount of megas consumed. Can someone help me?
for example that process I want to monitor and inform me alerts to a certain amount of megas consumed
forgive my ignorance, but to bring this to "define services (check_command ?????" in the cfg as it should be. Besides adding in "commands.cfg" the define commands? Attentive. Thank you
The token is like a password or community string (in SNMP). It is used to authenticate when accessing the API. It is defined in the ncpa.cfg file. You can read more about NCPA and how to configure it here:
You check is working now, so all you need to do is adjust the warning and critical thresholds to fit your needs, and restart nagios, so that changes can take effect.
One thing I noticed though - in your service definition, you have check_interval = 0.1, which means that you would like this check to run every 6 seconds! Do you really want to do this? Having a check run on a less than 1 min interval is not a good idea. This will put an extra load to the system with almost no added benefit. I would recommend that you don't use decimals, when defining the check_interval, retry_interval, and notification_interval.
Let us if you have any more questions, and if it is ok to lock this topic. Thank you!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Hi, thanks for the check_interval I'm clear about that, but even so I need that to be in "almost" real time. In my company the IT department adapted a logistics software for sales and it is a real disgust the worst thing I have seen in my life so I am analyzing each cpu upload in real time and other details that can contribute to the solution (the only solution that I see in me is that the company hires real computer hahaha). Please close the thread, I am very grateful for your help a hug to the distance ...
lmiltchev wrote:I am glad I could help!
You check is working now, so all you need to do is adjust the warning and critical thresholds to fit your needs, and restart nagios, so that changes can take effect.
One thing I noticed though - in your service definition, you have check_interval = 0.1, which means that you would like this check to run every 6 seconds! Do you really want to do this? Having a check run on a less than 1 min interval is not a good idea. This will put an extra load to the system with almost no added benefit. I would recommend that you don't use decimals, when defining the check_interval, retry_interval, and notification_interval.
Let us if you have any more questions, and if it is ok to lock this topic. Thank you!