Search found 43 matches
- Thu Sep 11, 2014 4:39 am
- Forum: Open Source Nagios Projects
- Topic: [SOLVED] problem with mail notification...
- Replies: 8
- Views: 12806
Re: problem with mail notification...
Hi guys! I'm back with the solution! :) yesterday i've studied very well the maillog and marked the errors in it... Today a little voice in my mind says: "ping a domain name!" so: ping: unknown host www.google.com but: ping 8.8.8.8 works! damn the server not resolve the servers DNS address...
- Wed Sep 10, 2014 8:03 am
- Forum: Open Source Nagios Projects
- Topic: [SOLVED] problem with mail notification...
- Replies: 8
- Views: 12806
Re: problem with mail notification...
mh good, so this isn't a problem of nagios that not send mail notification... is a problem of the mail server which blocks mail notifications sent by nagios! i'll try to solve the issue... anyway it's so strange because before the notifications worked perfectly and no one has set anti-spam control o...
- Wed Sep 10, 2014 3:56 am
- Forum: Open Source Nagios Projects
- Topic: [SOLVED] problem with mail notification...
- Replies: 8
- Views: 12806
Re: problem with mail notification...
hi! and thank you for replies! To start with, we need to know the commands.cfg portion that has your notify command in it ok @eloyd this is the command.cfg : # 'notify-host-by-email' command definition define command{ command_name notify-host-by-email command_line /usr/bin/printf "%b" &quo...
- Tue Sep 09, 2014 7:12 am
- Forum: Open Source Nagios Projects
- Topic: [SOLVED] problem with mail notification...
- Replies: 8
- Views: 12806
[SOLVED] problem with mail notification...
Hi everibody! :) i have a problem with mail notification in Nagios Core Version 4.0.2 on Ubuntu Server 12.04 LTS... in my old post i had another problem with mail notification ( http://support.nagios.com/forum/viewtopic.php?f=7&t=27417&start=30 ) but the good people of this forum helps me to...
- Thu Jun 12, 2014 9:16 am
- Forum: Open Source Nagios Projects
- Topic: Remote command execution failed: Permission denied,please...
- Replies: 37
- Views: 14979
Re: Remote command execution failed: Permission denied,pleas
yeah!!!!! :) the check nagios work!!!! :) :) SERVICE ALERT: backups;Nagios Status;WARNING;SOFT;1;NAGIOS WARNING: 41 processes, status log updated 440 seconds ago [1402581740] SERVICE ALERT: backups;Nagios Status;OK;SOFT;2;NAGIOS OK: 41 processes, status log updated 156 seconds ago i'm really happy!!...
- Thu Jun 12, 2014 8:54 am
- Forum: Open Source Nagios Projects
- Topic: Remote command execution failed: Permission denied,please...
- Replies: 37
- Views: 14979
Re: Remote command execution failed: Permission denied,pleas
I'd just like to mention the security issues here - you're giving the nagios user keyed SSH access to the root account on a remote server. If anyone compromises the "nagios" account on the Nagios server, they'll also have root access to the remote server. This is really bad. Check into so...
- Thu Jun 12, 2014 8:50 am
- Forum: Open Source Nagios Projects
- Topic: Remote command execution failed: Permission denied,please...
- Replies: 37
- Views: 14979
Re: Remote command execution failed: Permission denied,pleas
Code: Select all
nagios@maestro:~$ ssh -p 2022 [email protected]
Welcome to Ubuntu 12.04.1 LTS (GNU/Linux 3.2.0-31-generic x86_64)
root@backups:~#
and then?
- Thu Jun 12, 2014 8:22 am
- Forum: Open Source Nagios Projects
- Topic: Remote command execution failed: Permission denied,please...
- Replies: 37
- Views: 14979
Re: Remote command execution failed: Permission denied,pleas
i'm trying this...but i use usually ssh-keygen -b 2048 -t rsa...is the same thing right? 
- Thu Jun 12, 2014 8:12 am
- Forum: Open Source Nagios Projects
- Topic: Remote command execution failed: Permission denied,please...
- Replies: 37
- Views: 14979
Re: Remote command execution failed: Permission denied,pleas
i read you in mind!! :) nagios@maestro:~$ /usr/lib/nagios/plugins/check_by_ssh -4 -H intranet.xx.xx -l root -p 2022 -C "/usr/local/nagios/libexec/check_nagios -t 20 -e 5 -F /usr/local/nagios/var/nagios.log -C /usr/local/nagios/bin/nagios" -vvvvvvvvvvvvvvvvvvvvv Command: /usr/bin/ssh Argume...
- Thu Jun 12, 2014 8:03 am
- Forum: Open Source Nagios Projects
- Topic: Remote command execution failed: Permission denied,please...
- Replies: 37
- Views: 14979
Re: Remote command execution failed: Permission denied,pleas
try this command Code: Select all su - nagios -s /bin/bash root@maestro:/usr/lib/nagios/plugins# su - nagios -s /bin/bash nagios@maestro:~$ hey works! and then? run this command? :) /usr/lib/nagios/plugins/check_by_ssh -4 -H remote address -l root -p 2022 -C "/usr/local/nagios/libexec/check_na...