Hello There, Guest! Login Register
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

sendemail ERROR => You must specify a 'from' field! Try --help.

#37
Hi Robbie,

I may be totally off track here, but while investigating this on  my system I came across the following in the nagios.log file after I rebooted NEMS:


Code:
[1517158341] Successfully shutdown... (PID=1578)
[1517158343] livestatus: Socket thread has terminated
[1517158343] Event broker module '/usr/lib/mk-livestatus-1.2.8p13/src/livestatus.o' deinitialized successfully
.
[1517158389] Error: NULL variable value - Line 11 of resource file '/etc/nagios3/resource.cfg'  <<<<=========
[1517158389] Nagios 3.5.1 starting... (PID=1445)


Now in my resource.cfg file, line 11 (if I also count the comment lines) is $USER3$ which in my case is blank as is the following line $USER4$.
$USER13$ and $USER14$ are also blank.

Could it be that nagios starts reading the resource file and crashes on the first NULL value and stops reading, because the next line is $USER5$ which is the 'From' address, so that would not be picked up, resulting in the error that we have...

BR
 
Messages In This Thread
sendemail ERROR => You must specify a 'from' field! Try --help. - by gunkl - 12-20-2017, 03:30 AM
RE: sendemail ERROR => You must specify a 'from' field! Try --help. - by Robbie Ferguson - 12-20-2017, 09:30 AM
RE: sendemail ERROR => You must specify a 'from' field! Try --help. - by Robbie Ferguson - 12-20-2017, 09:37 AM
RE: sendemail ERROR => You must specify a 'from' field! Try --help. - by gunkl - 12-22-2017, 11:33 AM
RE: sendemail ERROR => You must specify a 'from' field! Try --help. - by Robbie Ferguson - 12-22-2017, 11:35 AM
RE: sendemail ERROR => You must specify a 'from' field! Try --help. - by gunkl - 12-22-2017, 12:23 PM
RE: sendemail ERROR => You must specify a 'from' field! Try --help. - by Robbie Ferguson - 12-22-2017, 12:47 PM
RE: sendemail ERROR => You must specify a 'from' field! Try --help. - by vlamke - 01-14-2018, 04:37 AM
RE: sendemail ERROR => You must specify a 'from' field! Try --help. - by Alerty - 01-15-2018, 12:49 AM
RE: sendemail ERROR => You must specify a 'from' field! Try --help. - by Robbie Ferguson - 01-17-2018, 10:21 AM
RE: sendemail ERROR => You must specify a 'from' field! Try --help. - by Robbie Ferguson - 01-20-2018, 06:47 PM
RE: sendemail ERROR => You must specify a 'from' field! Try --help. - by baggins - 01-21-2018, 05:22 AM
RE: sendemail ERROR => You must specify a 'from' field! Try --help. - by Alerty - 01-21-2018, 02:03 PM
RE: sendemail ERROR => You must specify a 'from' field! Try --help. - by Robbie Ferguson - 01-21-2018, 07:55 PM
RE: sendemail ERROR => You must specify a 'from' field! Try --help. - by Alerty - 01-22-2018, 12:18 AM
RE: sendemail ERROR => You must specify a 'from' field! Try --help. - by Robbie Ferguson - 01-22-2018, 09:57 AM
RE: sendemail ERROR => You must specify a 'from' field! Try --help. - by Robbie Ferguson - 01-22-2018, 09:59 AM
RE: sendemail ERROR => You must specify a 'from' field! Try --help. - by baggins - 01-22-2018, 12:09 PM
RE: sendemail ERROR => You must specify a 'from' field! Try --help. - by Robbie Ferguson - 01-22-2018, 02:22 PM
RE: sendemail ERROR => You must specify a 'from' field! Try --help. - by Robbie Ferguson - 01-22-2018, 02:59 PM
RE: sendemail ERROR => You must specify a 'from' field! Try --help. - by baggins - 01-22-2018, 05:56 PM
RE: sendemail ERROR => You must specify a 'from' field! Try --help. - by Robbie Ferguson - 01-22-2018, 06:01 PM
RE: sendemail ERROR => You must specify a 'from' field! Try --help. - by baggins - 01-22-2018, 07:05 PM
RE: sendemail ERROR => You must specify a 'from' field! Try --help. - by Robbie Ferguson - 01-23-2018, 01:32 PM
RE: sendemail ERROR => You must specify a 'from' field! Try --help. - by Robbie Ferguson - 01-23-2018, 02:06 PM
RE: sendemail ERROR => You must specify a 'from' field! Try --help. - by baggins - 01-23-2018, 02:54 PM
RE: sendemail ERROR => You must specify a 'from' field! Try --help. - by Robbie Ferguson - 01-23-2018, 10:26 PM
RE: sendemail ERROR => You must specify a 'from' field! Try --help. - by Alerty - 01-23-2018, 10:38 PM
RE: sendemail ERROR => You must specify a 'from' field! Try --help. - by Robbie Ferguson - 01-23-2018, 10:42 PM
RE: sendemail ERROR => You must specify a 'from' field! Try --help. - by Alerty - 01-23-2018, 11:36 PM
RE: sendemail ERROR => You must specify a 'from' field! Try --help. - by baggins - 01-24-2018, 04:51 AM
RE: sendemail ERROR => You must specify a 'from' field! Try --help. - by Robbie Ferguson - 01-24-2018, 09:12 AM
RE: sendemail ERROR => You must specify a 'from' field! Try --help. - by norbertooka - 01-28-2018, 09:46 AM
RE: sendemail ERROR => You must specify a 'from' field! Try --help. - by Robbie Ferguson - 01-28-2018, 11:10 AM
RE: sendemail ERROR => You must specify a 'from' field! Try --help. - by Robbie Ferguson - 01-28-2018, 11:16 AM
RE: sendemail ERROR => You must specify a 'from' field! Try --help. - by Robbie Ferguson - 01-28-2018, 12:55 PM
RE: sendemail ERROR => You must specify a 'from' field! Try --help. - by baggins - 01-28-2018, 02:05 PM
RE: sendemail ERROR => You must specify a 'from' field! Try --help. - by Robbie Ferguson - 01-28-2018, 04:27 PM
RE: sendemail ERROR => You must specify a 'from' field! Try --help. - by Robbie Ferguson - 01-28-2018, 04:40 PM
RE: sendemail ERROR => You must specify a 'from' field! Try --help. - by Robbie Ferguson - 01-28-2018, 04:51 PM
RE: sendemail ERROR => You must specify a 'from' field! Try --help. - by eejit - 01-28-2018, 05:20 PM
RE: sendemail ERROR => You must specify a 'from' field! Try --help. - by baggins - 01-28-2018, 05:46 PM
RE: sendemail ERROR => You must specify a 'from' field! Try --help. - by Robbie Ferguson - 01-28-2018, 05:58 PM
RE: sendemail ERROR => You must specify a 'from' field! Try --help. - by baggins - 01-28-2018, 06:01 PM
RE: sendemail ERROR => You must specify a 'from' field! Try --help. - by Robbie Ferguson - 01-28-2018, 07:52 PM
RE: sendemail ERROR => You must specify a 'from' field! Try --help. - by Robbie Ferguson - 01-28-2018, 10:07 PM
RE: sendemail ERROR => You must specify a 'from' field! Try --help. - by BrendonKoz - 01-31-2018, 01:48 PM
RE: sendemail ERROR => You must specify a 'from' field! Try --help. - by Robbie Ferguson - 01-31-2018, 02:35 PM
RE: sendemail ERROR => You must specify a 'from' field! Try --help. - by BrendonKoz - 01-31-2018, 03:57 PM
RE: sendemail ERROR => You must specify a 'from' field! Try --help. - by Robbie Ferguson - 01-31-2018, 05:11 PM
RE: sendemail ERROR => You must specify a 'from' field! Try --help. - by Robbie Ferguson - 06-21-2018, 02:35 PM
RE: sendemail ERROR => You must specify a 'from' field! Try --help. - by xtreme010 - 09-05-2018, 07:06 AM
RE: sendemail ERROR => You must specify a 'from' field! Try --help. - by Robbie Ferguson - 09-05-2018, 08:04 AM
RE: sendemail ERROR => You must specify a 'from' field! Try --help. - by xtreme010 - 09-05-2018, 10:13 AM
RE: sendemail ERROR => You must specify a 'from' field! Try --help. - by Robbie Ferguson - 09-05-2018, 10:48 AM
RE: sendemail ERROR => You must specify a 'from' field! Try --help. - by xtreme010 - 09-05-2018, 11:00 AM
RE: sendemail ERROR => You must specify a 'from' field! Try --help. - by xtreme010 - 09-05-2018, 11:01 AM
RE: sendemail ERROR => You must specify a 'from' field! Try --help. - by Robbie Ferguson - 09-05-2018, 11:22 AM
RE: sendemail ERROR => You must specify a 'from' field! Try --help. - by Robbie Ferguson - 09-05-2018, 12:48 PM
RE: sendemail ERROR => You must specify a 'from' field! Try --help. - by xtreme010 - 09-05-2018, 01:18 PM
RE: sendemail ERROR => You must specify a 'from' field! Try --help. - by Robbie Ferguson - 09-06-2018, 09:53 AM
RE: sendemail ERROR => You must specify a 'from' field! Try --help. - by xtreme010 - 09-11-2018, 03:24 AM
RE: sendemail ERROR => You must specify a 'from' field! Try --help. - by Robbie Ferguson - 09-11-2018, 12:44 PM
RE: sendemail ERROR => You must specify a 'from' field! Try --help. - by xtreme010 - 09-12-2018, 04:13 AM
RE: sendemail ERROR => You must specify a 'from' field! Try --help. - by Robbie Ferguson - 09-12-2018, 12:50 PM
 
Forum Jump:

Users browsing this thread: 1 Guest(s)