Skip to content

Problems with Scraping NAT/Security Metrics #304

Description

@m4us1ne

I am Scraping Metrixs from an srx345 cluster running 23.4R2-S5.5 and v0.14.3 on the exporter side.
when scraping Nat or Security Metrics, im getting error messages

time="2025-08-04T12:31:22Z" level=error msg="NAT: XML syntax error on line 3: unexpected EOF"
time="2025-08-04T12:31:27Z" level=error msg="Security: strconv.ParseInt: parsing \"N/A\": invalid syntax"

my relevant config:

system {
    root-authentication {
        encrypted-password XXXXXXXXXXXXXXXXX
    }
    login {
        user exporter {
            uid 2002;
            class operator;
            authentication {
                ssh-xxxxxxxxxxxxxxxxxxxxxxxxx
            }
        }

    services {
        netconf {
            ssh;
            rfc-compliant;
        }

other metrics (environment/interfaces) scrape fine.
am i missing something obvious or is there a problem in the exporter

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions