2

Regarding: Linux: how to send new lines in log files to remote syslog?

Reasons given for putting the above topic on hold, and my explanation of why it is invalid following each:

  1. "You are not the sysadmin of the box". I am sysadmin of other boxes here, including the splunk server to which I want the logs to go to. I may be able to make a case to acquiring sudo privilege on the box in question, but it depends on me doing research and proving it's necesssary beforehand. Hence the question I posted. A person who is employed as a sysadmin, does not necessarily have root on all the boxes that he or she needs to interact with, but often finds they need to understand and implement things on those boxes.

  2. "Talk to the admins! It's likely they already have a solution." You are jumping to conclusions. In fact, it makes me wonder whether you are living on cloud 9, because reality is that most likely they DON'T have a solution. And in fact in my case, they don't, and it will take major hoops to jump to try and prod them into implementing a solution, because node.js is a fairly recent addition here.

For context I work in a large internet company here in the Valley and things are so departmentalized that it can literally take two or three days just to find who is the right person to talk to. Often, when you seek out someone for help, your request is more likely to receive attention if you have done your homework beforehand and can present a clear case. THis is the reality of working in a place where you are in charge of only a small portion of the infrastructure.

The question I posted is a valid scenario that I am currently tasked with at my job. My reason for coming to serverfault is because I am unable to find what I need through googling, and I'm sure there's other sysadmins who have faced similiar issues and can suggest solutions. Honestly, what's so "off topic" about that?

3 Answers 3

6

I started to leave this as another comment in your linked question, but it was getting to be on the long side so this is probably a better place.

In reply to "All this tells us is that someone is trying to force the wrong team to implement the fix.", you answered:

Such as it may be, one has to work with it.

This is where we get into the grey area of professionalism as ServerFault sees it. Yes, you work for a large company, and they are making you do something that you shouldn't. You are a professional. What is being asked of you isn't, and some would say that your duty as a professional is to dog the point that it wouldn't be professional of you to do this. Let's skip over that, because like you said, sometimes we're just stuck with situations like this.

What has to be decided is who an answer is going to be useful to. In this case that is most likely to be:

  1. Other people in your position.
  2. People who incidentally learn something in passing from reading the Q&A.
  3. By far the most likely: unprofessional people trying to implement unprofessional things.

RE #3, SF tries very hard not to appeal to that sort, and that's sorta where your question dies in the water. It's crappy that you're stuck in this position and that your question isn't likely to get much help here, but I honestly think you're more likely to get more mileage at this point by voluntarily migrating it over to unix.SE. (or superuser, but I think better of your position than that)

It's not so much trying to punish you as steer you toward the people most likely to provide answers in a "just make it work" academic exercise.

2

The first part of your question:

"Anyone know of some software for linux"

is likely the reason for the 2 "Shopping" close votes (product, service, or learning material recommendations) as it is Off-Topic to ask for software recommendations directly. They usually slide by if you simply don't ask for software recommendations and the answers simply point to software that will fix the issue at hand. So changing that part to read something like "Anyone know a way in linux... " would have helped there.

The rest seems to be on-topic.

I agree that it is a little silly to close it after discovering you aren't the admin of the box, but at the same time you have to understand that the user's that voted to close it at that point for that reason see a lot of questions where even a valid solution can become a moot point because the OP simply doesn't have the means to act on the answer/advice given.

It could also be considered more on topic for unix.stackexchange.com since you aren't necessarily the sysadmin of the box, but that's semantics at this point.

But you've made your point and I think the question (after some minor edits) is worth a re-open vote.

1

I would tend to agree that this question is on-topic, but it is poorly written in its current form (you're asking us for a product recommendation. Google does product recommendations, Server Fault does Solutions -- you should be telling us your problem and what you've tried to solve it so far. I will make some edits to your question shortly to help it fit better with Server Fault's format.

The Server Fault community is, for better or worse, somewhat aggressive at closing "product recommendation" and "not really the admin" questions. Neither fits our target scope or audience. The way your question was originally phrased makes it appear to be both of those things, so it's part of the collateral damage of trying to keep this community from degrading into "tech support for the interwebs".

5
  • 2
    I kinda disagree. The OP has no admin rights on the box == user. The real solution is to do it properly everything else is just bodgery and hackery. As you've said yourself SF has a strong ethos of doing it right and in this case that's dealing wit the admin's or getting a new box where you have admin rights.
    – user9517
    Oct 23, 2013 at 20:38
  • @Iain I've got root on every box here, but I've also got stuff that simply won't talk to syslog without an intermediary (because developers suck and have no concept of how this is supposed to work). root or not sometimes you need to swallow a file's contents and send it to your loghost which is really the crux of the question...
    – voretaq7
    Oct 23, 2013 at 20:43
  • Sorry I really don't see this as an SF question. OP had no idea of the system's config, doesn't have admin rights, doesn't want to/can't modify the app - and has rejected other useful observations - what is this system admin with your limbs tied together ?
    – user9517
    Oct 23, 2013 at 20:47
  • If the question collects more close votes I won't save it a second time, but the OP's bureaucratic situation is in no way relevant to the question & possible answers. If OP elects to reject every possible solution for reasons that's his issue, not ours - we've got plenty of questions with great answers where the OP rejected every one, but those answers are useful for others. Server Fault helps those who help themselves...
    – voretaq7
    Oct 23, 2013 at 21:04
  • 5
    Dealing with beurocray is as you have said yourself part of the sysadmin job. As we have discussed before, we expect people here to have the administrative ability and authority to make changes. The OP here has neither. Whist I feel the OPs pain I really can't see how this is in anyway a system administration task. If anything it's more a programming task as the real solution (if your not going to do it the correct sysadmin way) is to catch the messages and send them on their way via your own daemon. And I already chucked a close vote on it as it's not really relevant ...
    – user9517
    Oct 23, 2013 at 21:12

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .