Search found 6 matches
- Mon Dec 28, 2015 10:40 am
- Forum: Open Source Nagios Projects
- Topic: Summarized email for child objects when parent is down
- Replies: 5
- Views: 1995
Re: Summarized email for child objects when parent is down
You could also change the content of the first message to "Please check Nagios, something is really wrong" :-) Hi rhassing - thank you for your quick response. As a stop-gap, this is what I am doing now; however, I thought a summarized email would assist in troubleshooting from mobile dev...
- Mon Dec 28, 2015 10:26 am
- Forum: Open Source Nagios Projects
- Topic: Summarized email for child objects when parent is down
- Replies: 5
- Views: 1995
Summarized email for child objects when parent is down
Folks: Is it possible to get a summarized email that lists affected child objects when a parent object goes down? I am trying to limit the number of emails that I receive when I have an outage of parent object, which has 20 different child objects. This might seem odd, but I have staff members that ...
- Wed Nov 05, 2014 4:15 pm
- Forum: Open Source Nagios Projects
- Topic: BASH script works differently under nagios
- Replies: 5
- Views: 2074
Re: BASH script works differently under nagios
exit code looks like it is working
Code: Select all
bash-4.1$ . /usr/lib64/nagios/plugins/check_fan.sh
CHECK FAILED
bash-4.1$ echo $?
3
- Wed Nov 05, 2014 4:14 pm
- Forum: Open Source Nagios Projects
- Topic: BASH script works differently under nagios
- Replies: 5
- Views: 2074
Re: BASH script works differently under nagios
Odd,
I run the script as the nagios user, but I get totally different results.
I run the script as the nagios user, but I get totally different results.
Code: Select all
[root@nagios plugins]# sudo -s -u nagios
bash-4.1$ . /usr/lib64/nagios/plugins/check_fan.sh
CHECK FAILED
- Wed Nov 05, 2014 4:05 pm
- Forum: Open Source Nagios Projects
- Topic: BASH script works differently under nagios
- Replies: 5
- Views: 2074
Re: BASH script works differently under nagios
Can you try running the script as user nagios from the cli? If it fails, then you have a permission issue. Hi abrist, I do not believe I ever configured the permissions or user account for 'nagios'. However, 'nagios' does show in my '/etc/passwd' file. I am forced to login as root and [root@nagios ...
- Wed Nov 05, 2014 3:45 pm
- Forum: Open Source Nagios Projects
- Topic: BASH script works differently under nagios
- Replies: 5
- Views: 2074
BASH script works differently under nagios
Folks: I have a very simple bash script to check the fan state of my Cisco switch. I can run the script from the command prompt with './' and it returns the correct values; however, when I build my command string and enable the check it blows past if condition 1 and if condition 2, and odd part abou...