Want to subscribe to topics you're interested in?
Become a Member

Sysadmin Pushover

Discussion in 'System Administration' started by Matt, May 30, 2014.

  1. dooma

    dooma Active Member

    303
    31
    28
    Oct 15, 2016
    Cairo
    Ratings:
    +44
    Local Time:
    10:08 AM
    Yes. I logged in as a root. I'm putting it at : /root/scripts/process_list.txt

    please check attached error :)
     

    Attached Files:

  2. eva2000

    eva2000 Administrator Staff Member

    44,424
    10,144
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,693
    Local Time:
    6:08 PM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    does directory /root/scripts exist first ?
     
  3. Sunka

    Sunka Well-Known Member

    1,140
    312
    83
    Oct 31, 2015
    Pula, Croatia
    Ratings:
    +508
    Local Time:
    10:08 AM
    Nginx 1.17.9
    MariaDB 10.3.22
    You need to change permissions to read/write for that file
     
  4. dooma

    dooma Active Member

    303
    31
    28
    Oct 15, 2016
    Cairo
    Ratings:
    +44
    Local Time:
    10:08 AM
    Sorry. It wasn't. Now saved. I created the bash and executed it first before creating the process list. does this should be done again ??

    Thank you :)
     
    Last edited: Jul 5, 2017
  5. dooma

    dooma Active Member

    303
    31
    28
    Oct 15, 2016
    Cairo
    Ratings:
    +44
    Local Time:
    10:08 AM
    I created application at my pushover account as a website and I entered my forums link. I added the application's API and the device name which is myiphone to the bash. But I'm receiving the notification over my email every min not at my mobile pushover. do you have any idea regarding that ?

    and What is this process : usr/bin/java ? what's its usage ? it's down.

    Thanks alot:)
     
  6. dooma

    dooma Active Member

    303
    31
    28
    Oct 15, 2016
    Cairo
    Ratings:
    +44
    Local Time:
    10:08 AM
    Modification : I made a mistake my user was wrong. Now am receiving at my mobile.
    I think the script send only notifications to email if the mobile is not working.

    The only issue is Java :D

    lol, I know that you wanna block me :D :D @eva2000
     
  7. eva2000

    eva2000 Administrator Staff Member

    44,424
    10,144
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,693
    Local Time:
    6:08 PM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    the process you list depend on what you want to monitor, so if you do not want to monitor java, remove the line
     
  8. dooma

    dooma Active Member

    303
    31
    28
    Oct 15, 2016
    Cairo
    Ratings:
    +44
    Local Time:
    10:08 AM
    Yes, I know. I only asked why do you use it for ex. ?

    Thanks
     
  9. eva2000

    eva2000 Administrator Staff Member

    44,424
    10,144
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,693
    Local Time:
    6:08 PM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    nope don't use this script.. i have my own custom ones for private use but it's same concept :)