SAS® Viya™ 3.3 is packed with new features to help those who administer the environment. Take a look at SAS Environment Manager and you will immediately notice additions such as the Log window that allows admins to view and filter log messages, an enhanced Machines view that provides detailed performance metrics and threshold testing to detect potential problems, and very nice auditing reports built from a re-vamped data mart. Sitting behind the scenes and making all of these impressive features possible is the SAS Viya Operations Infrastructure. And while the operations infrastructure supports many of the visual components used for administration, its capabilities are also provided in open, documented command line interfaces which finally provides administrators interested in more IT-related information the ability to customize the monitoring and logging information to suit their own needs.
The operations infrastructure is based on an event-driven architecture. The architecture includes producers of events as well as consumers of events. In this context, an event is rather loosely defined as a unit of information. This could be anything from a new CPU usage metric was collected, an ERROR message was detected in a log, the current memory usage exceeds a defined threshold, etc. Producers publish events to one or more of the SAS Message Broker's exchanges without knowing or caring who is listening for the events. The SAS Message Broker (RabbitMQ) has exchanges for different types of events so metric-related events go to the Metric exchange while alert-related events might go to the Notification exchange. Event consumers subscribe to an exchange and simply watch the events coming through. When a consumer detects an event of interest it can retrieve and process the event while ignoring other events. Event consumers do not interact directly with the event producers in any way so the two groups are totally separated.
This diagram of the operations infrastructure architecture should help visualize the notion of event producers and event consumers.
On the left are the operations infrastructure producers. sas-check measures a metric and compares it to a threshold value to issue a passed or failed event. sas-peek measures metric data and issues events with current measurements. sas-watch monitors an object such as a log and reports on changes. There are other producers such as scripts and self checks from the SAS Configuration Server (consul) but most of these producers are implemented as scripts and come configured to run automatically. However, IT admins can call any of these scripts directly if desired for their own use.
On the right we have the operations infrastructure consumer. sas-stream consumes events from the RabbitMQ exchanges and along with processes to aggregate and standardize the data, persists the information in a data mart for use by other Viya components like SAS Environment Manager.
Certain events, such as metrics regarding CPU and memory usage or checks for available space on the filesystem, are important to have on a per-machine basis. A sas-ops-agent is deployed to each machine in a SAS Viya environment and is configured to run a specific set of scheduled tasks to collect various measurements on each machine. Measurements are then published as events to one of the SAS Message Broker (RabittMQ) exchanges.
Everything I've described above is accessible through command line interfaces so IT admins are free to make use of any elements of the entire framework for their own purposes. One of the primary scripts that surfaces information from the entire framework is sas-ops which is found in/opt/sas/viya/home/bin. sas-ops functions automatically if you run it as the sas user. Running as a different user requires obtaining an authorization token.
Let's say an on call IT administrator has been called in to help troubleshoot issues and the SAS administrator is not available to help. sas-ops can be used to obtain basic information about the local machine or about all of the machines in the deployment.
[sas@intviya01 bin]$ ./sas-ops env Host Information: Full hostname : intviya01.race.sas.com Short hostname : intviya01 Consul node name : intviya01.race.sas.com SAS environment variables: CONSUL_HTTP_ADDR = https://localhost:8501 SAS Viya Deployment: Install user : sas Deployment ID : viya SAS root : /opt/sas Deployment root : /opt/sas/viya Home directory : /opt/sas/viya/home Config directory : /opt/sas/viya/config Log directory : /opt/sas/viya/config/var/log SPRE directory : /opt/sas/spre
[Only showing information from two machines below. Imagine how helpful information like this will be for Technical Support!]
[sas@intviya01 bin]$ ./sas-ops info intcas01 lastupdate : 2018-01-18T02:25:01.301461-05:00 knownas addr0 : 192.168.0.1 addr1 : 10.96.3.82 hostname-short : intcas01 packages sas-autotmsermod : sas-autotmsermod-03.11.00-20171121.193851497075.x86_64 sas-backup-agent : sas-backup-agent-2.0.37-20171110.1510334900062.x86_64 sas-bootstrap-config : sas-bootstrap-config-1.1.15-20171108.1510146141261.x86_64 sas-casasr : sas-casasr-01.11.00-20171121.193050230188.x86_64 sas-casluaclnt : sas-casluaclnt-01.11.00-20171121.193518161268.x86_64 sas-casrclnt : sas-casrclnt-03.11.00-20171121.194434621733.x86_64 sas-cdfbase : sas-cdfbase-03.11.00-20171121.195303342199.x86_64 sas-cdfdb2 : sas-cdfdb2-03.11.00-20171121.195711366473.x86_64 sas-cdfephive : sas-cdfephive-03.11.00-20171121.200042035505.x86_64 sas-cdfeptera : sas-cdfeptera-03.11.00-20171121.200357075682.x86_64 sas-cdfhana : sas-cdfhana-03.11.00-20171121.193050226784.x86_64 sas-cdfhive : sas-cdfhive-03.11.00-20171121.193509782786.x86_64 sas-cdfimpl : sas-cdfimpl-03.11.00-20171121.194020455801.x86_64 sas-cdfmssqlsvr : sas-cdfmssqlsvr-03.11.00-20171121.194435179236.x86_64 sas-cdfodbc : sas-cdfodbc-03.11.00-20171121.194751983096.x86_64 sas-cdforcl : sas-cdforcl-03.11.00-20171121.195307026896.x86_64 sas-cdfpcfl : sas-cdfpcfl-03.11.00-20171121.195715668757.x86_64 sas-cdfpstg : sas-cdfpstg-03.11.00-20171121.200000803302.x86_64 sas-cdfredshift : sas-cdfredshift-03.11.00-20171121.200400928123.x86_64 sas-cdfspde : sas-cdfspde-03.11.00-20171121.193050240493.x86_64 sas-cdftera : sas-cdftera-03.11.00-20171121.193524500200.x86_64 sas-cdfweb : sas-cdfweb-03.11.00-20171121.194106402033.x86_64 sas-certframe : sas-certframe-3.1.34-20171018.1508356641631.x86_64 sas-cleanutils : sas-cleanutils-1.0.4-20171031.1509457628521.x86_64 sas-consul : sas-consul-0.7.5-20171108.1510172186964.x86_64 sas-consul-template : sas-consul-template-0.14.0-20170410.1491824585.x86_64 sas-cpscasqp : sas-cpscasqp-5.5.9-20171109.1510265969965.x86_64 sas-crsaggregate : sas-crsaggregate-01.11.00-20171121.200151607974.x86_64 sas-crsaglossmod : sas-crsaglossmod-01.11.00-20171121.200751476978.x86_64 sas-crsastore : sas-crsastore-01.11.00-20171121.193050286578.x86_64 sas-crsbayesian : sas-crsbayesian-01.11.00-20171121.193607918330.x86_64 sas-crsbiomedimg : sas-crsbiomedimg-01.11.00-20171121.194055100041.x86_64 sas-crsboolrule : sas-crsboolrule-01.11.00-20171121.194518003649.x86_64 sas-crscardinal : sas-crscardinal-01.11.00-20171121.195049601897.x86_64 sas-crscmptrvsn : sas-crscmptrvsn-01.10.00-20171121.195433517582.x86_64 sas-crscopula : sas-crscopula-01.11.00-20171121.195826116936.x86_64 sas-crscountreg : sas-crscountreg-01.11.00-20171121.200239767804.x86_64 sas-crscrf : sas-crscrf-03.09.00-20171121.200855362310.x86_64 sas-crsdeepneurl : sas-crsdeepneurl-01.11.00-20171121.193050253987.x86_64 sas-crsdeeprnn : sas-crsdeeprnn-01.11.00-20171121.193508660700.x86_64 sas-crsdplrning : sas-crsdplrning-01.11.00-20171121.193937452140.x86_64 sas-crsds2 : sas-crsds2-01.11.00-20171121.194338916584.x86_64 sas-crsdtree : sas-crsdtree-01.11.00-20171121.194740064189.x86_64 sas-crsespclustr : sas-crsespclustr-01.11.00-20171121.195254628694.x86_64 sas-crsfastknn : sas-crsfastknn-01.11.00-20171121.195628197778.x86_64 sas-crsfcmpact : sas-crsfcmpact-01.11.00-20171121.200012001079.x86_64 sas-crsfedsql : sas-crsfedsql-01.11.00-20171121.200341442193.x86_64 sas-crsforecast : sas-crsforecast-01.11.00-20171121.193050257251.x86_64 sas-crsfreq : sas-crsfreq-3.09.00-20171121.193509071792.x86_64 sas-crsgampl : sas-crsgampl-03.09.00-20171121.194025738949.x86_64 sas-crsgvarclus : sas-crsgvarclus-01.11.00-20171121.194442680930.x86_64 sas-crshidmarkmd : sas-crshidmarkmd-01.11.00-20171121.194941364864.x86_64 sas-crskmeans : sas-crskmeans-01.11.00-20171121.195356825498.x86_64 sas-crslda : sas-crslda-03.09.00-20171121.195745103520.x86_64 sas-crsloadstrms : sas-crsloadstrms-01.11.00-20171121.200145579483.x86_64 sas-crsmdiscrete : sas-crsmdiscrete-01.11.00-20171121.200720192710.x86_64 sas-crsmlrning : sas-crsmlrning-01.11.00-20171121.193050271987.x86_64 sas-crsmodelpub : sas-crsmodelpub-03.11.00-20171121.193506201670.x86_64 sas-crsmtpsrvc : sas-crsmtpsrvc-01.11.00-20171121.193948563836.x86_64 sas-crsnetcommon : sas-crsnetcommon-01.11.00-20171121.194403669210.x86_64 sas-crsnetopt : sas-crsnetopt-01.11.00-20171121.194751005862.x86_64 sas-crsnetsoc : sas-crsnetsoc-01.11.00-20171121.195251562150.x86_64 sas-crsneuralnet : sas-crsneuralnet-01.11.00-20171121.195626926883.x86_64 sas-crsnlm : sas-crsnlm-01.11.00-20171121.195941452650.x86_64 sas-crsoptimztn : sas-crsoptimztn-01.11.00-20171121.200340822601.x86_64 sas-crsoptminer : sas-crsoptminer-01.11.00-20171121.193050245286.x86_64 sas-crsoverride : sas-crsoverride-03.11.00-20171121.193505019754.x86_64 sas-crspanel : sas-crspanel-01.11.00-20171121.193839935470.x86_64 sas-crsparse : sas-crsparse-01.11.00-20171121.194312340355.x86_64 sas-crspca : sas-crspca-01.11.00-20171121.194730756843.x86_64 sas-crsphreg : sas-crsphreg-03.09.00-20171121.195230230743.x86_64 sas-crsplanning : sas-crsplanning-01.11.00-20171121.195626167086.x86_64 sas-crspls : sas-crspls-01.11.00-20171121.195928204937.x86_64 sas-crsprofile : sas-crsprofile-03.09.00-20171121.200245723299.x86_64 sas-crspseudo : sas-crspseudo-03.09.00-20171121.193050234821.x86_64 sas-crsqkbmgmt : sas-crsqkbmgmt-03.09.00-20171121.193509780645.x86_64 sas-crsqlim : sas-crsqlim-01.11.00-20171121.194020358833.x86_64 sas-crsquantreg : sas-crsquantreg-01.11.00-20171121.194435109148.x86_64 sas-crsrecommend : sas-crsrecommend-01.11.00-20171121.194836549041.x86_64 sas-crsreconcile : sas-crsreconcile-01.11.00-20171121.195303371374.x86_64 sas-crsregressn : sas-crsregressn-01.11.00-20171121.195726130548.x86_64 sas-crsrpca : sas-crsrpca-01.11.00-20171121.200054002584.x86_64 sas-crsrulemine : sas-crsrulemine-01.11.00-20171121.200502065633.x86_64 sas-crssampling : sas-crssampling-01.11.00-20171121.193050263307.x86_64 sas-crssearch : sas-crssearch-01.11.00-20171121.193505570099.x86_64 sas-crssearchvta : sas-crssearchvta-01.11.00-20171121.193839943565.x86_64 sas-crssentiment : sas-crssentiment-01.11.00-20171121.194258363001.x86_64 sas-crssequence : sas-crssequence-01.11.00-20171121.194730538101.x86_64 sas-crsseverity : sas-crsseverity-01.11.00-20171121.195158367982.x86_64 sas-crssgcomp : sas-crssgcomp-01.11.00-20171121.195503983115.x86_64 sas-crssmdata : sas-crssmdata-03.09.00-20171121.195857589091.x86_64 sas-crsspatial : sas-crsspatial-01.11.00-20171121.200246982066.x86_64 sas-crsspc : sas-crsspc-3.09.00-20171121.193050238146.x86_64 sas-crsstability : sas-crsstability-01.11.00-20171121.193504865157.x86_64 sas-crsstat : sas-crsstat-01.11.00-20171121.193839933219.x86_64 sas-crssvdd : sas-crssvdd-01.11.00-20171121.194312058044.x86_64 sas-crssvm : sas-crssvm-01.11.00-20171121.194745287746.x86_64 sas-crstextsum : sas-crstextsum-03.09.00-20171121.195145061299.x86_64 sas-crstimedata : sas-crstimedata-01.11.00-20171121.195614354106.x86_64 sas-crstimefreq : sas-crstimefreq-01.11.00-20171121.195957836970.x86_64 sas-crstimfilter : sas-crstimfilter-01.11.00-20171121.200340612514.x86_64 sas-crstkfactmac : sas-crstkfactmac-01.11.00-20171121.200919916195.x86_64 sas-crstmserinfo : sas-crstmserinfo-03.11.00-20171121.201917332625.x86_64 sas-crstranspose : sas-crstranspose-01.11.00-20171121.202428952012.x86_64 sas-crstxtmining : sas-crstxtmining-01.11.00-20171121.202910940239.x86_64 sas-crstxtruldev : sas-crstxtruldev-03.09.00-20171121.203155685265.x86_64 sas-crstxtruldsc : sas-crstxtruldsc-03.09.00-20171121.203426311441.x86_64 sas-crstxtrulscr : sas-crstxtrulscr-03.09.00-20171121.203808406191.x86_64 sas-crstxttopic : sas-crstxttopic-03.09.00-20171121.204035469892.x86_64 sas-crstxtutil : sas-crstxtutil-03.09.00-20171121.204317440066.x86_64 sas-crsvarreduce : sas-crsvarreduce-01.11.00-20171121.200958166831.x86_64 sas-csq : sas-csq-0.3.13-20171106.1510001115916.x86_64 sas-dmcommons : sas-dmcommons-03.11.00-20171121.202608040087.x86_64 sas-dmscore : sas-dmscore-03.11.00-20171121.203305019904.x86_64 sas-dmscorecas : sas-dmscorecas-03.10.00-20171121.203632576377.x86_64 sas-dmtkexp : sas-dmtkexp-03.11.00-20171121.203942223981.x86_64 sas-dtdrodbcdmgr : sas-dtdrodbcdmgr-1.0.10-20171017.1508269969616.x86_64 sas-dtdrodbcmssq : sas-dtdrodbcmssq-1.0.8-20170925.1506369522908.x86_64 sas-dtdrodbcrsft : sas-dtdrodbcrsft-1.0.4-20170925.1506362622806.x86_64 sas-embscoreeng : sas-embscoreeng-02.11.00-20171121.202144887381.x86_64 sas-envesntl : sas-envesntl-1.2.31-20171109.1510249728052.x86_64 sas-espauth : sas-espauth-5.1.0-20171116.155909391643.x86_64 sas-espbase : sas-espbase-5.1.0-20171116.152841010338.x86_64 sas-espconbase : sas-espconbase-5.1.0-20171116.153434441324.x86_64 sas-espcondb : sas-espcondb-5.1.0-20171116.153815565496.x86_64 sas-espconext : sas-espconext-5.1.0-20171116.160059542839.x86_64 sas-evmcltsvcs : sas-evmcltsvcs-1.3.32-20171114.1510675878787.x86_64 sas-evmcollect : sas-evmcollect-1.3.31-20171109.1510264567522.x86_64 sas-hadoopbasics : sas-hadoopbasics-03.11.00-20171121.203622308094.x86_64 sas-hadoopmrjars : sas-hadoopmrjars-1.4.5-20171018.1508290630670.x86_64 sas-hadooptracer : sas-hadooptracer-3.0.4-20171018.1508338038158.x86_64 sas-hadoopwrapr : sas-hadoopwrapr-1.2.6-20171010.1507644238877.x86_64 sas-hdatplugins : sas-hdatplugins-03.11.00-20171121.203905346919.x86_64 sas-hdoopsasjars : sas-hdoopsasjars-1.2.7-20170929.1506722350035.x86_64 sas-javaesntl : sas-javaesntl-1.1.17-20171114.1510685505098.x86_64 sas-mapsvahdat : sas-mapsvahdat-01.10.00-20171121.201052809993.x86_64 sas-nvidiacuda : sas-nvidiacuda-03.07.00-20171121.203648936584.x86_64 sas-postgresql-secure-libs : sas-postgresql-secure-libs-9.4.13-20171117.1510943677070.x86_64 sas-psqlodbc : sas-psqlodbc-9.6.410-20170921.1506014477370.x86_64 sas-qkb-ci : sas-qkb-ci-28.1.2-20171113.1510608579395.x86_64 sas-runjavasvc : sas-runjavasvc-1.1.3-20170821.1503338880719.x86_64 sas-securedom : sas-securedom-03.11.00-20171121.201202584828.x86_64 sas-securestrong : sas-securestrong-03.11.00-20171121.202730573062.x86_64 sas-sepcorehadp : sas-sepcorehadp-03.11.00-20171121.181934743433.x86_64 sas-sepcoretera : sas-sepcoretera-03.11.00-20171121.175941574831.x86_64 sas-simplforcast : sas-simplforcast-03.11.00-20171121.203326129122.x86_64 sas-timefilters : sas-timefilters-03.11.00-20171121.204119526200.x86_64 sas-timefreqanl : sas-timefreqanl-03.11.00-20171121.201234911174.x86_64 sas-timeseranl : sas-timeseranl-03.11.00-20171121.202219393306.x86_64 sas-timesermodel : sas-timesermodel-03.11.00-20171121.202717486184.x86_64 sas-timesermotif : sas-timesermotif-03.11.00-20171121.203101789523.x86_64 sas-timeserssa : sas-timeserssa-03.11.00-20171121.203400403150.x86_64 sas-timeserutil : sas-timeserutil-03.11.00-20171121.203642578820.x86_64 sas-tk : sas-tk-03.11.00-20171121.204109439645.x86_64 sas-tkaa : sas-tkaa-03.11.00-20171121.201316882572.x86_64 sas-tkaacas : sas-tkaacas-03.11.00-20171121.202942870913.x86_64 sas-tkaccess : sas-tkaccess-03.11.00-20171121.212715390893.x86_64 sas-tkair : sas-tkair-03.11.00-20171121.203718510025.x86_64 sas-tkbasestat : sas-tkbasestat-03.11.00-20171121.202438510502.x86_64 sas-tkcas : sas-tkcas-01.11.00-20171130.114202898431.x86_64 sas-tkcas3rdclnt : sas-tkcas3rdclnt-01.11.00-20171121.203909258826.x86_64 sas-tkcdfcommon : sas-tkcdfcommon-03.11.00-20171121.204439095391.x86_64 sas-tkcdfts : sas-tkcdfts-03.11.00-20171121.201243706268.x86_64 sas-tkcmp : sas-tkcmp-03.11.00-20171121.202254361969.x86_64 sas-tkcmptrvsn : sas-tkcmptrvsn-03.11.00-20171121.203202604656.x86_64 sas-tkcore : sas-tkcore-03.11.00-20171121.203912243921.x86_64 sas-tkdb2 : sas-tkdb2-03.11.00-20171121.202358481765.x86_64 sas-tkdplrning : sas-tkdplrning-03.11.00-20171121.202836627706.x86_64 sas-tkdq : sas-tkdq-03.11.00-20171121.203632733616.x86_64 sas-tkdqfunc : sas-tkdqfunc-03.11.00-20171121.204157076161.x86_64 sas-tkesp : sas-tkesp-01.10.00-20171121.201402430051.x86_64 sas-tkets : sas-tkets-01.10.00-20171121.202811703882.x86_64 sas-tketsutil : sas-tketsutil-03.11.00-20171121.203248410125.x86_64 sas-tkfnc : sas-tkfnc-03.11.00-20171121.203643678948.x86_64 sas-tkformats : sas-tkformats-03.11.00-20171121.201826595561.x86_64 sas-tkhadoophive : sas-tkhadoophive-03.11.00-20171121.203219284163.x86_64 sas-tkhpdmine : sas-tkhpdmine-03.11.00-20171121.203617742034.x86_64 sas-tkhps : sas-tkhps-03.11.00-20171121.204301513731.x86_64 sas-tkimpala : sas-tkimpala-03.11.00-20171121.204528477692.x86_64 sas-tkiog : sas-tkiog-03.11.00-20171121.212715421815.x86_64 sas-tkiomml : sas-tkiomml-03.11.00-20171121.204651173171.x86_64 sas-tkjava : sas-tkjava-03.11.00-20171121.205221357375.x86_64 sas-tkjavajars : sas-tkjavajars-1.4.5-20170914.1505414560113.x86_64 sas-tkl4sas : sas-tkl4sas-03.11.00-20171121.205511595269.x86_64 sas-tklua : sas-tklua-03.11.00-20171121.204838933853.x86_64 sas-tkmssqlsvr : sas-tkmssqlsvr-03.11.00-20171121.205435825087.x86_64 sas-tkmtrb : sas-tkmtrb-01.10.00-20171121.205758716683.x86_64 sas-tknls : sas-tknls-03.11.00-20171121.204339352292.x86_64 sas-tkodbc : sas-tkodbc-03.11.00-20171121.205010078431.x86_64 sas-tkoracle : sas-tkoracle-03.11.00-20171121.205220984912.x86_64 sas-tkormpgraph : sas-tkormpgraph-01.11.00-20171121.205753443209.x86_64 sas-tkpostgres : sas-tkpostgres-03.11.00-20171121.204253583826.x86_64 sas-tkrabbitmq : sas-tkrabbitmq-03.11.00-20171121.204647647414.x86_64 sas-tkredshift : sas-tkredshift-03.11.00-20171121.205218400034.x86_64 sas-tksaphana : sas-tksaphana-01.10.00-20171121.210031790893.x86_64 sas-tksecure : sas-tksecure-03.11.00-20171121.204337584941.x86_64 sas-tksecuressh : sas-tksecuressh-03.11.00-20171121.205035241495.x86_64 sas-tkspddrv : sas-tkspddrv-03.11.00-20171121.205545990420.x86_64 sas-tkspde : sas-tkspde-03.11.00-20171121.205827104931.x86_64 sas-tkstat : sas-tkstat-03.11.00-20171121.204313974071.x86_64 sas-tkteradata : sas-tkteradata-03.11.00-20171121.204806287441.x86_64 sas-tktimefilter : sas-tktimefilter-03.11.00-20171121.205412304007.x86_64 sas-tktmfrequtil : sas-tktmfrequtil-03.11.00-20171121.210029814408.x86_64 sas-tktscore : sas-tktscore-03.11.00-20171121.204846364651.x86_64 sas-tktslang : sas-tktslang-03.11.00-20171121.205552785536.x86_64 sas-tktxtan : sas-tktxtan-03.11.00-20171121.210225060552.x86_64 sas-tmbase : sas-tmbase-03.11.00-20171121.212715369582.x86_64 sas-txtmineng : sas-txtmineng-03.11.00-20171121.210548075896.x86_64 system architecture : x86_64 distro : Red Hat Enterprise Linux Server 7.3 (Maipo) kernel-release : 3.10.0-514.6.1.el7.x86_64 kernel-version : #1 SMP Sat Dec 10 11:15:38 EST 2016 memory-available : 14884332 memory-buffers : 1872 memory-cached : 2132368 memory-free : 13239728 memory-shared : 287400 memory-total : 16268620 memory-used : 3028892 operating-system : Linux timezone : EST tzoffset : -05:00 uptime : 142193s ulimits sas asHard : unlimited asSoft : unlimited coreHard : unlimited coreSoft : 0B cpuHard : unlimited cpuSoft : unlimited dataHard : unlimited dataSoft : unlimited fdHard : 150000 fdSoft : 150000 fsizeHard : unlimited fsizeSoft : unlimited locksHard : unlimited locksSoft : unlimited memlockHard : 65536B memlockSoft : 65536B nprocHard : 100000 nprocSoft : 100000 rssHard : unlimited rssSoft : unlimited stackHard : 10485760B stackSoft : 10485760B intviya01.race.sas.com lastupdate : 2018-01-18T02:25:01.048296-05:00 knownas addr0 : 192.168.0.5 addr1 : 10.96.17.182 dns-domain-name : race.sas.com hostname-fqdn : intviya01.race.sas.com hostname-short : intviya01 packages sas-aacomp1 : sas-aacomp1-01.08.00-20171121.184626416757.x86_64 sas-aastatistcs1 : sas-aastatistcs1-03.09.00-20171121.185059015820.x86_64 sas-accelmva1 : sas-accelmva1-01.08.00-20171121.185422811715.x86_64 sas-analyticcmn1 : sas-analyticcmn1-03.09.00-20171121.185737148346.x86_64 sas-appregistry : sas-appregistry-1.4.94-20171110.1510303297182.x86_64 sas-audit-cli : sas-audit-cli-1.1.1-20171108.1510155275905.x86_64 sas-authorcli : sas-authorcli-1.0.10-20171108.1510171828252.x86_64 sas-backup-agent : sas-backup-agent-2.0.37-20171110.1510334900062.x86_64 sas-backupcli : sas-backupcli-1.2.7-20171108.1510164954155.x86_64 sas-backupmanager : sas-backupmanager-1.2.11-20171114.1510692453699.x86_64 sas-base1 : sas-base1-03.09.00-20171121.184626422820.x86_64 sas-basecfg1 : sas-basecfg1-03.09.00-20171121.185343373847.x86_64 sas-basejars1 : sas-basejars1-3.7.0-20171121.224407470473.x86_64 sas-basestat1 : sas-basestat1-03.09.00-20171121.185636820976.x86_64 sas-baseui1 : sas-baseui1-03.09.00-20171121.190443279834.x86_64 sas-bootstrap-config : sas-bootstrap-config-1.1.15-20171108.1510146141261.x86_64 sas-cas-access-management : sas-cas-access-management-1.2.135-20171109.1510266675357.x86_64 sas-cas-license : sas-cas-license-1.2.39-20171109.1510266678187.x86_64 sas-cas1 : sas-cas1-01.09.00-20171121.184626427613.x86_64 sas-casmanagement-cli : sas-casmanagement-cli-1.1.1-20171108.1510157286923.x86_64 sas-cbase1 : sas-cbase1-03.09.00-20171121.185101646231.x86_64 sas-certframe : sas-certframe-3.1.34-20171018.1508356641631.x86_64 sas-certframe1 : sas-certframe1-3.1.34-20171018.1508356641631.x86_64 sas-cleanutils : sas-cleanutils-1.0.4-20171031.1509457628521.x86_64 sas-cmp1 : sas-cmp1-03.09.00-20171121.185531205822.x86_64 sas-codegnscrpt1 : sas-codegnscrpt1-03.09.00-20171121.185844873328.x86_64 sas-collections : sas-collections-1.6.63-20171110.1510303293480.x86_64 sas-comments : sas-comments-2.3.21-20171110.1510328265800.x86_64 sas-compsrvcli : sas-compsrvcli-1.0.16-20171102.1509641720751.x86_64 sas-configuration : sas-configuration-1.30.12-20171110.1510336830697.x86_64 sas-configuration-cli : sas-configuration-cli-1.4.14-20171107.1510090910338.x86_64 sas-connect1 : sas-connect1-03.09.00-20171121.185100085041.x86_64 sas-connectcfg : sas-connectcfg-03.09.00-20171121.195739940105.x86_64 sas-consul : sas-consul-0.7.5-20171108.1510172186964.x86_64 sas-consul-template : sas-consul-template-0.14.0-20170410.1491824585.x86_64 sas-cpsetl1 : sas-cpsetl1-01.09.00-20171121.185529689751.x86_64 sas-csq : sas-csq-0.3.13-20171106.1510001115916.x86_64 sas-csq1 : sas-csq1-0.3.13-20171106.1510001115916.x86_64 sas-db21 : sas-db21-03.09.00-20171121.185829581884.x86_64 sas-dcmtranscli : sas-dcmtranscli-1.1.14-20171114.1510694922639.x86_64 sas-decisionsvr1 : sas-decisionsvr1-03.09.00-20171121.184626419434.x86_64 sas-deploymentBackup : sas-deploymentBackup-2.0.44-20171114.1510677548023.x86_64 sas-device-management : sas-device-management-1.5.29-20171110.1510325946904.x86_64 sas-devicemanagement-cli : sas-devicemanagement-cli-1.1.1-20171108.1510166215871.x86_64 sas-dmscore1 : sas-dmscore1-03.09.00-20171121.185102906876.x86_64 sas-dqacctera1 : sas-dqacctera1-03.07.00-20171121.185515883906.x86_64 sas-dquality1 : sas-dquality1-03.09.00-20171121.185858639442.x86_64 sas-dqualityssl1 : sas-dqualityssl1-03.09.00-20171121.184626329251.x86_64 sas-dtdrdbcdmgr1 : sas-dtdrdbcdmgr1-1.0.10-20171017.1508269969616.x86_64 sas-dtdrdbcgplm1 : sas-dtdrdbcgplm1-1.0.5-20171018.1508334347375.x86_64 sas-dtdrdbcmssq1 : sas-dtdrdbcmssq1-1.0.8-20170925.1506369522908.x86_64 sas-dtdrdbcrsft1 : sas-dtdrdbcrsft1-1.0.4-20170925.1506362622806.x86_64 sas-econometrcs1 : sas-econometrcs1-03.09.00-20171121.185100292176.x86_64 sas-envesntl : sas-envesntl-1.2.31-20171109.1510249728052.x86_64 sas-envesntl1 : sas-envesntl1-1.2.31-20171109.1510249728052.x86_64 sas-environmentmanager : sas-environmentmanager-3.0.159-20171113.1510601358337.x86_64 sas-erlang : sas-erlang-19.3.6-20170802.1501709153329.x86_64 sas-ets1 : sas-ets1-03.09.00-20171121.185844322504.x86_64 sas-etscomp1 : sas-etscomp1-03.09.00-20171121.184626416084.x86_64 sas-evmcltsvcs : sas-evmcltsvcs-1.3.32-20171114.1510675878787.x86_64 sas-evmcollect : sas-evmcollect-1.3.31-20171109.1510264567522.x86_64 sas-evmsvrops : sas-evmsvrops-1.3.31-20171109.1510264042695.x86_64 sas-folderscli : sas-folderscli-1.0.9-20171108.1510171839109.x86_64 sas-fonts-cli : sas-fonts-cli-1.1.1-20171108.1510170606638.x86_64 sas-graph1 : sas-graph1-03.09.00-20171121.185058880087.x86_64 sas-graphapplet1 : sas-graphapplet1-3.7.0-20171121.224842904026.x86_64 sas-graphjars1 : sas-graphjars1-3.7.0-20171121.224234633200.x86_64 sas-greenplum1 : sas-greenplum1-03.09.00-20171121.185621228861.x86_64 sas-grjavarendr1 : sas-grjavarendr1-3.7.0-20171121.224051947239.x86_64 sas-grodscrendr1 : sas-grodscrendr1-3.7.0-20171121.224046974212.x86_64 sas-hadoop1 : sas-hadoop1-03.09.00-20171121.190010393567.x86_64 sas-hadoopbascs1 : sas-hadoopbascs1-03.09.00-20171121.184626437403.x86_64 sas-hadoopmrjrs1 : sas-hadoopmrjrs1-1.4.5-20171018.1508290630670.x86_64 sas-hadooptracr1 : sas-hadooptracr1-3.0.4-20171018.1508338038158.x86_64 sas-hadoopwrapr1 : sas-hadoopwrapr1-1.2.6-20171010.1507644238877.x86_64 sas-hawq1 : sas-hawq1-03.09.00-20171002.194538273054.x86_64 sas-hdoopsasjrs1 : sas-hdoopsasjrs1-1.2.7-20170929.1506722350035.x86_64 sas-home : sas-home-1.5.53-20171110.1510303318188.x86_64 sas-hpets1 : sas-hpets1-03.09.00-20171121.185058882798.x86_64 sas-hpetsmpp1 : sas-hpetsmpp1-03.09.00-20171121.185427836083.x86_64 sas-hphpf1 : sas-hphpf1-03.09.00-20171121.185744482928.x86_64 sas-hphpfmpp1 : sas-hphpfmpp1-03.09.00-20171121.184626430370.x86_64 sas-hps1 : sas-hps1-03.09.00-20171121.185100540796.x86_64 sas-hpstat1 : sas-hpstat1-03.09.00-20171121.185428486854.x86_64 sas-hpstatmpp1 : sas-hpstatmpp1-03.09.00-20171121.185800158843.x86_64 sas-htmlcommons7 : sas-htmlcommons7-7.0.24-20171109.1510253128456.x86_64 sas-htmlcommonsbase : sas-htmlcommonsbase-5.0.4-20170713.1499959921686.x86_64 sas-httpproxy : sas-httpproxy-1.4.3-20171108.1510180722523.x86_64 sas-identitiecli : sas-identitiecli-1.0.9-20171108.1510171849690.x86_64 sas-iml1 : sas-iml1-03.09.00-20171121.184626327047.x86_64 sas-impala1 : sas-impala1-03.09.00-20171121.185153011583.x86_64 sas-importvaspk : sas-importvaspk-2.1.348-20171117.1510952593630.x86_64 sas-javaesntl : sas-javaesntl-1.1.17-20171114.1510685505098.x86_64 sas-javaesntl1 : sas-javaesntl1-1.1.17-20171114.1510685505098.x86_64 sas-job-cli : sas-job-cli-1.0.19-20171107.1510087880344.x86_64 sas-jobflows-cli : sas-jobflows-cli-1.0.19-20171107.1510087880430.x86_64 sas-libmemcached : sas-libmemcached-0.31.0-20171016.1508163683675.x86_64 sas-licenses-cli : sas-licenses-cli-1.1.1-20171108.1510172602306.x86_64 sas-mapsgeo1 : sas-mapsgeo1-03.09.00-20171121.185615635799.x86_64 sas-mapsgfka1 : sas-mapsgfka1-03.09.00-20171002.194311656660.x86_64 sas-mapsgfkb1 : sas-mapsgfkb1-03.09.00-20171002.195258353728.x86_64 sas-mapssas1 : sas-mapssas1-03.09.00-20171121.185933938325.x86_64 sas-mlearning1 : sas-mlearning1-03.09.00-20171121.184626303630.x86_64 sas-mnsrvutl1 : sas-mnsrvutl1-1.1.10-20171025.1508933335974.x86_64 sas-modelsvr1 : sas-modelsvr1-03.09.00-20171121.185100361848.x86_64 sas-monitoring : sas-monitoring-2.0.19-20171114.1510668987736.x86_64 sas-mssqlserver1 : sas-mssqlserver1-03.09.00-20171121.185441661326.x86_64 sas-mtrb1 : sas-mtrb1-03.09.00-20171121.185844594225.x86_64 sas-mvaeventbus1 : sas-mvaeventbus1-03.09.00-20171121.184626327107.x86_64 sas-mysql1 : sas-mysql1-03.09.00-20171121.185059430420.x86_64 sas-netezza1 : sas-netezza1-03.09.00-20171002.195401069623.x86_64 sas-odbc1 : sas-odbc1-03.09.00-20171121.185422942013.x86_64 sas-odstemplate1 : sas-odstemplate1-03.09.00-20171121.185707856020.x86_64 sas-optimizatin1 : sas-optimizatin1-03.09.00-20171121.190010367187.x86_64 sas-or1 : sas-or1-03.09.00-20171121.190246090699.x86_64 sas-oracle1 : sas-oracle1-03.09.00-20171121.190612219715.x86_64 sas-orchestration-cli : sas-orchestration-cli-1.0.26-20171117.1510943317637.x86_64 sas-pcfile1 : sas-pcfile1-03.09.00-20171121.190809766429.x86_64 sas-pgpool-II : sas-pgpool-II-3.6.6-20171025.1508937399117.x86_64 sas-pgpoolc : sas-pgpoolc-0.1.2-20170926.1506435737889.x86_64 sas-postgres1 : sas-postgres1-03.09.00-20171121.190048122101.x86_64 sas-postgresql-secure : sas-postgresql-secure-9.4.13-20171117.1510943677070.x86_64 sas-postgresql-secure-libs : sas-postgresql-secure-libs-9.4.13-20171117.1510943677070.x86_64 sas-prochttp1 : sas-prochttp1-03.09.00-20171121.190332136904.x86_64 sas-psqlodbc1 : sas-psqlodbc1-9.6.410-20170921.1506014477370.x86_64 sas-qc1 : sas-qc1-03.09.00-20171121.190632509079.x86_64 sas-qcjars1 : sas-qcjars1-3.7.0-20171121.224216029116.x86_64 sas-qkb-ci1 : sas-qkb-ci1-28.1.2-20171113.1510608579395.x86_64 sas-qkbadminui : sas-qkbadminui-1.0.112-20171110.1510281246376.x86_64 sas-qkbmanagement : sas-qkbmanagement-2.0.127-20171113.1510608385785.x86_64 sas-r31 : sas-r31-03.07.00-20171121.190916701984.x86_64 sas-rabbitmq-server : sas-rabbitmq-server-3.6.9-20171114.1510678422919.x86_64 sas-redshift1 : sas-redshift1-03.09.00-20171121.190100571878.x86_64 sas-renderer-commons : sas-renderer-commons-5.0.80010-20171118.1511055021217.x86_64 sas-renderer-commonsui : sas-renderer-commonsui-5.0.80010-20171118.1511055029481.x86_64 sas-renderer-gtl : sas-renderer-gtl-5.0.80010-20171118.1511055015463.x86_64 sas-reports-cli : sas-reports-cli-1.1.1-20171108.1510174417093.x86_64 sas-restorecli : sas-restorecli-1.2.7-20171108.1510165007639.x86_64 sas-runjavasvc : sas-runjavasvc-1.1.3-20170821.1503338880719.x86_64 sas-saphana1 : sas-saphana1-03.09.00-20171121.190346334354.x86_64 sas-sasadmclnt : sas-sasadmclnt-1.0.9-20171108.1510171840150.x86_64 sas-sasdatasvr1-libs : sas-sasdatasvr1-libs-9.4.13-20171117.1510943677070.x86_64 sas-sasdatasvrc : sas-sasdatasvrc-0.1.6-20171103.1509734353059.x86_64 sas-sashome : sas-sashome-1.3.87-20171110.1510304051476.x86_64 sas-sashpf1 : sas-sashpf1-01.08.00-20171121.190622056966.x86_64 sas-sasstudio : sas-sasstudio-4.3.0-20171116.101122033959.x86_64 sas-scoreaccel1 : sas-scoreaccel1-03.09.00-20171121.190903346055.x86_64 sas-scoreexecli : sas-scoreexecli-1.1.14-20171114.1510695164772.x86_64 sas-search : sas-search-2.0.30-20171117.1510960521517.x86_64 sas-searchindex : sas-searchindex-2.0.30-20171117.1510958687233.x86_64 sas-secureclint1 : sas-secureclint1-03.09.00-20171121.190118788516.x86_64 sas-securedom1 : sas-securedom1-03.09.00-20171121.190346596833.x86_64 sas-securelite1 : sas-securelite1-03.09.00-20171121.190751685612.x86_64 sas-securestrng1 : sas-securestrng1-03.09.00-20171121.191103086459.x86_64 sas-spawnercfg : sas-spawnercfg-03.11.00-20171121.203540363440.x86_64 sas-spawnercfg1 : sas-spawnercfg1-03.09.00-20171121.190125912492.x86_64 sas-stat1 : sas-stat1-03.09.00-20170821.194421320584.x86_64 sas-statcomp1 : sas-statcomp1-03.09.00-20171121.191308137849.x86_64 sas-tenant-cli : sas-tenant-cli-1.1.2-20171107.1510089142469.x86_64 sas-teradata1 : sas-teradata1-03.09.00-20171121.191633206431.x86_64 sas-textmine1 : sas-textmine1-03.09.00-20171121.190500213885.x86_64 sas-tk1 : sas-tk1-03.09.00-20171121.190839171945.x86_64 sas-tkaa1 : sas-tkaa1-03.09.00-20171121.191221269658.x86_64 sas-tkaccess1 : sas-tkaccess1-03.09.00-20171121.190132553789.x86_64 sas-tkbasestat1 : sas-tkbasestat1-03.09.00-20171121.190433257462.x86_64 sas-tkcmp1 : sas-tkcmp1-03.09.00-20171121.190750228629.x86_64 sas-tkcore1 : sas-tkcore1-03.09.00-20171121.191019968873.x86_64 sas-tkcs3rdclnt1 : sas-tkcs3rdclnt1-01.09.00-20171121.190246089008.x86_64 sas-tkdb21 : sas-tkdb21-03.09.00-20171121.192954455374.x86_64 sas-tkdmine1 : sas-tkdmine1-03.09.00-20171121.190652898852.x86_64 sas-tkdq : sas-tkdq-03.11.00-20171121.203632733616.x86_64 sas-tkdq1 : sas-tkdq1-03.09.00-20171121.190918408919.x86_64 sas-tkdqfunc : sas-tkdqfunc-03.11.00-20171121.204157076161.x86_64 sas-tkets1 : sas-tkets1-01.08.00-20171121.190253982826.x86_64 sas-tketsutil1 : sas-tketsutil1-03.09.00-20171002.200220508275.x86_64 sas-tkeventbus1 : sas-tkeventbus1-03.09.00-20171121.190814662976.x86_64 sas-tkfnc1 : sas-tkfnc1-03.09.00-20171121.191258058998.x86_64 sas-tkformats1 : sas-tkformats1-03.09.00-20171121.192954462046.x86_64 sas-tkgraph1 : sas-tkgraph1-03.09.00-20171121.190259697793.x86_64 sas-tkgreenplum1 : sas-tkgreenplum1-03.09.00-20171121.190500384734.x86_64 sas-tkhadoophiv1 : sas-tkhadoophiv1-03.09.00-20171121.190753950690.x86_64 sas-tkhawq1 : sas-tkhawq1-03.09.00-20171121.191106031693.x86_64 sas-tkhpdmine1 : sas-tkhpdmine1-03.09.00-20171121.190340161947.x86_64 sas-tkhpets1 : sas-tkhpets1-01.08.00-20171121.190645865715.x86_64 sas-tkhphpf1 : sas-tkhphpf1-03.09.00-20171121.190911604936.x86_64 sas-tkhps1 : sas-tkhps1-03.09.00-20171121.191153528095.x86_64 sas-tkhpstat1 : sas-tkhpstat1-03.09.00-20171121.190851919692.x86_64 sas-tkiml1 : sas-tkiml1-03.09.00-20171121.192954465740.x86_64 sas-tkimpala1 : sas-tkimpala1-03.09.00-20171121.191401994092.x86_64 sas-tkintr1 : sas-tkintr1-03.07.00-20171121.191658466303.x86_64 sas-tkiog1 : sas-tkiog1-03.09.00-20171121.191156907458.x86_64 sas-tkiom1 : sas-tkiom1-03.09.00-20171121.191638267772.x86_64 sas-tkjava1 : sas-tkjava1-03.09.00-20171121.192153329585.x86_64 sas-tkjavajars1 : sas-tkjavajars1-1.4.5-20170914.1505414560113.x86_64 sas-tkl4sas1 : sas-tkl4sas1-03.09.00-20171121.192432790061.x86_64 sas-tkmpi1 : sas-tkmpi1-03.09.00-20171121.191625981250.x86_64 sas-tkmssqlsvr1 : sas-tkmssqlsvr1-03.09.00-20171121.192052092400.x86_64 sas-tkmtrb1 : sas-tkmtrb1-01.08.00-20171121.192347839128.x86_64 sas-tkmysql1 : sas-tkmysql1-01.08.00-20171121.191214868652.x86_64 sas-tknetezza1 : sas-tknetezza1-03.09.00-20171002.200736766200.x86_64 sas-tknls1 : sas-tknls1-03.09.00-20171121.191625983287.x86_64 sas-tkodbc1 : sas-tkodbc1-03.09.00-20171121.192052955215.x86_64 sas-tkoracle1 : sas-tkoracle1-03.09.00-20171121.192404363749.x86_64 sas-tkormp1 : sas-tkormp1-03.09.00-20171121.191252338715.x86_64 sas-tkormpgraph1 : sas-tkormpgraph1-01.09.00-20171121.191634646146.x86_64 sas-tkpostgres1 : sas-tkpostgres1-03.09.00-20171121.192104159399.x86_64 sas-tkqc1 : sas-tkqc1-03.09.00-20171121.192346684202.x86_64 sas-tkrabbitmq1 : sas-tkrabbitmq1-03.09.00-20171121.191319115384.x86_64 sas-tkredshift1 : sas-tkredshift1-03.09.00-20171121.191629073290.x86_64 sas-tksaphana1 : sas-tksaphana1-01.08.00-20171121.192040825393.x86_64 sas-tksecure1 : sas-tksecure1-03.09.00-20171121.192337515013.x86_64 sas-tksecuressh1 : sas-tksecuressh1-03.09.00-20171121.191430610163.x86_64 sas-tkspddrv1 : sas-tkspddrv1-03.09.00-20171121.191656954157.x86_64 sas-tkspde1 : sas-tkspde1-03.09.00-20171121.192055345634.x86_64 sas-tkstat1 : sas-tkstat1-03.09.00-20171121.192353760012.x86_64 sas-tkteradata1 : sas-tkteradata1-03.09.00-20171121.191434455834.x86_64 sas-tktscore1 : sas-tktscore1-03.09.00-20171121.192116477667.x86_64 sas-tktslang1 : sas-tktslang1-03.09.00-20171121.192343366041.x86_64 sas-tktxtan1 : sas-tktxtan1-03.09.00-20171121.191632400143.x86_64 sas-transfer : sas-transfer-2.6.17-20171110.1510327082477.x86_64 sas-transfercli : sas-transfercli-1.2.9-20171108.1510171839979.x86_64 sas-tsmodel1 : sas-tsmodel1-03.09.00-20171121.192318521278.x86_64 sas-tsreconcile1 : sas-tsreconcile1-03.09.00-20171121.192531225819.x86_64 sas-tstimeinfo1 : sas-tstimeinfo1-03.09.00-20171121.192758359729.x86_64 sas-ttfonts1 : sas-ttfonts1-1.2.2-20171107.1510098512261.x86_64 sas-vault : sas-vault-0.6.4-20171108.1510172176449.x86_64 system architecture : x86_64 distro : Red Hat Enterprise Linux Server 7.3 (Maipo) kernel-release : 3.10.0-514.6.1.el7.x86_64 kernel-version : #1 SMP Sat Dec 10 11:15:38 EST 2016 memory-available : 18215172 memory-buffers : 1872 memory-cached : 7056180 memory-free : 11909864 memory-shared : 683160 memory-total : 32782392 memory-used : 20872528 operating-system : Linux timezone : EST tzoffset : -05:00 uptime : 130519s ulimits sas asHard : unlimited asSoft : unlimited coreHard : unlimited coreSoft : 0B cpuHard : unlimited cpuSoft : unlimited dataHard : unlimited dataSoft : unlimited fdHard : 150000 fdSoft : 150000 fsizeHard : unlimited fsizeSoft : unlimited locksHard : unlimited locksSoft : unlimited memlockHard : 65536B memlockSoft : 65536B nprocHard : 100000 nprocSoft : 100000 rssHard : unlimited rssSoft : unlimited stackHard : 10485760B stackSoft : 10485760B
Here's where it gets interesting. Want to see the events that are coursing through the Metrics, Alerts, or Logs exchange? Simply change 'metrics' to 'logs' or 'alerts' to view those exchanges.
[sas@intviya01 bin]$ ./sas-ops metrics --format json Listening for metrics...CTRL+C to quit { "version": 1, "collectorName": "sas-peek-filesystem", "collectorVersion": "1.3.31+7c33385", "timeStamp": "2018-01-19T12:31:38.381772-05:00", "properties": { "consulNodeName": "intviya03", "hostname": "intviya03.race.sas.com", "os": "linux_amd64" }, "measurements": [ { "resourceType": "system_filesystem", "resourceId": "A7ogZtjmBFwi7Tl1atufFA==", "properties": { "filesystemType": "devtmpfs", "mount": "devtmpfs", "options": "rw,seclabel,nosuid,size=16380212k,nr_inodes=4095053,mode=755", "path": "/dev" }, "metrics": [ { "name": "free", "unit": "MB", "type": "gauge", "detailLevel": 1, "value": 15996 }, { "name": "available", "unit": "MB", "type": "gauge", "detailLevel": 1, "value": 15996 }, { "name": "size", "unit": "MB", "type": "gauge", "detailLevel": 2, "value": 15996 }, { "name": "used", "unit": "MB", "type": "gauge", "detailLevel": 2, "value": 0 }, { "name": "files", "unit": "none", "type": "gauge", "detailLevel": 2, "value": 4095053 }, { "name": "freeFiles", "unit": "none", "type": "gauge", "detailLevel": 2, "value": 4094672 } ] }, { "resourceType": "system_filesystem", "resourceId": "CKNLix3FySpHvA3VxzHJ6A==", "properties": { "filesystemType": "tmpfs", "mount": "tmpfs", "options": "rw,seclabel,nosuid,nodev", "path": "/dev/shm" }, "metrics": [ { "name": "free", "unit": "MB", "type": "gauge", "detailLevel": 1, "value": 16007 }, { "name": "available", "unit": "MB", "type": "gauge", "detailLevel": 1, "value": 16007 }, { "name": "size", "unit": "MB", "type": "gauge", "detailLevel": 2, "value": 16007 }, { "name": "used", "unit": "MB", "type": "gauge", "detailLevel": 2, "value": 0 }, { "name": "files", "unit": "none", "type": "gauge", "detailLevel": 2, "value": 4097799 }, { "name": "freeFiles", "unit": "none", "type": "gauge", "detailLevel": 2, "value": 4097798 } ] }, { "resourceType": "system_filesystem", "resourceId": "29nmO6JTtCVSFQ5M+0BozQ==", "properties": { "filesystemType": "tmpfs", "mount": "tmpfs", "options": "rw,seclabel,nosuid,nodev,mode=755", "path": "/run" }, "metrics": [ { "name": "free", "unit": "MB", "type": "gauge", "detailLevel": 1, "value": 15262 }, { "name": "available", "unit": "MB", "type": "gauge", "detailLevel": 1, "value": 15262 }, { "name": "size", "unit": "MB", "type": "gauge", "detailLevel": 2, "value": 16007 }, { "name": "used", "unit": "MB", "type": "gauge", "detailLevel": 2, "value": 745 }, { "name": "files", "unit": "none", "type": "gauge", "detailLevel": 2, "value": 4097799 }, { "name": "freeFiles", "unit": "none", "type": "gauge", "detailLevel": 2, "value": 4097108 } ] }, { "resourceType": "system_filesystem", "resourceId": "O2JRe7oAX93FHMPDBD/4qA==", "properties": { "filesystemType": "tmpfs", "mount": "tmpfs", "options": "ro,seclabel,nosuid,nodev,noexec,mode=755", "path": "/sys/fs/cgroup" }, "metrics": [ { "name": "free", "unit": "MB", "type": "gauge", "detailLevel": 1, "value": 16007 }, { "name": "available", "unit": "MB", "type": "gauge", "detailLevel": 1, "value": 16007 }, { "name": "size", "unit": "MB", "type": "gauge", "detailLevel": 2, "value": 16007 }, { "name": "used", "unit": "MB", "type": "gauge", "detailLevel": 2, "value": 0 }, { "name": "files", "unit": "none", "type": "gauge", "detailLevel": 2, "value": 4097799 }, { "name": "freeFiles", "unit": "none", "type": "gauge", "detailLevel": 2, "value": 4097783 } ] }, { "resourceType": "system_filesystem", "resourceId": "DsrQmTw6WzV1A9SSAUXxZw==", "properties": { "filesystemType": "xfs", "mount": "/dev/mapper/rhel-root", "options": "rw,seclabel,relatime,attr2,inode64,noquota", "path": "/" }, "metrics": [ { "name": "free", "unit": "MB", "type": "gauge", "detailLevel": 1, "value": 187759 }, { "name": "available", "unit": "MB", "type": "gauge", "detailLevel": 1, "value": 187759 }, { "name": "size", "unit": "MB", "type": "gauge", "detailLevel": 2, "value": 195968 }, { "name": "used", "unit": "MB", "type": "gauge", "detailLevel": 2, "value": 8210 }, { "name": "files", "unit": "none", "type": "gauge", "detailLevel": 2, "value": 200769536 }, { "name": "freeFiles", "unit": "none", "type": "gauge", "detailLevel": 2, "value": 200688355 } ] }, { "resourceType": "system_filesystem", "resourceId": "dgpJgpu0E+01Gfq4o5PeAA==", "properties": { "filesystemType": "xfs", "mount": "/dev/sda1", "options": "rw,seclabel,relatime,attr2,inode64,noquota", "path": "/boot" }, "metrics": [ { "name": "free", "unit": "MB", "type": "gauge", "detailLevel": 1, "value": 283 }, { "name": "available", "unit": "MB", "type": "gauge", "detailLevel": 1, "value": 283 }, { "name": "size", "unit": "MB", "type": "gauge", "detailLevel": 2, "value": 496 }, { "name": "used", "unit": "MB", "type": "gauge", "detailLevel": 2, "value": 214 }, { "name": "files", "unit": "none", "type": "gauge", "detailLevel": 2, "value": 512000 }, { "name": "freeFiles", "unit": "none", "type": "gauge", "detailLevel": 2, "value": 511658 } ] }, { "resourceType": "system_filesystem", "resourceId": "1q8a8vOcz1JTRzvX99LuHA==", "properties": { "filesystemType": "tmpfs", "mount": "tmpfs", "options": "rw,seclabel,nosuid,nodev,relatime,size=3278240k,mode=700", "path": "/run/user/0" }, "metrics": [ { "name": "free", "unit": "MB", "type": "gauge", "detailLevel": 1, "value": 3201 }, { "name": "available", "unit": "MB", "type": "gauge", "detailLevel": 1, "value": 3201 }, { "name": "size", "unit": "MB", "type": "gauge", "detailLevel": 2, "value": 3201 }, { "name": "used", "unit": "MB", "type": "gauge", "detailLevel": 2, "value": 0 }, { "name": "files", "unit": "none", "type": "gauge", "detailLevel": 2, "value": 4097799 }, { "name": "freeFiles", "unit": "none", "type": "gauge", "detailLevel": 2, "value": 4097798 } ] } ] } { "version": 1, "collectorName": "sas-peek-system", "collectorVersion": "1.3.31+7c33385", "timeStamp": "2018-01-19T12:31:38.381647-05:00", "properties": { "consulNodeName": "intcas02", "hostname": "intcas02.race.sas.com", "os": "linux_amd64" }, "measurements": [ { "resourceType": "system", "resourceId": "rkDeSKuxzqVV4EFwgXckvg==", "properties": { "cpucount": "2", "uname": "Linux intcas02 3.10.0-514.6.1.el7.x86_64 #1 SMP Sat Dec 10 11:15:38 EST 2016 x86_64 (none)" }, "metrics": [ { "name": "totalCpu", "unit": "ms", "type": "counter", "detailLevel": 1, "value": 526940890 }, { "name": "userCpu", "unit": "ms", "type": "counter", "detailLevel": 2, "value": 56742810 }, { "name": "systemCpu", "unit": "ms", "type": "counter", "detailLevel": 2, "value": 8645420 }, { "name": "idleCpu", "unit": "ms", "type": "counter", "detailLevel": 2, "value": 460944280 }, { "name": "actualFreeMemory", "unit": "MB", "type": "gauge", "detailLevel": 1, "value": 14052 }, { "name": "usedMemory", "unit": "MB", "type": "gauge", "detailLevel": 2, "value": 6181 }, { "name": "freeMemory", "unit": "MB", "type": "gauge", "detailLevel": 2, "value": 9706 }, { "name": "actualUsedMemory", "unit": "MB", "type": "gauge", "detailLevel": 2, "value": 1835 }, { "name": "totalMemory", "unit": "MB", "type": "gauge", "detailLevel": 2, "value": 15887 }, { "name": "freeSwap", "unit": "MB", "type": "gauge", "detailLevel": 2, "value": 8063 }, { "name": "uptime", "unit": "s", "type": "counter", "detailLevel": 1, "value": 264988 }, { "name": "loadAverage1", "unit": "none", "type": "gauge", "detailLevel": 1, "value": 0.34 }, { "name": "waitCpu", "unit": "ms", "type": "counter", "detailLevel": 2, "value": 83860 }, { "name": "stolenCpu", "unit": "ms", "type": "counter", "detailLevel": 2, "value": 0 }, { "name": "contextSwitches", "unit": "none", "type": "counter", "detailLevel": 2, "value": 1711148629 } ] } ] }
Want to see the tasks that each sas-ops-agent performs and when? These tasks can be modified and tailored to specific customer needs. For example, the genAudit task which loads audit records to CAS can be scheduled to run more frequently or less frequently than its default of two hours, depending on the customer's needs.
[sas@intviya01 bin]$ ./sas-ops tasks Task Name Description Frequency --------- ----------- --------- CASMetrics CAS performance metrics (level=2) 1m0s CheckCpu Check CPU activity less than 95% busy 1m0s CheckFileSystem Check file system space less than 90% used 1m0s CheckMemory Check memory less than 95% used 1m0s EmiSweeper Retry publishing any payloads that failed to publish earlier 1h0m0s FileSystemMetrics Host file system metrics (level=2) 1m0s HostEnvSnapshot Host environment snapshot 02:25 LogfileArchive Archive daily 04:00 NetworkInterfaceMetrics Host network interface metrics (level=2) 1m0s OpsAgentActivity Internal sas-ops-agent activity monitor 2m0s OpsAgentTaskStatistics Internal sas-ops-agent task statistics activity monitor 4m0s PostgresMetrics Postgres metrics (level=2) 1m0s RabbitmqMetrics RabbitMQ performance metrics (level=2) 1m0s SpringBootMetrics Spring Boot performance metrics (level=2) 1m0s SpringBootMetricsLevel3 Spring Boot performance metrics (level=3) 4h0m0s SystemMetrics Host system metrics (level=2) 1m0s TopProcessMetrics Top CPU process consumers (level=2) 1m0s genAudit Extract audit records. Generate a CSV files for given applications 2h0m0s registerOpsAgentServiceTask Register Ops-Agent service task 5m0s registerOpsServiceTask Register Ops service task 5m0s
And I'm just highlighting a tiny sliver of the operations infrastructure capabilities. The main point is that SAS has listened to IT administrators who have been clamoring for command line interfaces to help manage SAS deployments. The operations infrastructure of SAS Viya 3.3 proves that we are listening and IT admins will undoubtedly be pleased with the new capabilities.
Later posts from the admin team will delve into specific uses of the operations infrastructure. Meanwhile, visit the SAS Viya 3.3 Administration Guide to read more about the operations infrastructure and its extensive capabilities
Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!
Data Literacy is for all, even absolute beginners. Jump on board with this free e-learning and boost your career prospects.