Search found 20 matches

by ericosman
Thu Dec 18, 2014 3:45 am
Forum: Open Source Nagios Projects
Topic: Nagios password enforcement
Replies: 1
Views: 953

Nagios password enforcement

Hi,

Is is possible to let Nagios users have only stong passwords?
So it will not be able to have
abc123
but it has to be to like
Q28fjF#%
?
by ericosman
Thu Nov 27, 2014 2:23 am
Forum: Open Source Nagios Projects
Topic: Nagios HTML mail
Replies: 21
Views: 11667

Re: Nagios HTML mail

Nagios still wont sent mails to me but whenn i execute them in terminal i recive an mail... Were you running it as user nagios? Can you post the command definitions you are using? Now edit the nagios/etc/objects/command.cfg and replace the [notify-service-by-email] block with the following Block......
by ericosman
Wed Nov 26, 2014 9:04 am
Forum: Open Source Nagios Projects
Topic: Nagios HTML mail
Replies: 21
Views: 11667

Re: Nagios HTML mail

i'm back :) This time with : http://exchange.nagios.org/directory/Addons/Notifications/Send-HTML-Alert-Email-v2/details I could not find the libexec folder so i created a folder in my nagios folder called htmlmail. Chmodd it to 777 with the files in it . Nagios still wont sent mails to me but whenn ...
by ericosman
Wed Nov 19, 2014 5:32 am
Forum: Open Source Nagios Projects
Topic: Nagios HTML mail
Replies: 21
Views: 11667

Re: Nagios HTML mail

Whenn i try this : [root@Nagios objects]# nagios-html-email -a service service i get this : To: service Reply-To: service Subject: undefined - undefined undefined Content-Type: text/html template /usr/lib/node_modules/nagios-html-email/templates/service.html.ejs error: ejs:32 30| <html> 31| <body> >...
by ericosman
Tue Nov 18, 2014 2:27 am
Forum: Open Source Nagios Projects
Topic: Nagios HTML mail
Replies: 21
Views: 11667

Re: Nagios HTML mail

Hi,

I need to add the | mailx -t ( otherwise it wont sent anything ) but againg an empty mail
by ericosman
Mon Nov 17, 2014 5:21 am
Forum: Open Source Nagios Projects
Topic: Nagios HTML mail
Replies: 21
Views: 11667

Re: Nagios HTML mail

To correct rhassing a wee bit, I would highly suggest against setting nagios user to have a valid shell by default. "su nagios -s /bin/bash" should always be used instead to specify the shell for this user session. Regardless, it looks like the script is giving you errors not because of w...
by ericosman
Fri Nov 14, 2014 8:29 am
Forum: Open Source Nagios Projects
Topic: Nagios HTML mail
Replies: 21
Views: 11667

Re: Nagios HTML mail

I'm "logged in" as nagios bash-4.1$ nagios-html-email service http://nagios.example.com | mailx -t env NAGIOS_CONTACTEMAIL or `-a <address>` must be supplied! Usage: nagios-html-email [options] <service|host> [arg1] [arg2] ... This command is meant to be run from nagios when a service or h...
by ericosman
Fri Nov 14, 2014 7:02 am
Forum: Open Source Nagios Projects
Topic: Nagios HTML mail
Replies: 21
Views: 11667

Re: Nagios HTML mail

Code: Select all

[administrator@Nagios root]$ su nagios
Password: 
This account is currently not available.
by ericosman
Thu Nov 13, 2014 4:35 am
Forum: Open Source Nagios Projects
Topic: Nagios HTML mail
Replies: 21
Views: 11667

Re: Nagios HTML mail

abrist wrote:Can you try running the same command again as the nagios user:

Code: Select all

su nagios
nagios-html-email service http://nagios.example.com | mailx -t
Hi,

What is the standard password?
Because i cant figure it out :o
by ericosman
Tue Nov 11, 2014 5:50 am
Forum: Open Source Nagios Projects
Topic: Nagios HTML mail
Replies: 21
Views: 11667

Re: Nagios HTML mail

So i guess it cant find the email adresses? root@Nagios objects]# nagios-html-email service http://nagios.example.com | mailx -t env NAGIOS_CONTACTEMAIL or `-a <address>` must be supplied! Usage: nagios-html-email [options] <service|host> [arg1] [arg2] ... This command is meant to be run from nagios...