check_memory does not work properly

Marco Borsani m.borsani at it.net
Tue Jul 31 15:51:48 CEST 2012


Hi all

 

 

I am using a simple plug-in to check the nagios server memory.

 

When I run it like user Nagios, it works perfectly. I see this output:

OK - free memory is 40% which is within expected threshold|
mem=40;10;5;0;100

 

When I run it with Nagios program I receive this notification:

 


..

Command:         check_local_memory

State:                   WARNING

Message:            (null)


.

 

 

Any idea ?

 

 

Marco Borsani

Unix and Monitoring Sysadmin

Technical Operations Dpt.

tel: +39 010 4310115

fax: +39 02 30130311

cell: +39 329 5953944

ITnet Srl

Società con socio unico

Direzione e Coordinamento di Libero S.r.l.

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20120731/504a8b65/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null


More information about the Users mailing list