LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.

Notices


Reply
  Search this Thread
Old 02-13-2008, 10:11 AM   #1
alek66
Member
 
Registered: Apr 2004
Location: Argentina
Distribution: netBSD/Linux
Posts: 256

Rep: Reputation: 30
Nagios check_sun_hardware script


I am trying to use the check_sun_hardware script on nagios (downloaded from http://www.nagiosexchange.org/Solari...age%5D=30%3A10) but I cant make it work.
Nagios prompts (Return code of 5 is out of bounds)
There isnt any documentation avaliable. I just installed the script, and added it as a service but i didnt pass any args to it...
Does anyone knows/uses has any example configuration on it that can help me?


aleza
 
Old 02-14-2008, 01:39 AM   #2
scoban
Member
 
Registered: Nov 2004
Location: Turkey
Distribution: Slackware
Posts: 145

Rep: Reputation: 16
It is a perl script and it might be using some modules that are not installed in your system. Try to execute script from command line, fix the errors and than try it from nagios.
 
Old 02-14-2008, 05:22 AM   #3
alek66
Member
 
Registered: Apr 2004
Location: Argentina
Distribution: netBSD/Linux
Posts: 256

Original Poster
Rep: Reputation: 30
It was that the script was looking for perl at a wrong path.
I corrected it now.
Thanks! =)
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Nagios and Oreon (Nagios web front end) installation and Configuration LXer Syndicated Linux News 1 05-31-2016 07:26 AM
Nagios Daemon, PID not found but rc.nagios runs agentc0re Slackware 1 07-03-2007 02:47 PM
Nagios...anyone? immortaltechnique Linux - Networking 6 12-16-2006 08:05 AM
Nagios heinvz Linux - Software 3 10-24-2006 07:42 AM
LXer: Nagios 2.5 and Oreon 1.3 (Nagios web front end) installation with screenshots LXer Syndicated Linux News 0 08-11-2006 05:33 PM

LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 08:28 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration