Skip to content

Add iocstats records for Location, Hostname, FDs, access status, time

Chris Whiting requested to merge chessIocStats-additions into master

@pas37 ,

A while back, I had mentioned wanting to put some type of IOC monitoring together to make it easier to see at a glance if an IOC is down, or see some statistics on an IOC itself.

I've started creating a GUI that would help monitor and report the status of IOCs. I found a GUI in the iocStats support that looks at various records. Some of the records are already configured here in this file, but ~12 or so were missing. I've changed the PV names to be lower-case to match what is here already. The iocStats support seems to break the records into multiple .db/.template files, but I've just added a few more here for simplicity.

There's also a new record, $(IOCNAME):access, that describes Controls/Ops can change manually, for other software to look at to determine if the IOC is being worked on. I have it default to 'Maintenance' when the IOC is rebooted. Maybe there's a way for it to remember its last state? It doesn't need to be used, but thought it could be useful at some point.

I've setup a temporary Alive server running on lnx201 for testing too in order to test out a small display for interacting with the Alive record.

I was thinking that all IOCs could include these records (and Alive server IP), so we'd have a master list of IOCs from UEIs, PLCs, cluster soft-iocs, etc.

Here's a screen shot of what I'm picturing: ioc-list

Would you mind taking a look to see if these new records could be added? I have them running on ioc-xx-uei02 at my desk, as well as on a test IOC on lnx201, and it seems to run okay.

Let me know what you think.

Best, Chris

Merge request reports