659 reputation
36
bio website unixsec.org
location United States
age 29
visits member for 4 years, 3 months
seen Mar 31 at 17:43

I'm a linux sysadmin, this describes me so much more than anything. I'm creative, determined, and like to be efficient.


Jan
22
comment Nginx location regex is not matching
Again, did you actually look at the documentation you provided? I don't know how it's my mistake, when the example I pulled at the bottom was word for word form the page you submitted.
Jan
21
comment Nginx location regex is not matching
@cnst First off, don't be an ass. Secondly, You don't use two brackets unless you're trying to match a null expression at the beginning/end. If you read the posix page you just posted, you'll see where it states under character classes: Within a bracket expression, the name of a character class enclosed in [:' and :]' stands for the list of all characters belonging to that class.
Jan
17
comment Samba will not accept the credentials
Start by upping the log level so you can see what's actually happening, and we can go from there. ############## log level = 10
Jan
16
comment SSH connection with key is unreliable
No problem, report back and let us know if it worked, and if not, we'll keep working on it :-)
Jan
16
revised SSH connection with key is unreliable
added 166 characters in body
Jan
16
comment SSH connection with key is unreliable
So it sounds like you have multiple services failing, and they're all using check_by_ssh, correct? I didn't think there was a connect_by_ssh Also, with check_by_ssh, the below has worked for me with intermittent failures in the past. Adding the -E to the check_by_ssh ignores the stderr output. It may be hanging on something. -S ignore all stdout and just returns data as well. Also, add the -v option to the check_by_ssh command.
Jan
16
comment SSH connection with key is unreliable
What check exactly is failing? For what service? Are all nagios checks failing intermittently, or just a specific service check.
Jan
16
answered SSH connection with key is unreliable
Jan
16
answered RHEL 6.4 Kicking off all Terminal Connections
Jan
16
revised Nginx location regex is not matching
clarity for comments
Jan
16
comment Nginx location regex is not matching
If the 10 digits will always be before the ending, ie 1234567890.css then one of these should work "^http(s)?://.*\d{10}\.(css|js)$" "^http(s)?://.*[0-9]{10}\.(css|js)$" "^http(s)?://.*[:digit:]{10}\.(css|js)$" "^http(s)?://.*\d+\.(css|js)$" Should match. If you're having problems build from what you know works. For instance, with the above URL 'mysite.com/test_1234567890.css'; Does '.*\d*\.css' Work?
Jan
16
comment Nginx location regex is not matching
Are you matching on the http string? And are you just looking for a string containing the ten digits and css/js ending?
Jan
16
answered Nginx location regex is not matching
Sep
14
awarded  Yearling
Jul
27
comment How can I have puppet only set password when creating a user?
For RHEL/Cent: egrep '^${username}:!!:.*:' /etc/shadow
Mar
7
answered Create a process whose ruser and user are different
Mar
6
comment How do I see which queries are running slow
No problem, let me know if you're still having a hard time.
Mar
5
comment Vulnerability Assessment against application
An even better point, and I'm not sure even the lawyers have a grasp on that one :-)
Mar
5
revised Vulnerability Assessment against application
added 33 characters in body
Mar
5
answered How do I see which queries are running slow