Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature request: metric for fan rpms #161

Open
christianpinger opened this issue Oct 13, 2021 · 0 comments
Open

feature request: metric for fan rpms #161

christianpinger opened this issue Oct 13, 2021 · 0 comments

Comments

@christianpinger
Copy link

Metrics for fan rpms would be very helpful

example output

Device (e.g. MX, QFX and SRX)

user@mx-router> show chassis fan | display xml
<rpc-reply xmlns:junos="http://xml.juniper.net/junos/XXX/junos">
    <fan-information xmlns="http://xml.juniper.net/junos/XXX/junos-chassis" junos:style="rpm">
        <fan-information-rpm-item>
            <name>Top Tray Fan 1</name>
            <status>OK</status>
            <rpm>3218</rpm>
            <comment>Spinning at normal speed</comment>
        </fan-information-rpm-item>
        <fan-information-rpm-item>
            <name>Top Tray Fan 2</name>
            <status>OK</status>
            <rpm>3239</rpm>
            <comment>Spinning at normal speed</comment>
        </fan-information-rpm-item>
        <fan-information-rpm-item>
            <name>Top Tray Fan 3</name>
            <status>OK</status>
            <rpm>3239</rpm>
            <comment>Spinning at normal speed</comment>
        </fan-information-rpm-item>
...
        <fan-information-rpm-item>
            <name>Bottom Tray Fan 12</name>
            <status>OK</status>
            <rpm>3218</rpm>
            <comment>Spinning at normal speed</comment>
        </fan-information-rpm-item>
    </fan-information>
    <cli>
        <banner>{master}</banner>
    </cli>
</rpc-reply>

Satellite-Device

user@mx-router> show chassis fan satellite | display xml
<rpc-reply xmlns:junos="http://xml.juniper.net/junos/XXX/junos">
    <fan-information xmlns="http://xml.juniper.net/junos/XXX/junos-chassis" junos:style="rpm">
        <fan-information-rpm-item>
            <name>FPC 102 Tray 0 Fan 0</name>
            <status>OK</status>
            <rpm>5400</rpm>
            <comment>Spinning at normal speed</comment>
        </fan-information-rpm-item>
        <fan-information-rpm-item>
            <name>FPC 102 Tray 1 Fan 0</name>
            <status>OK</status>
            <rpm>5263</rpm>
            <comment>Spinning at normal speed</comment>
        </fan-information-rpm-item>
        <fan-information-rpm-item>
            <name>FPC 102 Tray 2 Fan 0</name>
            <status>OK</status>
            <rpm>5341</rpm>
            <comment>Spinning at normal speed</comment>
        </fan-information-rpm-item>
    </fan-information>
    <cli>
        <banner>{master}</banner>
    </cli>
</rpc-reply>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant