# VMware Gateway Appliance(VGA) in Failed State as pf9-monasca-vcenter-exporter Service Fails to Start

## Problem

* */var/log/pf9/hostagent.log.*

{% tabs %}
{% tab title="None" %}

```none
427 - session.py INFO - In failed state until next set_config message...607 - session.py INFO - In failed state until next set_config message...
```

{% endtab %}
{% endtabs %}

* Multiple attempts to restart ***pf9-monasca-vcenter-exporter*** service are observed in */var/log/pf9/hostagent.log.*

{% tabs %}
{% tab title="None" %}

```none
654 - pf9_app.py INFO - Setting service state pf9-monasca-vcenter-exporter.1.5.0-45. Command: sudo /etc/init.d/pf9-monasca-vcenter-exporter start
```

{% endtab %}
{% endtabs %}

* Metrics are not fetched in */var/log/pf9/monasca-agent/collector.log.*

{% tabs %}
{% tab title="None" %}

```none
ERROR | collector | monasca_agent.collector.checks.check.prometheus(prometheus.py:236) | Could not get metrics from http://127.0.0.1:9102/metrics with error ('Connection aborted.', BadStatusLine("''",))
```

{% endtab %}
{% endtabs %}

## Environment

* Platform9 Managed OpenStack - All Versions

## Cause

* ***pf9-monasca-vcenter-exporter*** service is stopped on the VMware Gateway Appliance.

## Resolution

1. Check the status of the service.

{% tabs %}
{% tab title="None" %}

```none
$ sudo service pf9-monasca-vcenter-exporter status
```

{% endtab %}
{% endtabs %}

2. Start the service.

{% tabs %}
{% tab title="None" %}

```none
$ sudo service pf9-monasca-vcenter-exporter start
```

{% endtab %}
{% endtabs %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://platform9.com/kb/pmo/solution/vmware-gateway-appliance-vga-in-failed-state-as-pf9-monasca-vce.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
