On Dec 8, 2009, at 3:09 PM, ReynierPM wrote:

> Yes, I compiled without touch anything. Maybe my system has nothing installed 
> able to send emails. I've installed Postfix and configure it as Satellite but 
> I think this is just the MTA and not the program who send emails. I'm wrong? 
> How I could check this requirement?

You could use ls to see if they exist --

$ ls -l /usr/bin/printf /bin/mail
-rwxr-xr-x 1 root mail 84856 Jan  7  2007 /bin/mail
-rwxr-xr-x 1 root root 31496 Jan 21  2009 /usr/bin/printf

You could query your package system to verify if it's been installed. How to do 
so depends on your distribution. Under Redhat and clones it's --

[mpow...@noctools ~]$ rpm -q --whatprovides /usr/bin/printf
coreutils-5.97-19.el5

[mpow...@noctools ~]$ rpm -q --whatprovides /bin/mail
mailx-8.1.1-44.2.2

[mpow...@noctools ~]$ rpm -qa | egrep 'coreutils|mailx'
coreutils-5.97-19.el5
mailx-8.1.1-44.2.2

--
Marc


------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users@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

Reply via email to