Comments (14)
use [fan1] instead
from check_idrac.
i mentioned in sample config already
from check_idrac.
dear, using FAN1 it says "sorry, hardware not supported!" please help..
from check_idrac.
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.
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 =
CRIT = critical|nonRecoverable|fail
from check_idrac.
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.
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.
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.
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.
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.
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.
yes, that did the trick. thanks for the solution. I was searching for such solution only. Kudos to you.
from check_idrac.
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.
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)
- ValueError: could not convert string to float: "System Board Inlet Temp" HOT 1
- ValueError: invalid literal for int() with base 10: 'Bad' HOT 3
- MEM checks HOT 2
- systemStateGlobalSystemStatus
- cant use the cli python
- Vdisk and disk not show in the results
- Only display hardware status if warning/critical? HOT 2
- index out of range
- Add IPv6 support
- Authentication error handling
- PERC BBU is not available on systemBattery
- Python error when launching HOT 1
- Error on some hosts HOT 4
- Surround temperature perfdata labels with '
- Pulling a single PDisk gives different result than pulling the whole group. HOT 10
- DISK NON-RAID flag generates a warning HOT 5
- SNMP timeout ! HOT 5
- Pdisk status HOT 2
- Line 773 - ValueError: could not convert sring to float: (n/a) HOT 1
- File "./idrac_2.2rc4.py", line 194 print 'no IP address specified!' HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from check_idrac.