Unsolved
This post is more than 5 years old
1 Message
0
62684
September 10th, 2015 12:00
Anyone able to get OpenManage for Nagios Core plugin working on Ubuntu
Has anyone been successful in getting Dell's OpenManage plugin for Nagios Core working in Ubuntu?
The main issue seems to be the install script...
I'm trying to run the installer, but can't get past the step asking for the install location of Nagios. It doesn't seem to like the file/folder structure that the nagios3 package in Ubuntu uses. Nothing I enter as the install location is accepted.
No Events found!
ankit_bansal3
8 Posts
0
January 5th, 2016 23:00
Yes, You should be able to use Dell OpenManage Plug-in in Ubuntu as well.
1. Download the latest Dell OpenManage Plug-in Version 2.0 for Nagios Core installer from the Dell support website at support.dell.com or from Nagios exchange at exchange.nagios.org/.
The installer is packaged as a .tar.gz file named Dell_OpenManage_Plugin_v2.0_Nagios_Core_A00.tar.gz.
2. Navigate to the location where you have downloaded the folder, and run the following command to extract its contents:
tar -zxvf Dell_OpenManage_Plugin_v2.0_Nagios_Core_A00.tar.gz
The following folder and files are extracted:
Dell_OpenManage_Plugin folder
Dell_OM_Plugin_2_0_For_NagiosCore_IG.pdf file
Dell_OM_Plugin_2_0_For_NagiosCore_ReadMe.txt file
license_en.txt file3
3. Navigate to the Dell_OpenManage_Plugin/Install folder, and then run the following command to invoke the installer:./install.sh
moetteli
4 Posts
0
May 2nd, 2016 03:00
As the other poster said: The installation script always stops, when indicating the location:
/tmp/Dell_OpenManage_Plugin/Install# ./install.sh
Dell OpenManage Plug-in v2.0 for Nagios Core requires Nagios Core v3.5.0 or later.
Press 'Y' to continue if Nagios Core version is 3.5.0 or later.
Press any other key to exit installation (default: 'Y'):
Provide the installed location of Nagios Core (Press ENTER to continue with the default location: '/usr/local/nagios'):
Using the Nagios Core installed location: /usr/local/nagios
Invalid Nagios Core installed location provided.
Installation is Unsuccessful.
anupam.aloke
1 Rookie
•
44 Posts
0
June 1st, 2016 03:00
Hi,
On Ubuntu, whilst the default Nagios installation location is '/usr/local/nagios', it can also be user-defined to be some other location than default location during the installation process.
Could you please tell us the location of Nagios installation on your Ubuntu server?
Thx,
Anupam
moetteli
4 Posts
0
June 1st, 2016 06:00
I just installed the official nagios3 meta-package, which depends on the nagios3-core package.
There does not seem to be a main installation place:
# dpkg -L nagios3-core
/.
/usr
/usr/sbin
/usr/sbin/nagios3stats
/usr/sbin/nagios3
/usr/share
/usr/share/man
/usr/share/man/man8
/usr/share/man/man8/nagios3.8.gz
/usr/share/man/man8/nagios3stats.8.gz
/usr/share/doc
/usr/lib
/usr/lib/nagios3
/usr/lib/nagios3/p1.pl
/usr/share/doc/nagios3-core
I see many files in /usr/share/nagios3 though. And of course in /etc/nagios3.
ankit_bansal3
8 Posts
0
June 2nd, 2016 03:00
Looks like NagiosCore is not properly installed in your machine.
Can you please reinstall NagiosCore using below steps and then try to install Dell OM plugin
https://assets.nagios.com/downloads/nagioscore/docs/nagioscore/3/en/quickstart-ubuntu.html
jeffery.sung
3 Posts
0
September 13th, 2016 02:00
Hi, I have a slightly different failed output.
root@dppnagios02:/tmp/Dell_OpenManage_Plugin/Install# ./install.sh
Dell OpenManage Plug-in v2.0 for Nagios Core requires Nagios Core v3.5.0 or later.
Press 'Y' to continue if Nagios Core version is 3.5.0 or later.
Press any other key to exit installation (default: 'Y'):
Provide the installed location of Nagios Core (Press ENTER to continue with the default location: '/usr/local/nagios'):
Using the default Nagios Core installed location: /usr/local/nagios
Nagios Core installed location verified: /usr/local/nagios
Checking prerequisites...
Perl Module Net-IP (version 1.26 or above) has not been installed or not resolvable. Pre-requisite check failed.
Exiting Installation...
Installation is Unsuccessful.
I have install all the Perl needed but still no good. Please help. Thanks.
moetteli
4 Posts
0
September 14th, 2016 01:00
Well, I just installed it from the official package from the official repository.
I personally would say, that most of the people install from packages and not from source.
So it's a little bit annoying, that Dell expects in its installer, that people install from source and don't offer the possibility, that people install from the official package.
jeffery.sung
3 Posts
0
September 14th, 2016 02:00
Unfortunately, my version is nagios 4.2.1 which is suppose to be the right version to install open manage so that I can use it to monitor Dell Compellent. It is annoying. So any help is much appreciated.
raprop
29 Posts
0
December 14th, 2016 06:00
Hi ankit!!
why assume nagios is installed from source !? many people use package system. Is possible specific where put the the files for manual installation in this case or create new install for nagios package like rpm or .pkg or .deb ?
Thx :)
germansche
2 Posts
0
January 31st, 2020 05:00
same here, i wonder why there aint some nagios check probably with alot of dependencies and a config file, to be more portable ?
we got nagios 3.5.1 on ubuntu 16.04.x and dont have a install folder...
germansche
2 Posts
0
January 31st, 2020 06:00
Hello,
for anyone:
you can just pull the phyton scripts and try to use them:
pip install omsdk==1.2.370
pip install omdrivers==1.1.268
pip install omsdk --upgrade
pip install omdrivers --upgrade
apt install python-argparse
apt install python-netaddr
root@nagios:~/Dell_OpenManage_Plugin/scripts# cp * /usr/share/nagios3/plugins/
root@nagios:/usr/share/nagios3/plugins# python dellemc_device_check.py --host=1.1.1.1 --componentname=Subsystem --devicetype=iDRAC --logPath=/var/log/ --protocol=2 --http.user=root --http.password=gdfgdfgdfgdfgdfgdf --http.port=443 --http.timeout=50 --http.retries=2
see
https://www.dell.com/community/OpenManage-Connections-for-Third/Error-when-running-dellemc-device-check-py/td-p/6124552
usage: dellemc_device_check.py [-h] [--host HOST] [--devicetype DEVICETYPE]
[--protocol PROTOCOL]
[--componentname COMPONENTNAME]
[--monitorfilter MONITORFILTER]
[--primaryStatusOnly {0,1}]
[--setservicestatus {0,1,2,3}]
[--logPath LOGPATH]
[--warranty.criticalDays USERCRITICALDAYS]
[--warranty.warningDays USERWARNINGDAYS]
[--excludeinstance EXCLUDEINSTANCE]
[--readFile PROTOINFO] [--s SERVICENAME]
[--snmp.version SNVERSION]
[--snmp.community COMSTRING]
[--snmp.port SNMPPORT] [--snmp.retries SNMPRET]
[--snmp.timeout SNMPTOUT]
[--http.user HTTPUSER]
[--http.password HTTPPASSWORD]
[--http.timeout HTTPTIMEOUT]
[--http.retries HTTPRET] [--http.port HTTPPORT]
[--nagios.type NAGIOSTYPE]
for further options