Page 3 of 3
Re: SMTP server monitoring
Posted: Thu Oct 16, 2014 6:53 am
by adam.sage
Awesome, that fixed the host is down issue. Now, how do I fix the warning on memory usage?
Re: SMTP server monitoring
Posted: Thu Oct 16, 2014 9:20 am
by lmiltchev
Now, how do I fix the warning on memory usage?
Can you show us the actual command that you are running from the command line, along with the output of it?
Re: SMTP server monitoring
Posted: Thu Oct 16, 2014 9:42 am
by Box293
Also, can you go to the Memory Usage service and send us a screenshot of the Advanced tab.
Re: SMTP server monitoring
Posted: Thu Oct 16, 2014 2:09 pm
by adam.sage
Is this what you're looking for when you say the command? I'm just looking a the web interface of Nagios, not running commands.
define service {
host_name mg1
service_description Memory Usage
use xiwizard_nrpe_service
check_command check_nrpe!check_mem!-a '-w 20 -c 10'
max_check_attempts 5
check_interval 5
retry_interval 1
check_period xi_timeperiod_24x7
notification_interval 60
notification_period xi_timeperiod_24x7
contacts nagiosadmin
_xiwizard linux-server
register 1
}
I attached the screen shot.
Re: SMTP server monitoring
Posted: Fri Oct 17, 2014 10:25 am
by lmiltchev
What is the OS/distro of the client?
I noticed that instead of correct percentage value, you have "(%)" in the "Status Information" for this particular check. This leads me to believe you are missing a package (bc or dc; can't remember exactly which one needs to be installed on which distro).
Let me know if installing the package on the client solves your problem.
Re: SMTP server monitoring
Posted: Fri Oct 17, 2014 11:12 am
by adam.sage
bc was installed, but not dc. Looks like that fixed the issue.
Re: SMTP server monitoring
Posted: Fri Oct 17, 2014 11:24 am
by tmcdonald
Awesome! Gonna lock this one up now.