Skip to content
Question Defense
Technical answers for technical questions
Question Defense
  • Backtrack Linux
    • Backtrack Article Request
  • HTTP ERROR
  • Kali Linux
    • Kali Linux Article Request
  • Privacy Policy
  • Tools
    • Class Of Device – Bluetooth CoD List In Binary And Hex
    • phpMyAdmin Blowfish Secret Generator
  • Documentation
    • check_postgres.pl
    • Linux Man Pages
      • insmod
      • kill
      • Logrotate
      • ls
      • lsmod
      • mail
      • modprobe
      • more
      • mysqldump
      • ntfsprogs
      • ntfsresize
      • pg_dump
      • psql
      • rmmod
      • screen
    • Monarch
      • Monarch Commands
      • Monarch Control
      • Monarch Escalations
      • Monarch Groups
      • Monarch Management of Nagios Hosts
      • Monarch Managing Nagios Contacts
      • Monarch Managing Nagios Hosts
      • Monarch Profiles
      • Monarch Services Template
      • Monarch Time Periods
      • Monarch Tools
  • Tags
  • Contact
Linkedin page opens in new windowTwitter page opens in new window
Search:
Search
  • Backtrack Linux
    • Backtrack Article Request
  • HTTP ERROR
  • Kali Linux
    • Kali Linux Article Request
  • Privacy Policy
  • Tools
    • Class Of Device – Bluetooth CoD List In Binary And Hex
    • phpMyAdmin Blowfish Secret Generator
  • Documentation
    • check_postgres.pl
    • Linux Man Pages
      • insmod
      • kill
      • Logrotate
      • ls
      • lsmod
      • mail
      • modprobe
      • more
      • mysqldump
      • ntfsprogs
      • ntfsresize
      • pg_dump
      • psql
      • rmmod
      • screen
    • Monarch
      • Monarch Commands
      • Monarch Control
      • Monarch Escalations
      • Monarch Groups
      • Monarch Management of Nagios Hosts
      • Monarch Managing Nagios Contacts
      • Monarch Managing Nagios Hosts
      • Monarch Profiles
      • Monarch Services Template
      • Monarch Time Periods
      • Monarch Tools
  • Tags
  • Contact

Tag Archives: script

You are here:
  1. Home
  2. Entries tagged with "script"

Technology Insights

Use Nagios To Check Process Size And Provide Alerts Based on Process Megabyte Size

InsightsBy alexDecember 8, 2009Leave a comment

Nagios is an awesome open source application that provides a way to monitor pretty much anything that you can think of on your network. There are tons of plugins written for Nagios that will monitor anything from PostgreSQL database size to the number of users logged into a server. Today I needed to start monitoring…

Technology Insights

Stopping nagios: kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec … or kill -l [sigspec]

InsightsBy alexDecember 7, 20093 Comments

When attempting to stop or restart Nagios on CentOS I was receiving the below error. This has been an issue for me for quite some time however I was to lazy to even put a patch in place and always just would kill the Nagios processes by hand. Tonight I was modifying some Nagios configuration…

Technology Errors

Cron Bash Script Error: /usr/bin/env: ruby: No such file or directory

ErrorsBy alexDecember 2, 2009Leave a comment

I needed to create a bash shell script tonight that called another shell script with options that then would load a Ruby environment and execute certain commands within a Ruby project. I ran into numerous issues but most were silly things such as typos or other minor issues caused by myself. The one issue I…

Code Snippets

Updated Bash Script To Provide Read Only Postgres Database Table Access

Code SnippetsBy alexNovember 18, 20098 Comments

I wrote an article a couple weeks ago regarding a shell script to run that would provide a postgres user read only access to every table in a specific database. Tonight I was updating a over a dozen databases and needed to provide read only access to all of them to a specific user so…

Technology Insights

Shell Script To Compress Many Directories Into Many Separate tar.bzip2 Files

InsightsBy alexNovember 10, 2009Leave a comment

I needed to clean up a directory on a server that included numerous directories each with numerous files inside each directory. I decided to write a quick shell script that would archive with tar and then compress with bzip2. The shell script requires you pass in a variable which could technically just be “*” to include all…

Technology Errors

sudo: sorry, you must have a tty to run sudo

ErrorsBy alexMarch 23, 200944 Comments

I was recently working on a Perl script that would SSH to another server and run a sudo command on the remote server that was failing. The error that was received is below. Error: sudo: sorry, you must have a tty to run sudo The reason for this is an update along the way with…

Technology Insights

Cannot Play Music on www.turkishmusic.org, Open File t1.pl?

InsightsBy alexMarch 3, 20092 Comments

If you are unable to play music on the web site www.turkishmusic.org it is most likely that you do not have Real Player installed. When clicking on a link to play music on the site you will receive a pop up asking if you want to open or save a file named t1.pl. The pop…

123
Question Defense
© 2021 question-defense.com
Go to Top