Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Linux, Unix › echo "The `uname` Club" (NEW POLL)
New Posts  All Forums:Forum Nav:

echo "The `uname` Club" (NEW POLL) - Page 325

Poll Results: How long have you been using your current, main installation?

 
  • 24% (50)
    less then a month
  • 23% (47)
    less then six months
  • 14% (30)
    less then a year
  • 24% (49)
    less then three years
  • 13% (27)
    three years+
203 Total Votes  
post #3241 of 4043
Can you guys help me set up a Nagios server using LDAP/AD?

I've got Nagios Core installed on an Ubuntu 14.04 LTS install. I've got the CFG files reporting correctly for my own box, but nothing as big the whole network.

Please and thanks. Also, I know there are other forums I can ask, and wiki available. However, OCN is my home away from home.
    
CPUMotherboardGraphicsRAM
Q8400 DFI LP DK P45-T2RS eVGA GTX 650 Kingston 
Hard DriveOptical DriveOSMonitor
2.8TB Total LG Super DVD Burner SATA VII Enterprise x64 Gateway FHD2401 
PowerCaseMouseMouse Pad
Corsair VX550W NZXT Source 210 White Logitech G400 Razer Kabuto 
Audio
Creative Audigy 
  hide details  
Reply
    
CPUMotherboardGraphicsRAM
Q8400 DFI LP DK P45-T2RS eVGA GTX 650 Kingston 
Hard DriveOptical DriveOSMonitor
2.8TB Total LG Super DVD Burner SATA VII Enterprise x64 Gateway FHD2401 
PowerCaseMouseMouse Pad
Corsair VX550W NZXT Source 210 White Logitech G400 Razer Kabuto 
Audio
Creative Audigy 
  hide details  
Reply
post #3242 of 4043
Installed Windows 7 on another drive for gaming/game dev. Now I'm moving all of my media stuff to a ntfs partition so I can access it in Windows. sad-smiley-002.gif
Wannabe
(15 items)
 
  
CPUMotherboardGraphicsRAM
i5 3570K GA-Z77X-UD3H ASUS GTX 760 DirectCU II OC 2x4GB Samsung DDR3 
Hard DriveHard DriveCoolingOS
128GB Crucial M4 1TB WD Green Thermaltake Water 2.0 Pro Arch Linux 
MonitorKeyboardPowerCase
Dell U2412M 1920x1200 Microsoft Sidewinder x4 Thermaltake Toughpower XT 775W Cooler Master Haf X 
MouseMouse PadAudio
Logitech G700s SteelSeries Experience I-2 Beyerdynamic DT 770 PRO 80 ohms 
  hide details  
Reply
Wannabe
(15 items)
 
  
CPUMotherboardGraphicsRAM
i5 3570K GA-Z77X-UD3H ASUS GTX 760 DirectCU II OC 2x4GB Samsung DDR3 
Hard DriveHard DriveCoolingOS
128GB Crucial M4 1TB WD Green Thermaltake Water 2.0 Pro Arch Linux 
MonitorKeyboardPowerCase
Dell U2412M 1920x1200 Microsoft Sidewinder x4 Thermaltake Toughpower XT 775W Cooler Master Haf X 
MouseMouse PadAudio
Logitech G700s SteelSeries Experience I-2 Beyerdynamic DT 770 PRO 80 ohms 
  hide details  
Reply
post #3243 of 4043
Why does this line in my .xinitrc cause X to exit before starting the WM?
Code:
(sleep 2 && urxvt -e bash --init-file <(cat .bashrc; echo "alias ls='ls --color=never'")) &

I skimmed the log but didn't see anything relevant.

Edit: I'm an idiot, I didn't specify the path to .bashrc... Sorry guys. doh.gif
Edit2: Nope, still doesn't work.
Edited by Cpt.Teacup - 3/8/15 at 5:37pm
Wannabe
(15 items)
 
  
CPUMotherboardGraphicsRAM
i5 3570K GA-Z77X-UD3H ASUS GTX 760 DirectCU II OC 2x4GB Samsung DDR3 
Hard DriveHard DriveCoolingOS
128GB Crucial M4 1TB WD Green Thermaltake Water 2.0 Pro Arch Linux 
MonitorKeyboardPowerCase
Dell U2412M 1920x1200 Microsoft Sidewinder x4 Thermaltake Toughpower XT 775W Cooler Master Haf X 
MouseMouse PadAudio
Logitech G700s SteelSeries Experience I-2 Beyerdynamic DT 770 PRO 80 ohms 
  hide details  
Reply
Wannabe
(15 items)
 
  
CPUMotherboardGraphicsRAM
i5 3570K GA-Z77X-UD3H ASUS GTX 760 DirectCU II OC 2x4GB Samsung DDR3 
Hard DriveHard DriveCoolingOS
128GB Crucial M4 1TB WD Green Thermaltake Water 2.0 Pro Arch Linux 
MonitorKeyboardPowerCase
Dell U2412M 1920x1200 Microsoft Sidewinder x4 Thermaltake Toughpower XT 775W Cooler Master Haf X 
MouseMouse PadAudio
Logitech G700s SteelSeries Experience I-2 Beyerdynamic DT 770 PRO 80 ohms 
  hide details  
Reply
post #3244 of 4043
Quote:
Originally Posted by Cpt.Teacup View Post

Why does this line in my .xinitrc cause X to exit before starting the WM?
Code:
(sleep 2 && urxvt -e bash --init-file <(cat .bashrc; echo "alias ls='ls --color=never'")) &

I skimmed the log but didn't see anything relevant.

Edit: I'm an idiot, I didn't specify the path to .bashrc... Sorry guys. doh.gif
Edit2: Nope, still doesn't work.

I'm a little confused why you even need that line. ~/.bashrc should automatically by picked up by Bash and if you want to add the ls colour thing so it only displays colour when outside of Xorg, then there's got to be easier ways to do it than this. Also, why the 2 second sleep?

I'm not really sure what you're trying to achieve here, but it looks like you can do the same thing a lot easier other ways smile.gif
post #3245 of 4043
Quote:
Originally Posted by Plan9 View Post

I'm a little confused why you even need that line. ~/.bashrc should automatically by picked up by Bash and if you want to add the ls colour thing so it only displays colour when outside of Xorg, then there's got to be easier ways to do it than this. Also, why the 2 second sleep?

I'm not really sure what you're trying to achieve here, but it looks like you can do the same thing a lot easier other ways smile.gif

The --init-file option replaces .bashrc, so I need to include it in the input. This is a specific terminal I use to interact with my media drive, which I just moved to a ntfs partition. I have ls aliased as ls --color=auto in my .bashrc, but the problem is that in ntfs all files are considered other-writable and executable, causing ls to make everything green or highlighted green, which makes my eyes bleed. So for this terminal I need to override my normal ls alias. The sleep is left over from when I had my root on a HDD, spreading the load helped smooth things out, when I switched to a SSD it never bothered me so I just left it.
Wannabe
(15 items)
 
  
CPUMotherboardGraphicsRAM
i5 3570K GA-Z77X-UD3H ASUS GTX 760 DirectCU II OC 2x4GB Samsung DDR3 
Hard DriveHard DriveCoolingOS
128GB Crucial M4 1TB WD Green Thermaltake Water 2.0 Pro Arch Linux 
MonitorKeyboardPowerCase
Dell U2412M 1920x1200 Microsoft Sidewinder x4 Thermaltake Toughpower XT 775W Cooler Master Haf X 
MouseMouse PadAudio
Logitech G700s SteelSeries Experience I-2 Beyerdynamic DT 770 PRO 80 ohms 
  hide details  
Reply
Wannabe
(15 items)
 
  
CPUMotherboardGraphicsRAM
i5 3570K GA-Z77X-UD3H ASUS GTX 760 DirectCU II OC 2x4GB Samsung DDR3 
Hard DriveHard DriveCoolingOS
128GB Crucial M4 1TB WD Green Thermaltake Water 2.0 Pro Arch Linux 
MonitorKeyboardPowerCase
Dell U2412M 1920x1200 Microsoft Sidewinder x4 Thermaltake Toughpower XT 775W Cooler Master Haf X 
MouseMouse PadAudio
Logitech G700s SteelSeries Experience I-2 Beyerdynamic DT 770 PRO 80 ohms 
  hide details  
Reply
post #3246 of 4043
Quote:
Originally Posted by Cpt.Teacup View Post

The --init-file option replaces .bashrc, so I need to include it in the input. This is a specific terminal I use to interact with my media drive, which I just moved to a ntfs partition. I have ls aliased as ls --color=auto in my .bashrc, but the problem is that in ntfs all files are considered other-writable and executable, causing ls to make everything green or highlighted green, which makes my eyes bleed. So for this terminal I need to override my normal ls alias. The sleep is left over from when I had my root on a HDD, spreading the load helped smooth things out, when I switched to a SSD it never bothered me so I just left it.

Try doing away with that line completely and just add the following into your .bashrc:
Code:
export LS_COLORS="ow=02"
moar codes: http://www.bigsoft.co.uk/blog/index.php/2008/04/11/configuring-ls_colors
post #3247 of 4043
LS_COLORS='ow=00:ex=00' is perfect, thanks! But I still can't get it to work with that line in .xinitrc, why is that? I'd like to make it specific to that one terminal.

Edit: Seems like it's an issue with the <() input, with just -e bash it's fine. I tried quoting the whole thing but still no luck.
Edited by Cpt.Teacup - 3/9/15 at 4:55am
Wannabe
(15 items)
 
  
CPUMotherboardGraphicsRAM
i5 3570K GA-Z77X-UD3H ASUS GTX 760 DirectCU II OC 2x4GB Samsung DDR3 
Hard DriveHard DriveCoolingOS
128GB Crucial M4 1TB WD Green Thermaltake Water 2.0 Pro Arch Linux 
MonitorKeyboardPowerCase
Dell U2412M 1920x1200 Microsoft Sidewinder x4 Thermaltake Toughpower XT 775W Cooler Master Haf X 
MouseMouse PadAudio
Logitech G700s SteelSeries Experience I-2 Beyerdynamic DT 770 PRO 80 ohms 
  hide details  
Reply
Wannabe
(15 items)
 
  
CPUMotherboardGraphicsRAM
i5 3570K GA-Z77X-UD3H ASUS GTX 760 DirectCU II OC 2x4GB Samsung DDR3 
Hard DriveHard DriveCoolingOS
128GB Crucial M4 1TB WD Green Thermaltake Water 2.0 Pro Arch Linux 
MonitorKeyboardPowerCase
Dell U2412M 1920x1200 Microsoft Sidewinder x4 Thermaltake Toughpower XT 775W Cooler Master Haf X 
MouseMouse PadAudio
Logitech G700s SteelSeries Experience I-2 Beyerdynamic DT 770 PRO 80 ohms 
  hide details  
Reply
post #3248 of 4043
Quote:
Originally Posted by Cpt.Teacup View Post

LS_COLORS='ow=00:ex=00' is perfect, thanks! But I still can't get it to work with that line in .xinitrc, why is that? I'd like to make it specific to that one terminal.

What's the entire contents of your .xinitrc? If that line is the last entry, then it can't be backgrounded (the ampersand &).
post #3249 of 4043
Quote:
Originally Posted by Plan9 View Post

What's the entire contents of your .xinitrc? If that line is the last entry, then it can't be backgrounded (the ampersand &).

Nah, xmonad is last.
Wannabe
(15 items)
 
  
CPUMotherboardGraphicsRAM
i5 3570K GA-Z77X-UD3H ASUS GTX 760 DirectCU II OC 2x4GB Samsung DDR3 
Hard DriveHard DriveCoolingOS
128GB Crucial M4 1TB WD Green Thermaltake Water 2.0 Pro Arch Linux 
MonitorKeyboardPowerCase
Dell U2412M 1920x1200 Microsoft Sidewinder x4 Thermaltake Toughpower XT 775W Cooler Master Haf X 
MouseMouse PadAudio
Logitech G700s SteelSeries Experience I-2 Beyerdynamic DT 770 PRO 80 ohms 
  hide details  
Reply
Wannabe
(15 items)
 
  
CPUMotherboardGraphicsRAM
i5 3570K GA-Z77X-UD3H ASUS GTX 760 DirectCU II OC 2x4GB Samsung DDR3 
Hard DriveHard DriveCoolingOS
128GB Crucial M4 1TB WD Green Thermaltake Water 2.0 Pro Arch Linux 
MonitorKeyboardPowerCase
Dell U2412M 1920x1200 Microsoft Sidewinder x4 Thermaltake Toughpower XT 775W Cooler Master Haf X 
MouseMouse PadAudio
Logitech G700s SteelSeries Experience I-2 Beyerdynamic DT 770 PRO 80 ohms 
  hide details  
Reply
post #3250 of 4043
Try the following line instead:
Code:
LS_COLORS='ow=00:ex=00' urxvt &
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Linux, Unix
Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Linux, Unix › echo "The `uname` Club" (NEW POLL)