Search found 10 matches

by Also
Thu Jun 30, 2016 9:14 am
Forum: Open Source Nagios Projects
Topic: Mail notification problem
Replies: 13
Views: 8514

Re: Mail notification problem

I'm so sorry for the late of the answer but I have had some problems!
I solved the problem removing the parameter $USER$ and putting direct the mail and smtp in command.cfg.

This is not wonderful but works!

Many thanks for your help, this topic con be closed!
by Also
Thu Jun 23, 2016 10:38 am
Forum: Open Source Nagios Projects
Topic: Mail notification problem
Replies: 13
Views: 8514

Re: Mail notification problem

Yes, you are right! Nagios doesn't have permission to write in the sendEmail log and notification was disabled! I change the log permission and now in the log is full of: Jun 23 17:10:18 raspberrypi sendEmail[23709]: ERROR => Can't use improperly formatted email address: $ Jun 23 17:15:35 raspberryp...
by Also
Wed Jun 22, 2016 9:47 am
Forum: Open Source Nagios Projects
Topic: Mail notification problem
Replies: 13
Views: 8514

Re: Mail notification problem

Sure, here you are! contacts.cfg: ############################################################################### # CONTACTS.CFG - SAMPLE CONTACT/CONTACTGROUP DEFINITIONS # # # NOTES: This config file provides you with some example contact and contact # group definitions that you can reference in ho...
by Also
Wed Jun 22, 2016 8:17 am
Forum: Open Source Nagios Projects
Topic: Mail notification problem
Replies: 13
Views: 8514

Re: Mail notification problem

This is command.cfg: ############################################################################### # COMMANDS.CFG - SAMPLE COMMAND DEFINITIONS FOR NAGIOS 4.1.1 # # # NOTES: This config file provides you with some example command definitions # that you can reference in host, service, and contact de...
by Also
Wed Jun 22, 2016 3:43 am
Forum: Open Source Nagios Projects
Topic: Mail notification problem
Replies: 13
Views: 8514

Re: Mail notification problem

I see: No notifications have been recorded in the current log file Maybe the problem is the configuration of the host? EDIT: In the nagios.cfg I have: # NOTIFICATIONS OPTION # This determines whether or not Nagios will sent out any host or # service notifications when it is initially (re)started. # ...
by Also
Wed Jun 22, 2016 2:30 am
Forum: Open Source Nagios Projects
Topic: Mail notification problem
Replies: 13
Views: 8514

Re: Mail notification problem

I try: runuser -l nagios -c "sendEmail etc etc etc" it results in no error, but in the log ( /var/log/sendEmail ) there is nothing new, and no mail arrives.. And this is the result of the permission: ale@raspberrypi:~$ ls -al /usr/local/bin/sendEmail -rwxr-xr-x 1 root root 80231 Jun 5 00:2...
by Also
Tue Jun 21, 2016 11:07 am
Forum: Open Source Nagios Projects
Topic: Mail notification problem
Replies: 13
Views: 8514

Mail notification problem

Hi to all, all tips will be appreciated, and apologize for my bad english.. I've been setup a lot of things in Nagios, and all of them work well, but i can't send email notification, and I can't understand why.. I've installed and configured SendEmail, and if I try: sendEmail -f xxx@xxx.xx -t yyy@yy...
by Also
Thu Jun 02, 2016 2:36 pm
Forum: Open Source Nagios Projects
Topic: Monitor specific http text
Replies: 4
Views: 2852

Re: Monitor specific http text

Yes,
thanks again!
by Also
Thu Jun 02, 2016 2:28 pm
Forum: Open Source Nagios Projects
Topic: Monitor specific http text
Replies: 4
Views: 2852

Re: Monitor specific http text

Quick and perfect!
This help very much!

Thank you!!
by Also
Thu Jun 02, 2016 1:27 pm
Forum: Open Source Nagios Projects
Topic: Monitor specific http text
Replies: 4
Views: 2852

Monitor specific http text

Hi to all, all tips will be appreciated, and apologize for my bad english.. I've succesfully installed Nagios Core 4.1.1, and now I need to monitor a specif text in a specific site. I found a third party plug-in named check_http_content. I put it in /usr/lib/nagios/plugins, and if i do: ./check_http...