Skip to main content
deleted 121 characters in body
Source Link
Rui F Ribeiro
  • 58k
  • 28
  • 156
  • 237

I am having issue researching the right way to go about a problem. The problem is the syslog-ng file in the salt master server at the moment only enforces unix-stream as follows:

source s_sys {
        file ("/proc/kmsg" program_override("kernel: "));
        unix-stream ("/dev/log");
        internal();
};
source s_remote {
        udp(ip(0.0.0.0) port(514));
};

but now we want the new Centos-7 backup servers to have unix-dgram. So now I have a dilemma either to change this line to unix-dgram and wait to see if highstating with this config will have an issue when salt enforces unix-dgram on all our servers but I would very much like to add both the conditions in the salt config files. I researched a bit but could not find anything related in which both dgram and stream are used in the same config file.

Is there a way to do both, maybe some if statement or something but I have no idea how.

Any help would be really great.

Kind Regards, Sumeet?

I am having issue researching the right way to go about a problem. The problem is the syslog-ng file in the salt master server at the moment only enforces unix-stream as follows:

source s_sys {
        file ("/proc/kmsg" program_override("kernel: "));
        unix-stream ("/dev/log");
        internal();
};
source s_remote {
        udp(ip(0.0.0.0) port(514));
};

but now we want the new Centos-7 backup servers to have unix-dgram. So now I have a dilemma either to change this line to unix-dgram and wait to see if highstating with this config will have an issue when salt enforces unix-dgram on all our servers but I would very much like to add both the conditions in the salt config files. I researched a bit but could not find anything related in which both dgram and stream are used in the same config file.

Is there a way to do both, maybe some if statement or something but I have no idea how.

Any help would be really great.

Kind Regards, Sumeet

I am having issue researching the right way to go about a problem. The problem is the syslog-ng file in the salt master server at the moment only enforces unix-stream as follows:

source s_sys {
        file ("/proc/kmsg" program_override("kernel: "));
        unix-stream ("/dev/log");
        internal();
};
source s_remote {
        udp(ip(0.0.0.0) port(514));
};

but now we want the new Centos-7 backup servers to have unix-dgram. So now I have a dilemma either to change this line to unix-dgram and wait to see if highstating with this config will have an issue when salt enforces unix-dgram on all our servers but I would very much like to add both the conditions in the salt config files. I researched a bit but could not find anything related in which both dgram and stream are used in the same config file.

Is there a way to do both?

added 2 characters in body
Source Link

I am having issue researching the right way to go about a problem. The problem is the syslog-ng file in the salt master server at the moment only enforces unix-stream as follows:

source s_sys {
        file ("/proc/kmsg" program_override("kernel: "));
        unix-stream ("/dev/log");
        internal();
};
source s_remote {
        udp(ip(0.0.0.0) port(514));
};

but now we want the new Centos-7 backup servers to have unix-dgram. So now I have a dilemma either to change this line to unix-dgram and wait to see if highstating with this config will have an issue when salt enforces unix-dgram on all our servers but I would very much like to add both the conditions in the salt config files. I researchresearched a bit but could not find anything related in which both dgram and stream are used in the same config file.

Is there a way to do both, maybe some if statement or something but I have no idea how.

Any help would be really great.

Kind Regards, Sumeet

I am having issue researching the right way to go about a problem. The problem is the syslog-ng file in the salt master server at the moment only enforces unix-stream as follows:

source s_sys {
        file ("/proc/kmsg" program_override("kernel: "));
        unix-stream ("/dev/log");
        internal();
};
source s_remote {
        udp(ip(0.0.0.0) port(514));
};

but now we want the new Centos-7 backup servers to have unix-dgram. So now I have a dilemma either to change this line to unix-dgram and wait to see if highstating with this config will have an issue when salt enforces unix-dgram on all our servers but I would very much like to add both the conditions in the salt config files. I research a bit but could not find anything related in which both dgram and stream are used in the same config file.

Is there a way to do both, maybe some if statement or something but I have no idea how.

Any help would be really great.

Kind Regards, Sumeet

I am having issue researching the right way to go about a problem. The problem is the syslog-ng file in the salt master server at the moment only enforces unix-stream as follows:

source s_sys {
        file ("/proc/kmsg" program_override("kernel: "));
        unix-stream ("/dev/log");
        internal();
};
source s_remote {
        udp(ip(0.0.0.0) port(514));
};

but now we want the new Centos-7 backup servers to have unix-dgram. So now I have a dilemma either to change this line to unix-dgram and wait to see if highstating with this config will have an issue when salt enforces unix-dgram on all our servers but I would very much like to add both the conditions in the salt config files. I researched a bit but could not find anything related in which both dgram and stream are used in the same config file.

Is there a way to do both, maybe some if statement or something but I have no idea how.

Any help would be really great.

Kind Regards, Sumeet

Rollback to Revision 1
Source Link

I am having issue researching the right way to go about a problem. The problem is the syslog-ng file in the salt master server at the moment only enforces unix-stream as follows:

source s_sys {
        file ("/proc/kmsg" program_override("kernel: "));
        unix-stream ("/dev/log");
        internal();
};
source s_remote {
        udp(ip(0.0.0.0) port(514));
};

but now we want the new Centos-7 backup servers to have unix-dgram. So now I have a dilemma either to change this line to unix-dgram and wait to see if highstating with this config will have an issue when salt enforces unix-dgram on all our servers but I would very much like to add both the conditions in the salt config files. I doresearch a bit but could not know whetherfind anything related in which both dgram and stream are used in the same config file.

Is there a way to do both, maybe some if statement or something but I have no idea how.

Any help would be really great.

Kind Regards, Sumeet

The problem is the syslog-ng file in the salt master server at the moment only enforces unix-stream as follows:

source s_sys {
        file ("/proc/kmsg" program_override("kernel: "));
        unix-stream ("/dev/log");
        internal();
};
source s_remote {
        udp(ip(0.0.0.0) port(514));
};

but now we want the new Centos-7 backup servers to have unix-dgram. So now I have a dilemma either to change this line to unix-dgram and wait to see if highstating with this config will have an issue when salt enforces unix-dgram on all our servers but I would very much like to add both the conditions in the salt config files. I do not know whether both dgram and stream are used in the same config file.

I am having issue researching the right way to go about a problem. The problem is the syslog-ng file in the salt master server at the moment only enforces unix-stream as follows:

source s_sys {
        file ("/proc/kmsg" program_override("kernel: "));
        unix-stream ("/dev/log");
        internal();
};
source s_remote {
        udp(ip(0.0.0.0) port(514));
};

but now we want the new Centos-7 backup servers to have unix-dgram. So now I have a dilemma either to change this line to unix-dgram and wait to see if highstating with this config will have an issue when salt enforces unix-dgram on all our servers but I would very much like to add both the conditions in the salt config files. I research a bit but could not find anything related in which both dgram and stream are used in the same config file.

Is there a way to do both, maybe some if statement or something but I have no idea how.

Any help would be really great.

Kind Regards, Sumeet

Repetitive Begging does not improve questions.
Source Link
Rui F Ribeiro
  • 58k
  • 28
  • 156
  • 237
Loading
Source Link
Loading