New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Disk I/O graph are missing for SAN disk after a disable/reenable of a Fiber card #4670
Comments
Did you wait for 6-12 hours for a rediscovery? If so, please provide the output of:
|
Hi I discovered some disq was missing fiew days after. I putted in attached the result of the 2 commands I run when I had this issue. discovery.php -v -d -m ucd-diskio -h Hostname >> /tmp/ucd-diskio1 I resolved my issue doing this mv /opt/librenms/rrd/HOSTNAME /opt/librenms/rrd/HOSTNAME.old after this I could see the graph again. Now everything is ok, but here the result of a discovery.php -h HOSTNAME -d |
Hi I put in attached the result of the command ./discovery.php -h HOSTNAME -d it misses the disk from sdb to sdu |
Can't see anything wrong with the discovery which is probably due to it being fixed. |
The discovery is OK, but 2 disks are still missing in the interface (Disk I/O graph). |
Please update your install and then provide the info from http://docs.librenms.org/Support/FAQ/#what-information-do-you-need-to-add-a-new-os |
Update done. In the poller file, it's the mess for the sdX Array part. [RRD Disabled]sdh Array Here the info from the messsage log of the server, just to show you multipath removed/add the device but no switch was done regarding the sdX and mapping device : messages: multipathd: sdh: remove path (uevent) messages : multipathd: sdl [8:176]: path removed from map mpathk |
Please provide the output of |
MariaDB [librenms]> SELECT * FROM ucd_diskio WHERE device_id= 69\G; |
Your storage index has changed, want to try a patch? |
Yes of course, let's try a patch. |
I put the patch, run discovery command, but it's still the same. I put new poller, discovery in attanched. |
Can you re-run the sql query as that data must now have changed. |
No change MariaDB [librenms]> SELECT * FROM ucd_diskio WHERE device_id= 69\G; |
I 'v check the patch and replace a coma with a "AND" in the mysql select, I think there is a mistake. Now, the discovery added missing devices but some clean need to be done. Now I have duplicate row with the same diskio_descr. I can have 2 row for the same diskio_descr. MariaDB [librenms]> SELECT * FROM ucd_diskio WHERE device_id= 69 and diskio_descr ="sdl"\G; |
Hi I modified ucd-diskio.inc.php to remove duplicate diskio_descr. |
This thread has been automatically locked since there has not been any recent activity after it was closed. |
Hello
On a Dell PowerEdge R730 with redhat 6, I have several disk attached to the server through multipathd.
After added the server in librenms, I see all disk (sdXX) in the Disk I/O graph part. Everything is OK.
We disabled and reenabled a fiber channel card on the server for a maintenance.
When we disable the fiber channel, the multipathdd process automatically disable the corresponding path.
On linux each path correspond to a disk device /dev/sdXX.
When we reenable the fiber channel, the multipath, reenable the path and the disk have exactly the same name /dev/sd..
After this action, the device that was disable/enable by multipath are missing in librenms in the part Healt, Disk I/O graph,
The usage of /data/librenms/discovery.php script didn't help.
Here the information of my librenms installation :
Version info:
[WARN] Your install is out of date: edbb6ae (Wed, 28 Sep 2016 13:19:28 +0000)
DB Schema: 140
PHP: 5.4.16
MySQL: 5.5.50-MariaDB
RRDTool: 1.4.8
SNMP: NET-SNMP version: 5.7.2
[OK] Database connection successful
Regards
Mickael
The text was updated successfully, but these errors were encountered: