HariSekhon / Nagios-Plugins

450+ AWS, Hadoop, Cloud, Kafka, Docker, Elasticsearch, RabbitMQ, Redis, HBase, Solr, Cassandra, ZooKeeper, HDFS, Yarn, Hive, Presto, Drill, Impala, Consul, Spark, Jenkins, Travis CI, Git, MySQL, Linux, DNS, Whois, SSL Certs, Yum Security Updates, Kubernetes, Cloudera etc...
https://www.linkedin.com/in/HariSekhon
Other
1.13k stars 507 forks source link

check_ambari_services.pl Kerberos=STOPPED is o.k. #50

Closed fnerdwq closed 9 years ago

fnerdwq commented 9 years ago

Hello,

in Ambari 2.0.0 the Kerbers an be managed. This is shown by Ambari as a Service in the state STOPPED, which is ok, but handles as critical by the check.

Output by an Kerberized Cluster

CRITICAL: Ambari services: Flume=started, Ganglia=started, HBase=started, HDFS=started, Hive=started, Kerberos=STOPPED, MapReduce2=started, Oozie=started, Pig=installed, Slider=installed, Sqoop=installed, Tez=installed, Yarn=started, ZooKeeper=started

Bye Frederik

HariSekhon commented 9 years ago

Ah yes Ambari 2.0 has added yet another component that doesn't have a 'running' state.

I've added this to the list of components to report but not expect running or raise critical on since they don't have running states, and mentioned this in the usage help that it's easy to extend this as there is a list at the top of the code (but please submit a patch or raise a ticket to let us know if you add to the list of non-running services).

Regards,

Hari