Hi team
we are using check_memory plugin in Linux servers and we do not see graphs for the data.
The memory plugins for windows and unix (check_mem.pl) doesn't have any issues and graphs also working in those.
Can you please let us know what needs to be done to resolve this.we need graphs for the data in Linux servers.
Also we observed the data is visible only from 12:00am to 3:00am. while the checks are mentioned for 24*7.
Is this standard patter
11-02-2013 00:00:00 11-02-2013 00:47:14 0d 0h 47m 14s SERVICE OK (HARD) Memory OK. 4% used.
11-03-2013 00:00:00 11-03-2013 03:40:26 0d 4h 40m 26s SERVICE OK (HARD) Memory OK. 4% used.
Issue with memory plugin on linux clients
Re: Issue with memory plugin on linux clients
Can you show the actual command ran from the CLI, and the output of it?
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Issue with memory plugin on linux clients
$ /usr/local/nagios/libexec/check_memory -w 85 -c 90
Memory OK. 4% used.
$
Memory OK. 4% used.
$
Re: Issue with memory plugin on linux clients
Not all plugins return perfdata. I don't see a pipe and anything after it in the output, which indicates that this plugin doesn't return perfdata. Usually, you would see something like this:
Can you provide us with the download link to this plugin, so that we can test it?WARNING - 87.5% (901380 kB) used!|TOTAL=1030684KB;;;; USED=901380KB;;;; FREE=129304KB;;;; CACHES=479552KB;;;;
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Issue with memory plugin on linux clients
We are using the attached script.
Not sure from where we downloaded we are using since long time.
Please suggest if it is wrong. Also can you suggest any recommended plugin from nagios to make memory work along with graphs.
Not sure from where we downloaded we are using since long time.
Please suggest if it is wrong. Also can you suggest any recommended plugin from nagios to make memory work along with graphs.
You do not have the required permissions to view the files attached to this post.
Re: Issue with memory plugin on linux clients
This plugin doesn't return perfdata. There is a variety of pluings on the Nagios Exchange for monitoring memory on Linux servers, that do return perfdata. You will need to decide which one will fit your needs. Here's one - check_mem.sh (just an example) that you can probably use:
http://exchange.nagios.org/directory/Pl ... sh/details
http://exchange.nagios.org/directory/Pl ... sh/details
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Issue with memory plugin on linux clients
Yes this worked thank you very much for your help.
Also can you suggest a similar plugin for cpu checks in Linux which is compatible with graphs.
Also can you suggest a similar plugin for cpu checks in Linux which is compatible with graphs.
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Issue with memory plugin on linux clients
What are you currently using to check the CPU on your remote systems? Are you using the standard NRPE CPU check?
Re: Issue with memory plugin on linux clients
We are used the attached plugin to check the CPU utilization but getting error
$ ./check_cpu.sh -v
-ksh: ./check_cpu.sh: not found [No such file or directory]
$ ./check_cpu.sh -v
-ksh: ./check_cpu.sh: not found [No such file or directory]
You do not have the required permissions to view the files attached to this post.
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Issue with memory plugin on linux clients
I'd recommend using:
http://exchange.nagios.org/directory/Pl ... sh/details
You will also need to make sure the iostat package is installed on the linux system.
http://exchange.nagios.org/directory/Pl ... sh/details
You will also need to make sure the iostat package is installed on the linux system.