Is there a way to test if EventTracker is receiving SYSLOG messages from my Linux/Unix machine?
You can generate sample SYSLOG messages from a Linux/Unix implementation with the logger command logger is a command-line application that sends messages to the system logger. In addition to being a good diagnostic tool, logger is especially useful for adding logging functionality to shell scripts. Suppose you’ve just reconfigured syslog to send all daemon messages with priority “warn” to EventTracker. To test the new syslog.conf file, you’d first restart syslogd and klogd and then you’d enter a command like the one below: logger -p daemon.warn “This is only a test.” logger’s syntax is simple. The -p parameter allows you to specify a facility.priority selector. Everything after this selector (and any other parameters or flags) is taken to be the message.
Related Questions
- My web application runs fine on my Windows development machine, but when I deploy it to the Unix/Linux production server, it doesn work. What is the problem?
- I am running FDS on my Linux machine (or Unix machine) and I cannot stop the diagnostic printout from outputing to the screen. What should I do?
- The installation program on Linux/Unix complains about an incorrect user or password on a remote machine. What should I do?