Ad Widget

Collapse

Retrieve values using ssh script

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dkokkonakis
    Junior Member
    • Aug 2022
    • 6

    #1

    Retrieve values using ssh script

    Hello everyone, I use an ssh script to a juniper device and I take some information about CPU/Memory/Swap and about running services. I want to create some graphs for these. Actually three , one for CPU, one for memory and one for the services that are using cpu. The result of the script is showing on the picture, I would appreciate any help!!
    thank you.
    Attached Files
  • dimir
    Zabbix developer
    • Apr 2011
    • 1080

    #2
    Isn't Juniper a network device? If yes, shouldn't it be running SNMP agent? If yes, isn't it easier to use SNMP protocol to monitor it? Zabbix even has some out-of-the-box template for Juniper

    Click image for larger version  Name:	image.png Views:	0 Size:	5.4 KB ID:	450812

    In case you are interested here are some details https://www.zabbix.com/integrations/juniper

    Comment

    • dkokkonakis
      Junior Member
      • Aug 2022
      • 6

      #3
      dimir, I use this template for all other metrics, but I can't measure the above services, so I must create something custom...

      Comment

      • Hamardaban
        Senior Member
        Zabbix Certified SpecialistZabbix Certified Professional
        • May 2019
        • 2713

        #4
        Perhaps it would be more convenient to start by displaying a list of processes in json? Try it like this: "show system processes extensive | display json" .

        Comment

        Working...