I have a requirment to be able to find out how the filer is doing using one command. I've searched high and low and I couldn't find a single command to get overall system status and I'm turning up blank. One thing that has brought around new hope is that after a critical error has been resolved I saw the following message gneerated in the /etc/messages.
22 09:Mon Nov 22 09:00:01 EST [Netapp03: monitor.globalStatus.ok:info]: The system's global status is normal.
Is there a way to poll that specific monitor at will, Using Zapi or some other tool?
More to the point, is than an actual command on the filer that will give you the systems global status? Running an SNMP query ona remote system does not really answer the question. You might as well simply open filerview and check the global status.
Short answer is there isnt a command, Maybe someone should request a feature enhancement?
Short of scraping the webpage, using the GUI it pointless from the programatic point of view.
One of the sites i support has 16 FAS clusters and 10 SA clusters so manually checking that via the gui is going to be time consuming.
Time consuming vs
cat filers.txt | while read LINE ; do
snmpwalk -v 1 -c public $line enterprises.7184.108.40.206.25.
The set that to grep/alert for anything other than "The system's global status is normal" and you've got an automated coarse alerting system for unreported failed drive/full volumes/aggrs or inode messages.
Its not pretty but it is functional.and at the moment the only way i know you can achieve what has requested in an automated fashion.