Thanks for your quick reply and for helping to fix my poor scripting.
The script works. Turns out that nagios as a user doesn't have permissions to access TempFile while root had it.
Thanks a lot again.
Search found 3 matches
- Mon May 21, 2012 10:06 am
- Forum: Open Source Nagios Projects
- Topic: Bash Shell Scripting Help Needed - IPMI Monitoring
- Replies: 3
- Views: 1836
- Fri May 18, 2012 11:46 pm
- Forum: Open Source Nagios Projects
- Topic: Bash Shell Scripting Help Needed - IPMI Monitoring
- Replies: 3
- Views: 1836
Bash Shell Scripting Help Needed - IPMI Monitoring
I have Nagios 3.3.1 installed on CentOS 5.8. I'm trying to make a shell script to use the ipmimonitoring function of freeipmi to gather Temperatures from Sun ILOM. My script is written as below: [root@localhost libexec]# vi ipmimonitoring.sh #!/bin/bash TempFile=$(mktemp) STATUS=$(/usr/local/sbin/ip...
- Wed May 02, 2012 11:08 am
- Forum: Open Source Nagios Projects
- Topic: How to use community add-ons
- Replies: 1
- Views: 744
How to use community add-ons
Hi, I'm new to Linux and Nagios. Yesterday, I managed to install Nagios 3.3.1 Core on a CentOS 5.8 VM. Tested it to be working using NSClient++ on a Server 2008 machine by following the walkthrough online to windows.cfg and commands.cfg. My goal for setting up Nagios is to monitor the temperature of...