In HP-UX, how can I log Informational Only system event messages in syslog.log?












2















I was getting some Informational Only single-bit memory errors on a server for at least three weeks, but I only happened to notice them because I went looking through the SEL via the MP console for an unrelated reason. I would like to be automatically notified about things like this, maybe by having them logged to syslog.log and having a daily cron job that sends out new EMS entries from the log via email.



So my question is, given my syslog.conf file (below), why aren't all Informational Only entries already being logged in the syslog.log? My understanding is that "*.info;mail.none" means all messages Informational and above (except mail messages) should be logged to syslog.log, but none of them were in there, and I received dozens. Are they considered mail messages? Or is it just that an Informational Only message in the SEL is a separate thing from an event that would be logged by syslogd?



# @(#)B.11.31_LR 
#
# syslogd configuration file.
#
# See syslogd(1M) for information about the format of this file.
#
mail.debug /var/adm/syslog/mail.log
*.info;mail.none /var/adm/syslog/syslog.log
*.alert /dev/console
*.alert root
*.emerg *


This is obviously for an HP-UX 11i v3 server, but I would like to set up some v2 servers the same way, so if there are any differences between configuring the two, let me know.










share|improve this question



























    2















    I was getting some Informational Only single-bit memory errors on a server for at least three weeks, but I only happened to notice them because I went looking through the SEL via the MP console for an unrelated reason. I would like to be automatically notified about things like this, maybe by having them logged to syslog.log and having a daily cron job that sends out new EMS entries from the log via email.



    So my question is, given my syslog.conf file (below), why aren't all Informational Only entries already being logged in the syslog.log? My understanding is that "*.info;mail.none" means all messages Informational and above (except mail messages) should be logged to syslog.log, but none of them were in there, and I received dozens. Are they considered mail messages? Or is it just that an Informational Only message in the SEL is a separate thing from an event that would be logged by syslogd?



    # @(#)B.11.31_LR 
    #
    # syslogd configuration file.
    #
    # See syslogd(1M) for information about the format of this file.
    #
    mail.debug /var/adm/syslog/mail.log
    *.info;mail.none /var/adm/syslog/syslog.log
    *.alert /dev/console
    *.alert root
    *.emerg *


    This is obviously for an HP-UX 11i v3 server, but I would like to set up some v2 servers the same way, so if there are any differences between configuring the two, let me know.










    share|improve this question

























      2












      2








      2


      1






      I was getting some Informational Only single-bit memory errors on a server for at least three weeks, but I only happened to notice them because I went looking through the SEL via the MP console for an unrelated reason. I would like to be automatically notified about things like this, maybe by having them logged to syslog.log and having a daily cron job that sends out new EMS entries from the log via email.



      So my question is, given my syslog.conf file (below), why aren't all Informational Only entries already being logged in the syslog.log? My understanding is that "*.info;mail.none" means all messages Informational and above (except mail messages) should be logged to syslog.log, but none of them were in there, and I received dozens. Are they considered mail messages? Or is it just that an Informational Only message in the SEL is a separate thing from an event that would be logged by syslogd?



      # @(#)B.11.31_LR 
      #
      # syslogd configuration file.
      #
      # See syslogd(1M) for information about the format of this file.
      #
      mail.debug /var/adm/syslog/mail.log
      *.info;mail.none /var/adm/syslog/syslog.log
      *.alert /dev/console
      *.alert root
      *.emerg *


      This is obviously for an HP-UX 11i v3 server, but I would like to set up some v2 servers the same way, so if there are any differences between configuring the two, let me know.










      share|improve this question














      I was getting some Informational Only single-bit memory errors on a server for at least three weeks, but I only happened to notice them because I went looking through the SEL via the MP console for an unrelated reason. I would like to be automatically notified about things like this, maybe by having them logged to syslog.log and having a daily cron job that sends out new EMS entries from the log via email.



      So my question is, given my syslog.conf file (below), why aren't all Informational Only entries already being logged in the syslog.log? My understanding is that "*.info;mail.none" means all messages Informational and above (except mail messages) should be logged to syslog.log, but none of them were in there, and I received dozens. Are they considered mail messages? Or is it just that an Informational Only message in the SEL is a separate thing from an event that would be logged by syslogd?



      # @(#)B.11.31_LR 
      #
      # syslogd configuration file.
      #
      # See syslogd(1M) for information about the format of this file.
      #
      mail.debug /var/adm/syslog/mail.log
      *.info;mail.none /var/adm/syslog/syslog.log
      *.alert /dev/console
      *.alert root
      *.emerg *


      This is obviously for an HP-UX 11i v3 server, but I would like to set up some v2 servers the same way, so if there are any differences between configuring the two, let me know.







      logs syslog hp-ux






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Dec 19 '14 at 18:18









      scottwscottw

      112




      112






















          2 Answers
          2






          active

          oldest

          votes


















          1














          You are refering to SEL (System Event Log) which is outside HP-UX. When you log into MP (Managment Platform ()) (or GSP (Global System processor ())), you are not into HP-UX. You can power off host from MP, how can HP-UX kernel would log event while powered off ?



          Critical failure (processor, memory, network card and fiber channel card) would log an event (and cause kernel panic for processor and memory), while informational event would not pe registred in HP-UX level.



          Some HP-UX utilities would in 11iV1/11iV2 log event from MP, I might update when I'll get to an HP plateform.



          (*) I've been using thoses acronym for far too long,I no longer know precisely what they stand for ...






          share|improve this answer































            0














            Not all applications tie into syslog. Each application has to be programmed for that to happen. The application that you mention might be one of these. I seem to recall that this might be one of those applications.






            share|improve this answer























              Your Answer








              StackExchange.ready(function() {
              var channelOptions = {
              tags: "".split(" "),
              id: "106"
              };
              initTagRenderer("".split(" "), "".split(" "), channelOptions);

              StackExchange.using("externalEditor", function() {
              // Have to fire editor after snippets, if snippets enabled
              if (StackExchange.settings.snippets.snippetsEnabled) {
              StackExchange.using("snippets", function() {
              createEditor();
              });
              }
              else {
              createEditor();
              }
              });

              function createEditor() {
              StackExchange.prepareEditor({
              heartbeatType: 'answer',
              autoActivateHeartbeat: false,
              convertImagesToLinks: false,
              noModals: true,
              showLowRepImageUploadWarning: true,
              reputationToPostImages: null,
              bindNavPrevention: true,
              postfix: "",
              imageUploader: {
              brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
              contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
              allowUrls: true
              },
              onDemand: true,
              discardSelector: ".discard-answer"
              ,immediatelyShowMarkdownHelp:true
              });


              }
              });














              draft saved

              draft discarded


















              StackExchange.ready(
              function () {
              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f175070%2fin-hp-ux-how-can-i-log-informational-only-system-event-messages-in-syslog-log%23new-answer', 'question_page');
              }
              );

              Post as a guest















              Required, but never shown

























              2 Answers
              2






              active

              oldest

              votes








              2 Answers
              2






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes









              1














              You are refering to SEL (System Event Log) which is outside HP-UX. When you log into MP (Managment Platform ()) (or GSP (Global System processor ())), you are not into HP-UX. You can power off host from MP, how can HP-UX kernel would log event while powered off ?



              Critical failure (processor, memory, network card and fiber channel card) would log an event (and cause kernel panic for processor and memory), while informational event would not pe registred in HP-UX level.



              Some HP-UX utilities would in 11iV1/11iV2 log event from MP, I might update when I'll get to an HP plateform.



              (*) I've been using thoses acronym for far too long,I no longer know precisely what they stand for ...






              share|improve this answer




























                1














                You are refering to SEL (System Event Log) which is outside HP-UX. When you log into MP (Managment Platform ()) (or GSP (Global System processor ())), you are not into HP-UX. You can power off host from MP, how can HP-UX kernel would log event while powered off ?



                Critical failure (processor, memory, network card and fiber channel card) would log an event (and cause kernel panic for processor and memory), while informational event would not pe registred in HP-UX level.



                Some HP-UX utilities would in 11iV1/11iV2 log event from MP, I might update when I'll get to an HP plateform.



                (*) I've been using thoses acronym for far too long,I no longer know precisely what they stand for ...






                share|improve this answer


























                  1












                  1








                  1







                  You are refering to SEL (System Event Log) which is outside HP-UX. When you log into MP (Managment Platform ()) (or GSP (Global System processor ())), you are not into HP-UX. You can power off host from MP, how can HP-UX kernel would log event while powered off ?



                  Critical failure (processor, memory, network card and fiber channel card) would log an event (and cause kernel panic for processor and memory), while informational event would not pe registred in HP-UX level.



                  Some HP-UX utilities would in 11iV1/11iV2 log event from MP, I might update when I'll get to an HP plateform.



                  (*) I've been using thoses acronym for far too long,I no longer know precisely what they stand for ...






                  share|improve this answer













                  You are refering to SEL (System Event Log) which is outside HP-UX. When you log into MP (Managment Platform ()) (or GSP (Global System processor ())), you are not into HP-UX. You can power off host from MP, how can HP-UX kernel would log event while powered off ?



                  Critical failure (processor, memory, network card and fiber channel card) would log an event (and cause kernel panic for processor and memory), while informational event would not pe registred in HP-UX level.



                  Some HP-UX utilities would in 11iV1/11iV2 log event from MP, I might update when I'll get to an HP plateform.



                  (*) I've been using thoses acronym for far too long,I no longer know precisely what they stand for ...







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Dec 20 '14 at 8:17









                  ArchemarArchemar

                  20.2k93772




                  20.2k93772

























                      0














                      Not all applications tie into syslog. Each application has to be programmed for that to happen. The application that you mention might be one of these. I seem to recall that this might be one of those applications.






                      share|improve this answer




























                        0














                        Not all applications tie into syslog. Each application has to be programmed for that to happen. The application that you mention might be one of these. I seem to recall that this might be one of those applications.






                        share|improve this answer


























                          0












                          0








                          0







                          Not all applications tie into syslog. Each application has to be programmed for that to happen. The application that you mention might be one of these. I seem to recall that this might be one of those applications.






                          share|improve this answer













                          Not all applications tie into syslog. Each application has to be programmed for that to happen. The application that you mention might be one of these. I seem to recall that this might be one of those applications.







                          share|improve this answer












                          share|improve this answer



                          share|improve this answer










                          answered Dec 19 '14 at 22:32









                          mdpcmdpc

                          5,04621837




                          5,04621837






























                              draft saved

                              draft discarded




















































                              Thanks for contributing an answer to Unix & Linux Stack Exchange!


                              • Please be sure to answer the question. Provide details and share your research!

                              But avoid



                              • Asking for help, clarification, or responding to other answers.

                              • Making statements based on opinion; back them up with references or personal experience.


                              To learn more, see our tips on writing great answers.




                              draft saved


                              draft discarded














                              StackExchange.ready(
                              function () {
                              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f175070%2fin-hp-ux-how-can-i-log-informational-only-system-event-messages-in-syslog-log%23new-answer', 'question_page');
                              }
                              );

                              Post as a guest















                              Required, but never shown





















































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown

































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown







                              Popular posts from this blog

                              How to make a Squid Proxy server?

                              Is this a new Fibonacci Identity?

                              19世紀