Ad Widget

Collapse

monitoring ppp0 (pppoe) status and ip

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • MADxHAWK
    Member
    • Apr 2011
    • 41

    #1

    monitoring ppp0 (pppoe) status and ip

    Hi,

    im using an fli4l linuxbased router for my internetconnections. Because of the very small linuxversion (baseinstallation fits on a 1.44MB Floppy) and the low Diskspace zabbix_agent(d) wont run on it. So i can only gather data via snmp.

    What i want is to monitor the status of the ppp0 interface (DSL On-/Offline) but i dont have any idea how to get these infos from snmp.

    I can get the status of the router via a scriptcommand like

    cimon <host_ip> status pppoe
    which will either return OK Online or OK Offline. Is there any way to run this command from Zabbix server as item?

    greetz
    MAD
  • marcel
    Senior Member
    Zabbix Certified Specialist
    • Oct 2010
    • 112

    #2
    how about zabbix_sender combined with crontab?
    Zabbix Certified Specialist for Large Environments since 12/2010

    Comment

    • MADxHAWK
      Member
      • Apr 2011
      • 41

      #3
      Well i already thought about that soulution, but i thought maybe i could add a "Item-key" like system.run[command,<mode>] but the command / script wont run on the monitored host system, it would run on the zabbix serversytem. So zubbix could poll the data, instead of receiving it from a zabbix-sender runned by crontab. And Another problem, you can run a cron only every full minute, so thers no way to get data every 30 or 90 seconds.


      greetz
      MAD

      Comment

      • marcel
        Senior Member
        Zabbix Certified Specialist
        • Oct 2010
        • 112

        #4
        system.run needs zabbix_agentd to be running on the target host

        you can run zabbix_sender in an infinite shell script loop

        marcel
        Zabbix Certified Specialist for Large Environments since 12/2010

        Comment

        • MADxHAWK
          Member
          • Apr 2011
          • 41

          #5
          Ok many thanks, will try this

          Comment

          Working...