ZABBIX Forums  
  #11  
Old 21-07-2014, 12:34
emvectra emvectra is offline
Junior Member
 
Join Date: Jul 2014
Posts: 5
Default

Thanks, I´ve solved it:

1) New Directory /etc/zabbix/zabbix_serverd.d
2) Move both Perl-Scripts to the new Directory
3) Change /etc/zabbix/zabbix_server.conf:
ExternalScripts=/etc/zabbix/zabbix_serverd.d

4) Restart Zabbix-Server: OK
5) Restart Zabbix-Agent: OK

emvectra
Reply With Quote
  #12  
Old 05-08-2014, 11:34
m.krug m.krug is offline
Junior Member
 
Join Date: Aug 2014
Posts: 1
Default ilo_discovery.pl

Hello, it is a great solution. But in my installation ( CentOS 6.5 with Zabbix 2.2.4) it works only partially. In my zabbix_server.log i got this message
Use of uninitialized value $results in print at /opt/zabbix/share/zabbix/externalscripts/ilo_discovery.pl line 56.
Do you have any idea ?
Reply With Quote
  #13  
Old 14-08-2014, 17:16
killout killout is offline
Junior Member
 
Join Date: Dec 2013
Posts: 10
Default

Quote:
Originally Posted by m.krug View Post
Hello, it is a great solution. But in my installation ( CentOS 6.5 with Zabbix 2.2.4) it works only partially. In my zabbix_server.log i got this message
Use of uninitialized value $results in print at /opt/zabbix/share/zabbix/externalscripts/ilo_discovery.pl line 56.
Do you have any idea ?
I found that this error appear if ipmi offline on the host, or wrong ip specified.

Try to check if you can connect with ipmi-sensors command.
Quote:
/usr/sbin/ipmi-sensors -D LAN2_0 -h _IP_ -u _USER_ -p _PASSWD_ -l _PRIV.LEVEL_ -W discretereading --no-header-output --quiet-cache --sdr-cache-recreate --comma-separated-output --entity-sensor-names
Change
_USER_
_PASSWD_
_PRIV.LEVEL_
to your values.
Reply With Quote
  #14  
Old 22-09-2014, 16:34
copperek copperek is offline
Junior Member
 
Join Date: Dec 2013
Posts: 6
Default

I get the same error message as m.krug
Quote:
Hello, it is a great solution. But in my installation ( CentOS 6.5 with Zabbix 2.2.4) it works only partially. In my zabbix_server.log i got this message
Use of uninitialized value $results in print at /opt/zabbix/share/zabbix/externalscripts/ilo_discovery.pl line 56.
Do you have any idea ?
Quote:
Originally Posted by killout View Post
I found that this error appear if ipmi offline on the host, or wrong ip specified.

Try to check if you can connect with ipmi-sensors command.

Change
_USER_
_PASSWD_
_PRIV.LEVEL_
to your values.
I have checked my ILO and it is online because if I run

Code:
/usr/sbin/ipmi-sensors -D LAN2_0 -h 192.168.xxx.xxx -u [USER] -p [PASSWORD] -l USER -W discretereading --no-header-output --quiet-cache --sdr-cache-recreate --comma-separated-output --entity-sensor-names
I get a reply from the ILO. I'm trying to monitor a DL380pG8 from zabbix 2.2.6.

Nevermind, found the problem, I was 100% sure I had changed the username and password in the Ilo_discovery.pl, but it seems that this change wasn't stored. When I corrected the username and password everything seems to be oke now.

Regards,

Last edited by copperek; 23-09-2014 at 12:37. Reason: problem fixed
Reply With Quote
  #15  
Old 15-10-2014, 10:14
Smersh Smersh is offline
Member
 
Join Date: Jul 2013
Posts: 47
Default

In zabbix log periodically appears the following strings:
Code:
flock() on closed filehandle CACHE at /usr/local/etc/zabbix22/zabbix/externalscripts/ipmi_proliant.pl line 75.
readline() on closed filehandle CACHE at /usr/local/etc/zabbix22/zabbix/externalscripts/ipmi_proliant.pl line 76.
I have a suspicion that because of this zabbix at times receives no data...
Reply With Quote
  #16  
Old 08-11-2014, 23:05
edelk edelk is offline
Junior Member
 
Join Date: Nov 2014
Posts: 1
Default Value should be a JSON object

Hi to all

This is my first post in this forum, sorry for my english

Tired to get IPMI work on a Ubuntu 14.04 lts and HP ILO I try it with this way.
But ..

I get always the error "Value should be a JSON objekt in the discovery rules.

If I start the script manually I see warnings like "when is experimental"
Solution :
Just Change "use warning" to "no warnings" in the Script
and you get a valid JSON object.
Now the Rules works fine

LG
Martin
Reply With Quote
  #17  
Old 26-11-2014, 16:06
Dennieboy96 Dennieboy96 is offline
Junior Member
 
Join Date: Nov 2014
Posts: 3
Default dont get data.

hey you guy's i followed this thread. i am quite new to this..
but i can excecute every test command and get back the data that supposed to get back. but when i go to zabbix i dont get any data. it discover's everything with the server but the latest data stay's empty. what could that be?
Reply With Quote
  #18  
Old 27-11-2014, 09:32
asteins asteins is offline
Junior Member
 
Join Date: Apr 2014
Posts: 1
Default

Quote:
Originally Posted by Dennieboy96 View Post
hey you guy's i followed this thread. i am quite new to this..
but i can excecute every test command and get back the data that supposed to get back. but when i go to zabbix i dont get any data. it discover's everything with the server but the latest data stay's empty. what could that be?
Had the same issue, connected to iLo via browser, in Administration->Diagnostics "Restarted the iLo" and the values started to appear.

Hope this helps.
Reply With Quote
  #19  
Old 27-11-2014, 11:57
Dennieboy96 Dennieboy96 is offline
Junior Member
 
Join Date: Nov 2014
Posts: 3
Default

thanks! i am going to try that this evening!

Quote:
Originally Posted by asteins View Post
Had the same issue, connected to iLo via browser, in Administration->Diagnostics "Restarted the iLo" and the values started to appear.

Hope this helps.
Reply With Quote
  #20  
Old 02-12-2014, 11:53
Dennieboy96 Dennieboy96 is offline
Junior Member
 
Join Date: Nov 2014
Posts: 3
Default

Quote:
Originally Posted by asteins View Post
Had the same issue, connected to iLo via browser, in Administration->Diagnostics "Restarted the iLo" and the values started to appear.

Hope this helps.
it actualy did not work! i restarted it but the values dont appaer.


the user i used does have the next privilege's:
remote console, virtual media, administrator account privilege's
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 06:33.