Ad Widget

Collapse

how to create zabbix script for login ?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • XeoByo
    Junior Member
    • Jun 2012
    • 7

    #1

    how to create zabbix script for login ?

    hi
    I have a assignment that use zabbix in my school, my teacher want me to create a script that can show how many user that login in the server. Can someone tell me how to it (step by step), sorry for my bad english
  • Davidus
    Senior Member
    • Dec 2010
    • 281

    #2
    and this is how you are doing your homework?
    Last edited by Davidus; 16-07-2012, 09:23.

    Comment

    • XeoByo
      Junior Member
      • Jun 2012
      • 7

      #3
      I'm still beginner at zabbix so it obvious that I'm asking, right ?

      can someone help me ??

      Comment

      • Davidus
        Senior Member
        • Dec 2010
        • 281

        #4
        Don’t exactly understand task...
        You have to figure out number of users logged to zabbix server, or users using zabbix GUI?

        Comment

        • XeoByo
          Junior Member
          • Jun 2012
          • 7

          #5
          I have to know how many user who logged to zabbix server

          Comment

          • Davidus
            Senior Member
            • Dec 2010
            • 281

            #6
            To find out how many users are logged to zabbix server machine you can simply do following,
            Execute command uptime on server. You are going to see output similar to
            Code:
            [root@mons1 ~]# uptime
             09:40:10 up 103 days, 23:29,  1 user,  load average: 0.10, 0.16, 0.10
            [root@mons1 ~]#

            Comment

            • XeoByo
              Junior Member
              • Jun 2012
              • 7

              #7
              Originally posted by Davidus
              To find out how many users are logged to zabbix server machine you can simply do following,
              Execute command uptime on server. You are going to see output similar to
              Code:
              [root@mons1 ~]# uptime
               09:40:10 up 103 days, 23:29,  1 user,  load average: 0.10, 0.16, 0.10
              [root@mons1 ~]#
              thank you, It's work!!
              now I just need to add this command in the script

              Case closed
              Last edited by XeoByo; 17-07-2012, 09:18.

              Comment

              • Davidus
                Senior Member
                • Dec 2010
                • 281

                #8
                good luck

                Comment

                Working...