GithubHelp home page GithubHelp logo

Comments (14)

dangmocrang avatar dangmocrang commented on July 29, 2024

use [fan1] instead 😁

from check_idrac.

dangmocrang avatar dangmocrang commented on July 29, 2024

i mentioned in sample config already

from check_idrac.

jangras avatar jangras commented on July 29, 2024

dear, using FAN1 it says "sorry, hardware not supported!" please help..

from check_idrac.

dangmocrang avatar dangmocrang commented on July 29, 2024

Try use with command line and see if it work or not.
Can you pass command you ran and config content here?

from check_idrac.

jangras avatar jangras commented on July 29, 2024

Below is the full output of error, i am getting. please check the output of second command, when i am using FAN1, it says "sorry, hardware not supported!" please correct me if i am wrong.

nagios:/usr/lib/nagios/plugins # ./check_idrac -H 10.10.10.10 -f test.conf -m /usr/share/snmp/mibs/idrac.mib -w FAN#1
OK - System Board Fan1A: 3720 RPM - ENABLED/OK

nagios:/usr/lib/nagios/plugins # ./check_idrac -H 10.10.10.10 -f test.conf -m /usr/share/snmp/mibs/idrac.mib -w FAN1
sorry, hardware not supported!

nagios:/usr/lib/nagios/plugins # cat test.conf
[snmp]
version = 2c
community = 'public'

[fan1]
thresholds =

[state]
OK = ok|online|spunup|full|ready|enabled|presence
WARN = $ALL$
CRIT = critical|nonRecoverable|fail

from check_idrac.

jangras avatar jangras commented on July 29, 2024

my service description in nagios for specific hardware is as below:

define service{
use dell-service
hostgroup_name dell-devices
service_description FAN1
check_command check_idrac!FAN#1
}

the FAN#1 option is being read as FAN only by nagios. what service description u suggest for specific hardware in nagios.

from check_idrac.

jangras avatar jangras commented on July 29, 2024

if i use full scan i am getting "SNMP timeout" but while running for specific hardware, it is able to show all component one by one.

from check_idrac.

dangmocrang avatar dangmocrang commented on July 29, 2024

Hi,

Snmp timeout caused by your idrac is using old firmware version.

When i mentioned use [fan1] it is only in config file not the command. So
in command line keep fan#1

Regards,
Dung
On Jan 2, 2016 5:57 PM, "S.Jangra" [email protected] wrote:

if i use full scan i am getting "SMTP timeout" but while running for
specific hardware, it is able to show all component one by one.


Reply to this email directly or view it on GitHub
#17 (comment)
.

from check_idrac.

jangras avatar jangras commented on July 29, 2024

Hi
First of all its latest firmware I am using. Second, I understood that i can use fan1 in config file. I am not talking about config file. My concern is to use fan#1 in commands.cfg and host.cfg file as # taken as a comment in these config files. hope u now understand my problem.

from check_idrac.

dangmocrang avatar dangmocrang commented on July 29, 2024

ok, but i have nothing to do with SNMP Time out since it caused by idrac. About the config file I don't why your nagios made FAN#1 as comment, we are using this with no comment problem and no one has this issue before.

from check_idrac.

dangmocrang avatar dangmocrang commented on July 29, 2024

More info: we are using Nagios 3 and 4. If you are using other version then Edit my script at line 273:

272:    if conf['hardware']:
273:        conf['hardware'] = conf['hardware'].split('#')
274:        try:

Now let's change it to any symbol you want

conf['hardware'] = conf['hardware'].split('-')

from check_idrac.

jangras avatar jangras commented on July 29, 2024

yes, that did the trick. thanks for the solution. I was searching for such solution only. Kudos to you.

from check_idrac.

jangras avatar jangras commented on July 29, 2024

Hi may u please tell me how to display plugin output comma separated as multiple lines output is not visible in nagios output, only first line is displayed.

from check_idrac.

dangmocrang avatar dangmocrang commented on July 29, 2024

Ah, you must use in e.x fan#1 in nagios, group check is not designed for
production since it does not print the prefix like OK, CRiT, WARN

But if you want to, edit line 844 to:

print ';'.join(result)

On Jan 5, 2016 2:44 PM, "S.Jangra" [email protected] wrote:

Hi can u please tell me how to display plugin output comma separated as
multiple lines output is not visible in nagios output, only first line is
displayed.


Reply to this email directly or view it on GitHub
#17 (comment)
.

from check_idrac.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.