Re: [Observium] can't get syslog working
![](https://secure.gravatar.com/avatar/21caf0a08d095be7196a1648d20942be.jpg?s=120&d=mm&r=g)
Hi,
Did you follow the documentation on the website? The fact that you "tried with 2 different daemons" leads me to believe that you didn't...
Tom
Sent from my mobile, please excuse brevity and spelling errors.
----- Reply message ----- From: "Stefan Milo" stefan@zendata.dk To: "observium@observium.org" observium@observium.org Subject: [Observium] can't get syslog working Date: Mon, Nov 26, 2012 17:40
Hi
I'm having a hard time getting syslog to work.
I've enabled the syslog menu in config.php by inserting "$config['enable_syslog'] = 1;"
Ive tried using both rsyslog and syslog-ng. But the syslog menu in observium is just blank?
The syslog server is working and receiving info on udp port 514. 2012 Nov 26 17:35:36 10.0.0.33 Address=10.0.0.253 This is a test message generated by Kiwi SyslogGen
Any advice?
BR
Stefan Milo Noobie Observium User _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
![](https://secure.gravatar.com/avatar/822bd3b1fb1c7eb94a6e84f809d27426.jpg?s=120&d=mm&r=g)
i tried 2 different daemons because i DID follow the documentation.
first i did the install following this guide: http://www.observium.org/wiki/Installation
then i enabled syslog in observium according to this: http://www.observium.org/wiki/Configuration_Options#Syslog_Settings
when the regular rsyslog didn't work i tried this: http://www.observium.org/wiki/Syslog-ng_Syslog_Server
i've tried on debian, ubuntu and centos. still can't get it working. i've searched the mailing lists and google for help. i did everything one is supposed to do before asking for help. :)
.stefan
________________________________________ Fra: observium-bounces@observium.org [observium-bounces@observium.org] På vegne af Tom Laermans [tom.laermans@powersource.cx] Sendt: 26. november 2012 20:06 Til: Observium Network Observation System Emne: Re: [Observium] can't get syslog working
Hi,
Did you follow the documentation on the website? The fact that you "tried with 2 different daemons" leads me to believe that you didn't...
Tom
Sent from my mobile, please excuse brevity and spelling errors.
----- Reply message ----- From: "Stefan Milo" stefan@zendata.dk To: "observium@observium.org" observium@observium.org Subject: [Observium] can't get syslog working Date: Mon, Nov 26, 2012 17:40
Hi
I'm having a hard time getting syslog to work.
I've enabled the syslog menu in config.php by inserting "$config['enable_syslog'] = 1;"
Ive tried using both rsyslog and syslog-ng. But the syslog menu in observium is just blank?
The syslog server is working and receiving info on udp port 514. 2012 Nov 26 17:35:36 10.0.0.33 Address=10.0.0.253 This is a test message generated by Kiwi SyslogGen
Any advice?
BR
Stefan Milo Noobie Observium User _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
![](https://secure.gravatar.com/avatar/21caf0a08d095be7196a1648d20942be.jpg?s=120&d=mm&r=g)
Hi,
On 26/11/2012 20:11, Stefan Milo wrote:
i tried 2 different daemons because i DID follow the documentation.
first i did the install following this guide: http://www.observium.org/wiki/Installation
This does not document syslog :-)
then i enabled syslog in observium according to this: http://www.observium.org/wiki/Configuration_Options#Syslog_Settings
Good. This enables the Observium web interface to show syslog tabs. It does not do anything else.
when the regular rsyslog didn't work i tried this: http://www.observium.org/wiki/Syslog-ng_Syslog_Server
rsyslog can't work, as it is not integrated with Observium. Setting up syslog-ng as the above URL shows
i've tried on debian, ubuntu and centos. still can't get it working. i've searched the mailing lists and google for help. i did everything one is supposed to do before asking for help. :)
You reinstalled Observium on 3 different machines just to see that syslog still doesn't work? You have been busy then... :-) Please describe your setup some more, and what is and is not working... Are the syslog messages of the hosts turning up in the regular syslog files on the Observium host? The hostname the remote devices are sending should match what Observium has in its DB for example. Firewall should hopefully be OK as you got the test message (unless you've got certain subnets open or closed off in there)
Tom
.stefan
Fra: observium-bounces@observium.org [observium-bounces@observium.org] På vegne af Tom Laermans [tom.laermans@powersource.cx] Sendt: 26. november 2012 20:06 Til: Observium Network Observation System Emne: Re: [Observium] can't get syslog working
Hi,
Did you follow the documentation on the website? The fact that you "tried with 2 different daemons" leads me to believe that you didn't...
Tom
Sent from my mobile, please excuse brevity and spelling errors.
----- Reply message ----- From: "Stefan Milo" stefan@zendata.dk To: "observium@observium.org" observium@observium.org Subject: [Observium] can't get syslog working Date: Mon, Nov 26, 2012 17:40
Hi
I'm having a hard time getting syslog to work.
I've enabled the syslog menu in config.php by inserting "$config['enable_syslog'] = 1;"
Ive tried using both rsyslog and syslog-ng. But the syslog menu in observium is just blank?
The syslog server is working and receiving info on udp port 514. 2012 Nov 26 17:35:36 10.0.0.33 Address=10.0.0.253 This is a test message generated by Kiwi SyslogGen
Any advice?
BR
Stefan Milo Noobie Observium User _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
![](https://secure.gravatar.com/avatar/822bd3b1fb1c7eb94a6e84f809d27426.jpg?s=120&d=mm&r=g)
I really like the look and feel of observium, and I would like it to replace my existing MRTG installation... However, I don't want to do the migration before I know if syslog is working or not.
I'm running these tests on virtual machines. Everything is working regarding to snmp/graphing. The poller works smoothly, the graphs are pretty. I love it.
The syslog server is working. It's receiving both internal and external input from my different devices. But can observium only receive logs from devices that are defined in it's database? I was hoping to have observium do graphing for all of my switches, and also be an independent syslog server for my esx servers and firewalls. I thought the syslog option would just parse the input in the syslog file to the web interface? Is there a way to make it parse all input from the syslog server?
I'm not looking for something like logzilla or anything. Just a simple way to display the syslogs in a web-gui, and since observium has the option it would be nice to have 1 server doing those tasks.
.stefan
________________________________________ Fra: observium-bounces@observium.org [observium-bounces@observium.org] På vegne af Tom Laermans [tom.laermans@powersource.cx] Sendt: 27. november 2012 09:35 Til: Observium Network Observation System Emne: Re: [Observium] can't get syslog working
Hi,
On 26/11/2012 20:11, Stefan Milo wrote:
i tried 2 different daemons because i DID follow the documentation.
first i did the install following this guide: http://www.observium.org/wiki/Installation
This does not document syslog :-)
then i enabled syslog in observium according to this: http://www.observium.org/wiki/Configuration_Options#Syslog_Settings
Good. This enables the Observium web interface to show syslog tabs. It does not do anything else.
when the regular rsyslog didn't work i tried this: http://www.observium.org/wiki/Syslog-ng_Syslog_Server
rsyslog can't work, as it is not integrated with Observium. Setting up syslog-ng as the above URL shows
i've tried on debian, ubuntu and centos. still can't get it working. i've searched the mailing lists and google for help. i did everything one is supposed to do before asking for help. :)
You reinstalled Observium on 3 different machines just to see that syslog still doesn't work? You have been busy then... :-) Please describe your setup some more, and what is and is not working... Are the syslog messages of the hosts turning up in the regular syslog files on the Observium host? The hostname the remote devices are sending should match what Observium has in its DB for example. Firewall should hopefully be OK as you got the test message (unless you've got certain subnets open or closed off in there)
Tom
.stefan
Fra: observium-bounces@observium.org [observium-bounces@observium.org] På vegne af Tom Laermans [tom.laermans@powersource.cx] Sendt: 26. november 2012 20:06 Til: Observium Network Observation System Emne: Re: [Observium] can't get syslog working
Hi,
Did you follow the documentation on the website? The fact that you "tried with 2 different daemons" leads me to believe that you didn't...
Tom
Sent from my mobile, please excuse brevity and spelling errors.
----- Reply message ----- From: "Stefan Milo" stefan@zendata.dk To: "observium@observium.org" observium@observium.org Subject: [Observium] can't get syslog working Date: Mon, Nov 26, 2012 17:40
Hi
I'm having a hard time getting syslog to work.
I've enabled the syslog menu in config.php by inserting "$config['enable_syslog'] = 1;"
Ive tried using both rsyslog and syslog-ng. But the syslog menu in observium is just blank?
The syslog server is working and receiving info on udp port 514. 2012 Nov 26 17:35:36 10.0.0.33 Address=10.0.0.253 This is a test message generated by Kiwi SyslogGen
Any advice?
BR
Stefan Milo Noobie Observium User _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
_______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
![](https://secure.gravatar.com/avatar/21caf0a08d095be7196a1648d20942be.jpg?s=120&d=mm&r=g)
Observium shows logs for the devices you added to it on their respective pages. It's not a general purpose syslog server.
PS: MRTG doesn't do syslog ;-)
On 27/11/2012 9:47, Stefan Milo wrote:
I really like the look and feel of observium, and I would like it to replace my existing MRTG installation... However, I don't want to do the migration before I know if syslog is working or not.
I'm running these tests on virtual machines. Everything is working regarding to snmp/graphing. The poller works smoothly, the graphs are pretty. I love it.
The syslog server is working. It's receiving both internal and external input from my different devices. But can observium only receive logs from devices that are defined in it's database? I was hoping to have observium do graphing for all of my switches, and also be an independent syslog server for my esx servers and firewalls. I thought the syslog option would just parse the input in the syslog file to the web interface? Is there a way to make it parse all input from the syslog server?
I'm not looking for something like logzilla or anything. Just a simple way to display the syslogs in a web-gui, and since observium has the option it would be nice to have 1 server doing those tasks.
.stefan
Fra: observium-bounces@observium.org [observium-bounces@observium.org] På vegne af Tom Laermans [tom.laermans@powersource.cx] Sendt: 27. november 2012 09:35 Til: Observium Network Observation System Emne: Re: [Observium] can't get syslog working
Hi,
On 26/11/2012 20:11, Stefan Milo wrote:
i tried 2 different daemons because i DID follow the documentation.
first i did the install following this guide: http://www.observium.org/wiki/Installation
This does not document syslog :-)
then i enabled syslog in observium according to this: http://www.observium.org/wiki/Configuration_Options#Syslog_Settings
Good. This enables the Observium web interface to show syslog tabs. It does not do anything else.
when the regular rsyslog didn't work i tried this: http://www.observium.org/wiki/Syslog-ng_Syslog_Server
rsyslog can't work, as it is not integrated with Observium. Setting up syslog-ng as the above URL shows
i've tried on debian, ubuntu and centos. still can't get it working. i've searched the mailing lists and google for help. i did everything one is supposed to do before asking for help. :)
You reinstalled Observium on 3 different machines just to see that syslog still doesn't work? You have been busy then... :-) Please describe your setup some more, and what is and is not working... Are the syslog messages of the hosts turning up in the regular syslog files on the Observium host? The hostname the remote devices are sending should match what Observium has in its DB for example. Firewall should hopefully be OK as you got the test message (unless you've got certain subnets open or closed off in there)
Tom
.stefan
Fra: observium-bounces@observium.org [observium-bounces@observium.org] På vegne af Tom Laermans [tom.laermans@powersource.cx] Sendt: 26. november 2012 20:06 Til: Observium Network Observation System Emne: Re: [Observium] can't get syslog working
Hi,
Did you follow the documentation on the website? The fact that you "tried with 2 different daemons" leads me to believe that you didn't...
Tom
Sent from my mobile, please excuse brevity and spelling errors.
----- Reply message ----- From: "Stefan Milo" stefan@zendata.dk To: "observium@observium.org" observium@observium.org Subject: [Observium] can't get syslog working Date: Mon, Nov 26, 2012 17:40
Hi
I'm having a hard time getting syslog to work.
I've enabled the syslog menu in config.php by inserting "$config['enable_syslog'] = 1;"
Ive tried using both rsyslog and syslog-ng. But the syslog menu in observium is just blank?
The syslog server is working and receiving info on udp port 514. 2012 Nov 26 17:35:36 10.0.0.33 Address=10.0.0.253 This is a test message generated by Kiwi SyslogGen
Any advice?
BR
Stefan Milo Noobie Observium User _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
![](https://secure.gravatar.com/avatar/822bd3b1fb1c7eb94a6e84f809d27426.jpg?s=120&d=mm&r=g)
Hehe, I know... But in my current setup, I have mrtg and syslog-ng running on the same server. It would just be amazing to have the ability to show the syslogs via the observium interface. It would be so puuuuurty, and I wouldn't have to deal with people asking me to grep for syslogs because they don't know how linux works.
Hmm... I'll try doing some altering of the php files to make it suit my needs. Thanks.
.stefan
________________________________________ Fra: observium-bounces@observium.org [observium-bounces@observium.org] På vegne af Tom Laermans [tom.laermans@powersource.cx] Sendt: 27. november 2012 09:54 Til: Observium Network Observation System Emne: Re: [Observium] can't get syslog working
Observium shows logs for the devices you added to it on their respective pages. It's not a general purpose syslog server.
PS: MRTG doesn't do syslog ;-)
On 27/11/2012 9:47, Stefan Milo wrote:
I really like the look and feel of observium, and I would like it to replace my existing MRTG installation... However, I don't want to do the migration before I know if syslog is working or not.
I'm running these tests on virtual machines. Everything is working regarding to snmp/graphing. The poller works smoothly, the graphs are pretty. I love it.
The syslog server is working. It's receiving both internal and external input from my different devices. But can observium only receive logs from devices that are defined in it's database? I was hoping to have observium do graphing for all of my switches, and also be an independent syslog server for my esx servers and firewalls. I thought the syslog option would just parse the input in the syslog file to the web interface? Is there a way to make it parse all input from the syslog server?
I'm not looking for something like logzilla or anything. Just a simple way to display the syslogs in a web-gui, and since observium has the option it would be nice to have 1 server doing those tasks.
.stefan
Fra: observium-bounces@observium.org [observium-bounces@observium.org] På vegne af Tom Laermans [tom.laermans@powersource.cx] Sendt: 27. november 2012 09:35 Til: Observium Network Observation System Emne: Re: [Observium] can't get syslog working
Hi,
On 26/11/2012 20:11, Stefan Milo wrote:
i tried 2 different daemons because i DID follow the documentation.
first i did the install following this guide: http://www.observium.org/wiki/Installation
This does not document syslog :-)
then i enabled syslog in observium according to this: http://www.observium.org/wiki/Configuration_Options#Syslog_Settings
Good. This enables the Observium web interface to show syslog tabs. It does not do anything else.
when the regular rsyslog didn't work i tried this: http://www.observium.org/wiki/Syslog-ng_Syslog_Server
rsyslog can't work, as it is not integrated with Observium. Setting up syslog-ng as the above URL shows
i've tried on debian, ubuntu and centos. still can't get it working. i've searched the mailing lists and google for help. i did everything one is supposed to do before asking for help. :)
You reinstalled Observium on 3 different machines just to see that syslog still doesn't work? You have been busy then... :-) Please describe your setup some more, and what is and is not working... Are the syslog messages of the hosts turning up in the regular syslog files on the Observium host? The hostname the remote devices are sending should match what Observium has in its DB for example. Firewall should hopefully be OK as you got the test message (unless you've got certain subnets open or closed off in there)
Tom
.stefan
Fra: observium-bounces@observium.org [observium-bounces@observium.org] På vegne af Tom Laermans [tom.laermans@powersource.cx] Sendt: 26. november 2012 20:06 Til: Observium Network Observation System Emne: Re: [Observium] can't get syslog working
Hi,
Did you follow the documentation on the website? The fact that you "tried with 2 different daemons" leads me to believe that you didn't...
Tom
Sent from my mobile, please excuse brevity and spelling errors.
----- Reply message ----- From: "Stefan Milo" stefan@zendata.dk To: "observium@observium.org" observium@observium.org Subject: [Observium] can't get syslog working Date: Mon, Nov 26, 2012 17:40
Hi
I'm having a hard time getting syslog to work.
I've enabled the syslog menu in config.php by inserting "$config['enable_syslog'] = 1;"
Ive tried using both rsyslog and syslog-ng. But the syslog menu in observium is just blank?
The syslog server is working and receiving info on udp port 514. 2012 Nov 26 17:35:36 10.0.0.33 Address=10.0.0.253 This is a test message generated by Kiwi SyslogGen
Any advice?
BR
Stefan Milo Noobie Observium User _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
_______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
![](https://secure.gravatar.com/avatar/42d9edbe2df229bd7f590c4f289ba563.jpg?s=120&d=mm&r=g)
On 11/27/2012 12:47 PM, Stefan Milo wrote:
I really like the look and feel of observium, and I would like it to replace my existing MRTG installation... However, I don't want to do the migration before I know if syslog is working or not.
I'm running these tests on virtual machines. Everything is working regarding to snmp/graphing. The poller works smoothly, the graphs are pretty. I love it.
The syslog server is working. It's receiving both internal and external input from my different devices. But can observium only receive logs from devices that are defined in it's database? I was hoping to have observium do graphing for all of my switches, and also be an independent syslog server for my esx servers and firewalls. I thought the syslog option would just parse the input in the syslog file to the web interface? Is there a way to make it parse all input from the syslog server?
I'm not looking for something like logzilla or anything. Just a simple way to display the syslogs in a web-gui, and since observium has the option it would be nice to have 1 server doing those tasks.
.stefan
Syslog working in observium. We enable logging on Ubuntu 12.04 with rsyslog. Mini HOWTO.
For enable remote logging in rsyslog uncomment lines in /etc/rsyslog.conf: #$ModLoad imudp #$UDPServerRun 514
For redirect logs to observium create file /etc/rsyslog.d/30-observium.conf with text: #--------------------------------------------------------- #send remote logs to observium
$template observium,"%fromhost%||%syslogfacility%||%syslogpriority%||%syslogseverity%||%syslogtag%||%$year%-%$month%-%$day% %timereported:8:25%||%msg%||%programname%\n " $ModLoad omprog $ActionOMProgBinary /opt/observium/syslog.php
:source, !isequal, "stat" :omprog:;observium
& ~ #---------------------------------------------------------
This enable module omprog, set $template like syslong-ng and redirect output to syslog.php
Then restart rsyslog: $ sudo service rsyslog restart
Now just have to adjust the equipment to send syslog to observium.
Fra: observium-bounces@observium.org [observium-bounces@observium.org] På vegne af Tom Laermans [tom.laermans@powersource.cx] Sendt: 27. november 2012 09:35 Til: Observium Network Observation System Emne: Re: [Observium] can't get syslog working
Hi,
On 26/11/2012 20:11, Stefan Milo wrote:
i tried 2 different daemons because i DID follow the documentation.
first i did the install following this guide: http://www.observium.org/wiki/Installation
This does not document syslog :-)
then i enabled syslog in observium according to this: http://www.observium.org/wiki/Configuration_Options#Syslog_Settings
Good. This enables the Observium web interface to show syslog tabs. It does not do anything else.
when the regular rsyslog didn't work i tried this: http://www.observium.org/wiki/Syslog-ng_Syslog_Server
rsyslog can't work, as it is not integrated with Observium. Setting up syslog-ng as the above URL shows
i've tried on debian, ubuntu and centos. still can't get it working. i've searched the mailing lists and google for help. i did everything one is supposed to do before asking for help. :)
You reinstalled Observium on 3 different machines just to see that syslog still doesn't work? You have been busy then... :-) Please describe your setup some more, and what is and is not working... Are the syslog messages of the hosts turning up in the regular syslog files on the Observium host? The hostname the remote devices are sending should match what Observium has in its DB for example. Firewall should hopefully be OK as you got the test message (unless you've got certain subnets open or closed off in there)
Tom
.stefan
Fra: observium-bounces@observium.org [observium-bounces@observium.org] På vegne af Tom Laermans [tom.laermans@powersource.cx] Sendt: 26. november 2012 20:06 Til: Observium Network Observation System Emne: Re: [Observium] can't get syslog working
Hi,
Did you follow the documentation on the website? The fact that you "tried with 2 different daemons" leads me to believe that you didn't...
Tom
Sent from my mobile, please excuse brevity and spelling errors.
----- Reply message ----- From: "Stefan Milo" stefan@zendata.dk To: "observium@observium.org" observium@observium.org Subject: [Observium] can't get syslog working Date: Mon, Nov 26, 2012 17:40
Hi
I'm having a hard time getting syslog to work.
I've enabled the syslog menu in config.php by inserting "$config['enable_syslog'] = 1;"
Ive tried using both rsyslog and syslog-ng. But the syslog menu in observium is just blank?
The syslog server is working and receiving info on udp port 514. 2012 Nov 26 17:35:36 10.0.0.33 Address=10.0.0.253 This is a test message generated by Kiwi SyslogGen
Any advice?
BR
Stefan Milo Noobie Observium User _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
![](https://secure.gravatar.com/avatar/42d9edbe2df229bd7f590c4f289ba563.jpg?s=120&d=mm&r=g)
On 11/27/2012 01:06 PM, Mike wrote:
On 11/27/2012 12:47 PM, Stefan Milo wrote:
I really like the look and feel of observium, and I would like it to replace my existing MRTG installation... However, I don't want to do the migration before I know if syslog is working or not.
I'm running these tests on virtual machines. Everything is working regarding to snmp/graphing. The poller works smoothly, the graphs are pretty. I love it.
The syslog server is working. It's receiving both internal and external input from my different devices. But can observium only receive logs from devices that are defined in it's database? I was hoping to have observium do graphing for all of my switches, and also be an independent syslog server for my esx servers and firewalls. I thought the syslog option would just parse the input in the syslog file to the web interface? Is there a way to make it parse all input from the syslog server?
I'm not looking for something like logzilla or anything. Just a simple way to display the syslogs in a web-gui, and since observium has the option it would be nice to have 1 server doing those tasks.
.stefan
Syslog working in observium. We enable logging on Ubuntu 12.04 with rsyslog. Mini HOWTO.
For enable remote logging in rsyslog uncomment lines in /etc/rsyslog.conf: #$ModLoad imudp #$UDPServerRun 514
For redirect logs to observium create file /etc/rsyslog.d/30-observium.conf with text: #--------------------------------------------------------- #send remote logs to observium
$template observium,"%fromhost%||%syslogfacility%||%syslogpriority%||%syslogseverity%||%syslogtag%||%$year%-%$month%-%$day% %timereported:8:25%||%msg%||%programname%\n " $ModLoad omprog $ActionOMProgBinary /opt/observium/syslog.php
:source, !isequal, "stat" :omprog:;observium
stat - is self hostname for my observium server, it excluded from logging. Here using your hostname for server.
& ~ #---------------------------------------------------------
This enable module omprog, set $template like syslong-ng and redirect output to syslog.php
Then restart rsyslog: $ sudo service rsyslog restart
Now just have to adjust the equipment to send syslog to observium.
Fra: observium-bounces@observium.org [observium-bounces@observium.org] På vegne af Tom Laermans [tom.laermans@powersource.cx] Sendt: 27. november 2012 09:35 Til: Observium Network Observation System Emne: Re: [Observium] can't get syslog working
Hi,
On 26/11/2012 20:11, Stefan Milo wrote:
i tried 2 different daemons because i DID follow the documentation.
first i did the install following this guide: http://www.observium.org/wiki/Installation
This does not document syslog :-)
then i enabled syslog in observium according to this: http://www.observium.org/wiki/Configuration_Options#Syslog_Settings
Good. This enables the Observium web interface to show syslog tabs. It does not do anything else.
when the regular rsyslog didn't work i tried this: http://www.observium.org/wiki/Syslog-ng_Syslog_Server
rsyslog can't work, as it is not integrated with Observium. Setting up syslog-ng as the above URL shows
i've tried on debian, ubuntu and centos. still can't get it working. i've searched the mailing lists and google for help. i did everything one is supposed to do before asking for help. :)
You reinstalled Observium on 3 different machines just to see that syslog still doesn't work? You have been busy then... :-) Please describe your setup some more, and what is and is not working... Are the syslog messages of the hosts turning up in the regular syslog files on the Observium host? The hostname the remote devices are sending should match what Observium has in its DB for example. Firewall should hopefully be OK as you got the test message (unless you've got certain subnets open or closed off in there)
Tom
.stefan
Fra: observium-bounces@observium.org [observium-bounces@observium.org] På vegne af Tom Laermans [tom.laermans@powersource.cx] Sendt: 26. november 2012 20:06 Til: Observium Network Observation System Emne: Re: [Observium] can't get syslog working
Hi,
Did you follow the documentation on the website? The fact that you "tried with 2 different daemons" leads me to believe that you didn't...
Tom
Sent from my mobile, please excuse brevity and spelling errors.
----- Reply message ----- From: "Stefan Milo" stefan@zendata.dk To: "observium@observium.org" observium@observium.org Subject: [Observium] can't get syslog working Date: Mon, Nov 26, 2012 17:40
Hi
I'm having a hard time getting syslog to work.
I've enabled the syslog menu in config.php by inserting "$config['enable_syslog'] = 1;"
Ive tried using both rsyslog and syslog-ng. But the syslog menu in observium is just blank?
The syslog server is working and receiving info on udp port 514. 2012 Nov 26 17:35:36 10.0.0.33 Address=10.0.0.253 This is a test message generated by Kiwi SyslogGen
Any advice?
BR
Stefan Milo Noobie Observium User _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
![](https://secure.gravatar.com/avatar/822bd3b1fb1c7eb94a6e84f809d27426.jpg?s=120&d=mm&r=g)
After I add the "/etc/rsyslog.d/30-observium.conf" and restart the service, /var/log/syslog stops receiving logs. But nothing appears under http://myobserviumip/syslog
I've tried changing the "stat" option to my hostname, and even a wildcard... But with no luck. :(
.stefan
________________________________________ Fra: observium-bounces@observium.org [observium-bounces@observium.org] På vegne af Mike [landy2005@gmail.com] Sendt: 27. november 2012 10:06 Til: Observium Network Observation System Emne: Re: [Observium] can't get syslog working
On 11/27/2012 12:47 PM, Stefan Milo wrote:
I really like the look and feel of observium, and I would like it to replace my existing MRTG installation... However, I don't want to do the migration before I know if syslog is working or not.
I'm running these tests on virtual machines. Everything is working regarding to snmp/graphing. The poller works smoothly, the graphs are pretty. I love it.
The syslog server is working. It's receiving both internal and external input from my different devices. But can observium only receive logs from devices that are defined in it's database? I was hoping to have observium do graphing for all of my switches, and also be an independent syslog server for my esx servers and firewalls. I thought the syslog option would just parse the input in the syslog file to the web interface? Is there a way to make it parse all input from the syslog server?
I'm not looking for something like logzilla or anything. Just a simple way to display the syslogs in a web-gui, and since observium has the option it would be nice to have 1 server doing those tasks.
.stefan
Syslog working in observium. We enable logging on Ubuntu 12.04 with rsyslog. Mini HOWTO.
For enable remote logging in rsyslog uncomment lines in /etc/rsyslog.conf: #$ModLoad imudp #$UDPServerRun 514
For redirect logs to observium create file /etc/rsyslog.d/30-observium.conf with text: #--------------------------------------------------------- #send remote logs to observium
$template observium,"%fromhost%||%syslogfacility%||%syslogpriority%||%syslogseverity%||%syslogtag%||%$year%-%$month%-%$day% %timereported:8:25%||%msg%||%programname%\n " $ModLoad omprog $ActionOMProgBinary /opt/observium/syslog.php
:source, !isequal, "stat" :omprog:;observium
& ~ #---------------------------------------------------------
This enable module omprog, set $template like syslong-ng and redirect output to syslog.php
Then restart rsyslog: $ sudo service rsyslog restart
Now just have to adjust the equipment to send syslog to observium.
Fra: observium-bounces@observium.org [observium-bounces@observium.org] På vegne af Tom Laermans [tom.laermans@powersource.cx] Sendt: 27. november 2012 09:35 Til: Observium Network Observation System Emne: Re: [Observium] can't get syslog working
Hi,
On 26/11/2012 20:11, Stefan Milo wrote:
i tried 2 different daemons because i DID follow the documentation.
first i did the install following this guide: http://www.observium.org/wiki/Installation
This does not document syslog :-)
then i enabled syslog in observium according to this: http://www.observium.org/wiki/Configuration_Options#Syslog_Settings
Good. This enables the Observium web interface to show syslog tabs. It does not do anything else.
when the regular rsyslog didn't work i tried this: http://www.observium.org/wiki/Syslog-ng_Syslog_Server
rsyslog can't work, as it is not integrated with Observium. Setting up syslog-ng as the above URL shows
i've tried on debian, ubuntu and centos. still can't get it working. i've searched the mailing lists and google for help. i did everything one is supposed to do before asking for help. :)
You reinstalled Observium on 3 different machines just to see that syslog still doesn't work? You have been busy then... :-) Please describe your setup some more, and what is and is not working... Are the syslog messages of the hosts turning up in the regular syslog files on the Observium host? The hostname the remote devices are sending should match what Observium has in its DB for example. Firewall should hopefully be OK as you got the test message (unless you've got certain subnets open or closed off in there)
Tom
.stefan
Fra: observium-bounces@observium.org [observium-bounces@observium.org] På vegne af Tom Laermans [tom.laermans@powersource.cx] Sendt: 26. november 2012 20:06 Til: Observium Network Observation System Emne: Re: [Observium] can't get syslog working
Hi,
Did you follow the documentation on the website? The fact that you "tried with 2 different daemons" leads me to believe that you didn't...
Tom
Sent from my mobile, please excuse brevity and spelling errors.
----- Reply message ----- From: "Stefan Milo" stefan@zendata.dk To: "observium@observium.org" observium@observium.org Subject: [Observium] can't get syslog working Date: Mon, Nov 26, 2012 17:40
Hi
I'm having a hard time getting syslog to work.
I've enabled the syslog menu in config.php by inserting "$config['enable_syslog'] = 1;"
Ive tried using both rsyslog and syslog-ng. But the syslog menu in observium is just blank?
The syslog server is working and receiving info on udp port 514. 2012 Nov 26 17:35:36 10.0.0.33 Address=10.0.0.253 This is a test message generated by Kiwi SyslogGen
Any advice?
BR
Stefan Milo Noobie Observium User _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
_______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
![](https://secure.gravatar.com/avatar/42d9edbe2df229bd7f590c4f289ba563.jpg?s=120&d=mm&r=g)
On 11/27/2012 03:08 PM, Stefan Milo wrote:
After I add the "/etc/rsyslog.d/30-observium.conf" and restart the service, /var/log/syslog stops receiving logs. But nothing appears under http://myobserviumip/syslog
I've tried changing the "stat" option to my hostname, and even a wildcard... But with no luck. :(
Perhaps in mail appeared superfluous line break, copy the file from the attachment.
After restart, check that the service rsyslog is running: sudo service rsyslog status
And this howto works only on Ubuntu 12.04 and above. On earlier versions rsyslog is an bug with the module omprog.
.stefan
Fra: observium-bounces@observium.org [observium-bounces@observium.org] På vegne af Mike [landy2005@gmail.com] Sendt: 27. november 2012 10:06 Til: Observium Network Observation System Emne: Re: [Observium] can't get syslog working
On 11/27/2012 12:47 PM, Stefan Milo wrote:
I really like the look and feel of observium, and I would like it to replace my existing MRTG installation... However, I don't want to do the migration before I know if syslog is working or not.
I'm running these tests on virtual machines. Everything is working regarding to snmp/graphing. The poller works smoothly, the graphs are pretty. I love it.
The syslog server is working. It's receiving both internal and external input from my different devices. But can observium only receive logs from devices that are defined in it's database? I was hoping to have observium do graphing for all of my switches, and also be an independent syslog server for my esx servers and firewalls. I thought the syslog option would just parse the input in the syslog file to the web interface? Is there a way to make it parse all input from the syslog server?
I'm not looking for something like logzilla or anything. Just a simple way to display the syslogs in a web-gui, and since observium has the option it would be nice to have 1 server doing those tasks.
.stefan
Syslog working in observium. We enable logging on Ubuntu 12.04 with rsyslog. Mini HOWTO.
For enable remote logging in rsyslog uncomment lines in /etc/rsyslog.conf: #$ModLoad imudp #$UDPServerRun 514
For redirect logs to observium create file /etc/rsyslog.d/30-observium.conf with text: #--------------------------------------------------------- #send remote logs to observium
$template observium,"%fromhost%||%syslogfacility%||%syslogpriority%||%syslogseverity%||%syslogtag%||%$year%-%$month%-%$day% %timereported:8:25%||%msg%||%programname%\n " $ModLoad omprog $ActionOMProgBinary /opt/observium/syslog.php
:source, !isequal, "stat" :omprog:;observium
& ~ #---------------------------------------------------------
This enable module omprog, set $template like syslong-ng and redirect output to syslog.php
Then restart rsyslog: $ sudo service rsyslog restart
Now just have to adjust the equipment to send syslog to observium.
Fra: observium-bounces@observium.org [observium-bounces@observium.org] På vegne af Tom Laermans [tom.laermans@powersource.cx] Sendt: 27. november 2012 09:35 Til: Observium Network Observation System Emne: Re: [Observium] can't get syslog working
Hi,
On 26/11/2012 20:11, Stefan Milo wrote:
i tried 2 different daemons because i DID follow the documentation.
first i did the install following this guide: http://www.observium.org/wiki/Installation
This does not document syslog :-)
then i enabled syslog in observium according to this: http://www.observium.org/wiki/Configuration_Options#Syslog_Settings
Good. This enables the Observium web interface to show syslog tabs. It does not do anything else.
when the regular rsyslog didn't work i tried this: http://www.observium.org/wiki/Syslog-ng_Syslog_Server
rsyslog can't work, as it is not integrated with Observium. Setting up syslog-ng as the above URL shows
i've tried on debian, ubuntu and centos. still can't get it working. i've searched the mailing lists and google for help. i did everything one is supposed to do before asking for help. :)
You reinstalled Observium on 3 different machines just to see that syslog still doesn't work? You have been busy then... :-) Please describe your setup some more, and what is and is not working... Are the syslog messages of the hosts turning up in the regular syslog files on the Observium host? The hostname the remote devices are sending should match what Observium has in its DB for example. Firewall should hopefully be OK as you got the test message (unless you've got certain subnets open or closed off in there)
Tom
.stefan
Fra: observium-bounces@observium.org [observium-bounces@observium.org] På vegne af Tom Laermans [tom.laermans@powersource.cx] Sendt: 26. november 2012 20:06 Til: Observium Network Observation System Emne: Re: [Observium] can't get syslog working
Hi,
Did you follow the documentation on the website? The fact that you "tried with 2 different daemons" leads me to believe that you didn't...
Tom
Sent from my mobile, please excuse brevity and spelling errors.
----- Reply message ----- From: "Stefan Milo" stefan@zendata.dk To: "observium@observium.org" observium@observium.org Subject: [Observium] can't get syslog working Date: Mon, Nov 26, 2012 17:40
Hi
I'm having a hard time getting syslog to work.
I've enabled the syslog menu in config.php by inserting "$config['enable_syslog'] = 1;"
Ive tried using both rsyslog and syslog-ng. But the syslog menu in observium is just blank?
The syslog server is working and receiving info on udp port 514. 2012 Nov 26 17:35:36 10.0.0.33 Address=10.0.0.253 This is a test message generated by Kiwi SyslogGen
Any advice?
BR
Stefan Milo Noobie Observium User _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
![](https://secure.gravatar.com/avatar/822bd3b1fb1c7eb94a6e84f809d27426.jpg?s=120&d=mm&r=g)
Same problem.
I'm running the system on a ubuntu 12.04, just as the observium installation stated.
When i create the file "etc/rsyslog.d/30-observium.conf" and restart the service, log entries no longer appear in "/var/log/syslog", but nothing shows up in observium under the syslog tab.
Where in the database would the syslog data be located? Maybe the syslog data is in the database, but the webpage doesn't show it?
.stefan ________________________________________ Fra: observium-bounces@observium.org [observium-bounces@observium.org] På vegne af Mike [landy2005@gmail.com] Sendt: 27. november 2012 12:41 Til: Observium Network Observation System Emne: Re: [Observium] can't get syslog working
On 11/27/2012 03:08 PM, Stefan Milo wrote:
After I add the "/etc/rsyslog.d/30-observium.conf" and restart the service, /var/log/syslog stops receiving logs. But nothing appears under http://myobserviumip/syslog
I've tried changing the "stat" option to my hostname, and even a wildcard... But with no luck. :(
Perhaps in mail appeared superfluous line break, copy the file from the attachment.
After restart, check that the service rsyslog is running: sudo service rsyslog status
And this howto works only on Ubuntu 12.04 and above. On earlier versions rsyslog is an bug with the module omprog.
.stefan
Fra: observium-bounces@observium.org [observium-bounces@observium.org] På vegne af Mike [landy2005@gmail.com] Sendt: 27. november 2012 10:06 Til: Observium Network Observation System Emne: Re: [Observium] can't get syslog working
On 11/27/2012 12:47 PM, Stefan Milo wrote:
I really like the look and feel of observium, and I would like it to replace my existing MRTG installation... However, I don't want to do the migration before I know if syslog is working or not.
I'm running these tests on virtual machines. Everything is working regarding to snmp/graphing. The poller works smoothly, the graphs are pretty. I love it.
The syslog server is working. It's receiving both internal and external input from my different devices. But can observium only receive logs from devices that are defined in it's database? I was hoping to have observium do graphing for all of my switches, and also be an independent syslog server for my esx servers and firewalls. I thought the syslog option would just parse the input in the syslog file to the web interface? Is there a way to make it parse all input from the syslog server?
I'm not looking for something like logzilla or anything. Just a simple way to display the syslogs in a web-gui, and since observium has the option it would be nice to have 1 server doing those tasks.
.stefan
Syslog working in observium. We enable logging on Ubuntu 12.04 with rsyslog. Mini HOWTO.
For enable remote logging in rsyslog uncomment lines in /etc/rsyslog.conf: #$ModLoad imudp #$UDPServerRun 514
For redirect logs to observium create file /etc/rsyslog.d/30-observium.conf with text: #--------------------------------------------------------- #send remote logs to observium
$template observium,"%fromhost%||%syslogfacility%||%syslogpriority%||%syslogseverity%||%syslogtag%||%$year%-%$month%-%$day% %timereported:8:25%||%msg%||%programname%\n " $ModLoad omprog $ActionOMProgBinary /opt/observium/syslog.php
:source, !isequal, "stat" :omprog:;observium
& ~ #---------------------------------------------------------
This enable module omprog, set $template like syslong-ng and redirect output to syslog.php
Then restart rsyslog: $ sudo service rsyslog restart
Now just have to adjust the equipment to send syslog to observium.
Fra: observium-bounces@observium.org [observium-bounces@observium.org] På vegne af Tom Laermans [tom.laermans@powersource.cx] Sendt: 27. november 2012 09:35 Til: Observium Network Observation System Emne: Re: [Observium] can't get syslog working
Hi,
On 26/11/2012 20:11, Stefan Milo wrote:
i tried 2 different daemons because i DID follow the documentation.
first i did the install following this guide: http://www.observium.org/wiki/Installation
This does not document syslog :-)
then i enabled syslog in observium according to this: http://www.observium.org/wiki/Configuration_Options#Syslog_Settings
Good. This enables the Observium web interface to show syslog tabs. It does not do anything else.
when the regular rsyslog didn't work i tried this: http://www.observium.org/wiki/Syslog-ng_Syslog_Server
rsyslog can't work, as it is not integrated with Observium. Setting up syslog-ng as the above URL shows
i've tried on debian, ubuntu and centos. still can't get it working. i've searched the mailing lists and google for help. i did everything one is supposed to do before asking for help. :)
You reinstalled Observium on 3 different machines just to see that syslog still doesn't work? You have been busy then... :-) Please describe your setup some more, and what is and is not working... Are the syslog messages of the hosts turning up in the regular syslog files on the Observium host? The hostname the remote devices are sending should match what Observium has in its DB for example. Firewall should hopefully be OK as you got the test message (unless you've got certain subnets open or closed off in there)
Tom
.stefan
Fra: observium-bounces@observium.org [observium-bounces@observium.org] På vegne af Tom Laermans [tom.laermans@powersource.cx] Sendt: 26. november 2012 20:06 Til: Observium Network Observation System Emne: Re: [Observium] can't get syslog working
Hi,
Did you follow the documentation on the website? The fact that you "tried with 2 different daemons" leads me to believe that you didn't...
Tom
Sent from my mobile, please excuse brevity and spelling errors.
----- Reply message ----- From: "Stefan Milo" stefan@zendata.dk To: "observium@observium.org" observium@observium.org Subject: [Observium] can't get syslog working Date: Mon, Nov 26, 2012 17:40
Hi
I'm having a hard time getting syslog to work.
I've enabled the syslog menu in config.php by inserting "$config['enable_syslog'] = 1;"
Ive tried using both rsyslog and syslog-ng. But the syslog menu in observium is just blank?
The syslog server is working and receiving info on udp port 514. 2012 Nov 26 17:35:36 10.0.0.33 Address=10.0.0.253 This is a test message generated by Kiwi SyslogGen
Any advice?
BR
Stefan Milo Noobie Observium User _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
![](https://secure.gravatar.com/avatar/822bd3b1fb1c7eb94a6e84f809d27426.jpg?s=120&d=mm&r=g)
The device tables is full of data from all my switches, but the syslog table:
mysql> select * from syslog; Empty set (0.00 sec)
:(
.stefan ________________________________________ Fra: observium-bounces@observium.org [observium-bounces@observium.org] På vegne af Stefan Milo [stefan@zendata.dk] Sendt: 27. november 2012 13:12 Til: Observium Network Observation System Emne: Re: [Observium] can't get syslog working
Same problem.
I'm running the system on a ubuntu 12.04, just as the observium installation stated.
When i create the file "etc/rsyslog.d/30-observium.conf" and restart the service, log entries no longer appear in "/var/log/syslog", but nothing shows up in observium under the syslog tab.
Where in the database would the syslog data be located? Maybe the syslog data is in the database, but the webpage doesn't show it?
.stefan ________________________________________ Fra: observium-bounces@observium.org [observium-bounces@observium.org] På vegne af Mike [landy2005@gmail.com] Sendt: 27. november 2012 12:41 Til: Observium Network Observation System Emne: Re: [Observium] can't get syslog working
On 11/27/2012 03:08 PM, Stefan Milo wrote:
After I add the "/etc/rsyslog.d/30-observium.conf" and restart the service, /var/log/syslog stops receiving logs. But nothing appears under http://myobserviumip/syslog
I've tried changing the "stat" option to my hostname, and even a wildcard... But with no luck. :(
Perhaps in mail appeared superfluous line break, copy the file from the attachment.
After restart, check that the service rsyslog is running: sudo service rsyslog status
And this howto works only on Ubuntu 12.04 and above. On earlier versions rsyslog is an bug with the module omprog.
.stefan
Fra: observium-bounces@observium.org [observium-bounces@observium.org] På vegne af Mike [landy2005@gmail.com] Sendt: 27. november 2012 10:06 Til: Observium Network Observation System Emne: Re: [Observium] can't get syslog working
On 11/27/2012 12:47 PM, Stefan Milo wrote:
I really like the look and feel of observium, and I would like it to replace my existing MRTG installation... However, I don't want to do the migration before I know if syslog is working or not.
I'm running these tests on virtual machines. Everything is working regarding to snmp/graphing. The poller works smoothly, the graphs are pretty. I love it.
The syslog server is working. It's receiving both internal and external input from my different devices. But can observium only receive logs from devices that are defined in it's database? I was hoping to have observium do graphing for all of my switches, and also be an independent syslog server for my esx servers and firewalls. I thought the syslog option would just parse the input in the syslog file to the web interface? Is there a way to make it parse all input from the syslog server?
I'm not looking for something like logzilla or anything. Just a simple way to display the syslogs in a web-gui, and since observium has the option it would be nice to have 1 server doing those tasks.
.stefan
Syslog working in observium. We enable logging on Ubuntu 12.04 with rsyslog. Mini HOWTO.
For enable remote logging in rsyslog uncomment lines in /etc/rsyslog.conf: #$ModLoad imudp #$UDPServerRun 514
For redirect logs to observium create file /etc/rsyslog.d/30-observium.conf with text: #--------------------------------------------------------- #send remote logs to observium
$template observium,"%fromhost%||%syslogfacility%||%syslogpriority%||%syslogseverity%||%syslogtag%||%$year%-%$month%-%$day% %timereported:8:25%||%msg%||%programname%\n " $ModLoad omprog $ActionOMProgBinary /opt/observium/syslog.php
:source, !isequal, "stat" :omprog:;observium
& ~ #---------------------------------------------------------
This enable module omprog, set $template like syslong-ng and redirect output to syslog.php
Then restart rsyslog: $ sudo service rsyslog restart
Now just have to adjust the equipment to send syslog to observium.
Fra: observium-bounces@observium.org [observium-bounces@observium.org] På vegne af Tom Laermans [tom.laermans@powersource.cx] Sendt: 27. november 2012 09:35 Til: Observium Network Observation System Emne: Re: [Observium] can't get syslog working
Hi,
On 26/11/2012 20:11, Stefan Milo wrote:
i tried 2 different daemons because i DID follow the documentation.
first i did the install following this guide: http://www.observium.org/wiki/Installation
This does not document syslog :-)
then i enabled syslog in observium according to this: http://www.observium.org/wiki/Configuration_Options#Syslog_Settings
Good. This enables the Observium web interface to show syslog tabs. It does not do anything else.
when the regular rsyslog didn't work i tried this: http://www.observium.org/wiki/Syslog-ng_Syslog_Server
rsyslog can't work, as it is not integrated with Observium. Setting up syslog-ng as the above URL shows
i've tried on debian, ubuntu and centos. still can't get it working. i've searched the mailing lists and google for help. i did everything one is supposed to do before asking for help. :)
You reinstalled Observium on 3 different machines just to see that syslog still doesn't work? You have been busy then... :-) Please describe your setup some more, and what is and is not working... Are the syslog messages of the hosts turning up in the regular syslog files on the Observium host? The hostname the remote devices are sending should match what Observium has in its DB for example. Firewall should hopefully be OK as you got the test message (unless you've got certain subnets open or closed off in there)
Tom
.stefan
Fra: observium-bounces@observium.org [observium-bounces@observium.org] På vegne af Tom Laermans [tom.laermans@powersource.cx] Sendt: 26. november 2012 20:06 Til: Observium Network Observation System Emne: Re: [Observium] can't get syslog working
Hi,
Did you follow the documentation on the website? The fact that you "tried with 2 different daemons" leads me to believe that you didn't...
Tom
Sent from my mobile, please excuse brevity and spelling errors.
----- Reply message ----- From: "Stefan Milo" stefan@zendata.dk To: "observium@observium.org" observium@observium.org Subject: [Observium] can't get syslog working Date: Mon, Nov 26, 2012 17:40
Hi
I'm having a hard time getting syslog to work.
I've enabled the syslog menu in config.php by inserting "$config['enable_syslog'] = 1;"
Ive tried using both rsyslog and syslog-ng. But the syslog menu in observium is just blank?
The syslog server is working and receiving info on udp port 514. 2012 Nov 26 17:35:36 10.0.0.33 Address=10.0.0.253 This is a test message generated by Kiwi SyslogGen
Any advice?
BR
Stefan Milo Noobie Observium User _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
_______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
![](https://secure.gravatar.com/avatar/822bd3b1fb1c7eb94a6e84f809d27426.jpg?s=120&d=mm&r=g)
i put your script inside "/etc/rsyslog.conf" and now it seems to be working! :)
thank you so much!
It does seem however, thatIi am only able to receive logs from devices that has been added to observium. But i'll do some more testing! :)
Thank you!
.stefan
________________________________________ Fra: observium-bounces@observium.org [observium-bounces@observium.org] På vegne af Mike [landy2005@gmail.com] Sendt: 27. november 2012 12:41 Til: Observium Network Observation System Emne: Re: [Observium] can't get syslog working
On 11/27/2012 03:08 PM, Stefan Milo wrote:
After I add the "/etc/rsyslog.d/30-observium.conf" and restart the service, /var/log/syslog stops receiving logs. But nothing appears under http://myobserviumip/syslog
I've tried changing the "stat" option to my hostname, and even a wildcard... But with no luck. :(
Perhaps in mail appeared superfluous line break, copy the file from the attachment.
After restart, check that the service rsyslog is running: sudo service rsyslog status
And this howto works only on Ubuntu 12.04 and above. On earlier versions rsyslog is an bug with the module omprog.
.stefan
Fra: observium-bounces@observium.org [observium-bounces@observium.org] På vegne af Mike [landy2005@gmail.com] Sendt: 27. november 2012 10:06 Til: Observium Network Observation System Emne: Re: [Observium] can't get syslog working
On 11/27/2012 12:47 PM, Stefan Milo wrote:
I really like the look and feel of observium, and I would like it to replace my existing MRTG installation... However, I don't want to do the migration before I know if syslog is working or not.
I'm running these tests on virtual machines. Everything is working regarding to snmp/graphing. The poller works smoothly, the graphs are pretty. I love it.
The syslog server is working. It's receiving both internal and external input from my different devices. But can observium only receive logs from devices that are defined in it's database? I was hoping to have observium do graphing for all of my switches, and also be an independent syslog server for my esx servers and firewalls. I thought the syslog option would just parse the input in the syslog file to the web interface? Is there a way to make it parse all input from the syslog server?
I'm not looking for something like logzilla or anything. Just a simple way to display the syslogs in a web-gui, and since observium has the option it would be nice to have 1 server doing those tasks.
.stefan
Syslog working in observium. We enable logging on Ubuntu 12.04 with rsyslog. Mini HOWTO.
For enable remote logging in rsyslog uncomment lines in /etc/rsyslog.conf: #$ModLoad imudp #$UDPServerRun 514
For redirect logs to observium create file /etc/rsyslog.d/30-observium.conf with text: #--------------------------------------------------------- #send remote logs to observium
$template observium,"%fromhost%||%syslogfacility%||%syslogpriority%||%syslogseverity%||%syslogtag%||%$year%-%$month%-%$day% %timereported:8:25%||%msg%||%programname%\n " $ModLoad omprog $ActionOMProgBinary /opt/observium/syslog.php
:source, !isequal, "stat" :omprog:;observium
& ~ #---------------------------------------------------------
This enable module omprog, set $template like syslong-ng and redirect output to syslog.php
Then restart rsyslog: $ sudo service rsyslog restart
Now just have to adjust the equipment to send syslog to observium.
Fra: observium-bounces@observium.org [observium-bounces@observium.org] På vegne af Tom Laermans [tom.laermans@powersource.cx] Sendt: 27. november 2012 09:35 Til: Observium Network Observation System Emne: Re: [Observium] can't get syslog working
Hi,
On 26/11/2012 20:11, Stefan Milo wrote:
i tried 2 different daemons because i DID follow the documentation.
first i did the install following this guide: http://www.observium.org/wiki/Installation
This does not document syslog :-)
then i enabled syslog in observium according to this: http://www.observium.org/wiki/Configuration_Options#Syslog_Settings
Good. This enables the Observium web interface to show syslog tabs. It does not do anything else.
when the regular rsyslog didn't work i tried this: http://www.observium.org/wiki/Syslog-ng_Syslog_Server
rsyslog can't work, as it is not integrated with Observium. Setting up syslog-ng as the above URL shows
i've tried on debian, ubuntu and centos. still can't get it working. i've searched the mailing lists and google for help. i did everything one is supposed to do before asking for help. :)
You reinstalled Observium on 3 different machines just to see that syslog still doesn't work? You have been busy then... :-) Please describe your setup some more, and what is and is not working... Are the syslog messages of the hosts turning up in the regular syslog files on the Observium host? The hostname the remote devices are sending should match what Observium has in its DB for example. Firewall should hopefully be OK as you got the test message (unless you've got certain subnets open or closed off in there)
Tom
.stefan
Fra: observium-bounces@observium.org [observium-bounces@observium.org] På vegne af Tom Laermans [tom.laermans@powersource.cx] Sendt: 26. november 2012 20:06 Til: Observium Network Observation System Emne: Re: [Observium] can't get syslog working
Hi,
Did you follow the documentation on the website? The fact that you "tried with 2 different daemons" leads me to believe that you didn't...
Tom
Sent from my mobile, please excuse brevity and spelling errors.
----- Reply message ----- From: "Stefan Milo" stefan@zendata.dk To: "observium@observium.org" observium@observium.org Subject: [Observium] can't get syslog working Date: Mon, Nov 26, 2012 17:40
Hi
I'm having a hard time getting syslog to work.
I've enabled the syslog menu in config.php by inserting "$config['enable_syslog'] = 1;"
Ive tried using both rsyslog and syslog-ng. But the syslog menu in observium is just blank?
The syslog server is working and receiving info on udp port 514. 2012 Nov 26 17:35:36 10.0.0.33 Address=10.0.0.253 This is a test message generated by Kiwi SyslogGen
Any advice?
BR
Stefan Milo Noobie Observium User _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
![](https://secure.gravatar.com/avatar/0fa97865a0e1ab36152b6b2299eedb49.jpg?s=120&d=mm&r=g)
On 27/11/2012 06:35, Stefan Milo wrote:
i put your script inside "/etc/rsyslog.conf" and now it seems to be working! :)
thank you so much!
It does seem however, thatIi am only able to receive logs from devices that has been added to observium. But i'll do some more testing! :)
Observium will only accept syslog entries from devices it knows about.
Why would you want syslog from a device you don't want graphs from? :P
adam.
![](https://secure.gravatar.com/avatar/822bd3b1fb1c7eb94a6e84f809d27426.jpg?s=120&d=mm&r=g)
Mr. Armstrong, creator of the goodnessss.. :)
Well, i don't want graphs from my SAN since it already has a administration interface with all the graphs i could think of. The same with my Vcenter. But i would like both of them to send syslogs to a server on my network, where some of the lower level admins can read the syslog messages so they might be able to prevent issues before they become errors. :)
br
.stefan ________________________________________ Fra: observium-bounces@observium.org [observium-bounces@observium.org] På vegne af Adam Armstrong [adama@memetic.org] Sendt: 27. november 2012 16:58 Til: Observium Network Observation System Emne: Re: [Observium] can't get syslog working
On 27/11/2012 06:35, Stefan Milo wrote:
i put your script inside "/etc/rsyslog.conf" and now it seems to be working! :)
thank you so much!
It does seem however, thatIi am only able to receive logs from devices that has been added to observium. But i'll do some more testing! :)
Observium will only accept syslog entries from devices it knows about.
Why would you want syslog from a device you don't want graphs from? :P
adam. _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
![](https://secure.gravatar.com/avatar/0fa97865a0e1ab36152b6b2299eedb49.jpg?s=120&d=mm&r=g)
I'd actually recommend one of the other free syslog interfaces, they're all better than ours.
Ours is just intended to get syslog messages on the device's page.
Alternatively, you could learn PHP and rewrite ours to be useful, and give it the ability to handle arbitrary host's messages :P
adam.
On 27/11/2012 12:18, Stefan Milo wrote:
Mr. Armstrong, creator of the goodnessss.. :)
Well, i don't want graphs from my SAN since it already has a administration interface with all the graphs i could think of. The same with my Vcenter. But i would like both of them to send syslogs to a server on my network, where some of the lower level admins can read the syslog messages so they might be able to prevent issues before they become errors. :)
br
.stefan ________________________________________ Fra: observium-bounces@observium.org [observium-bounces@observium.org] På vegne af Adam Armstrong [adama@memetic.org] Sendt: 27. november 2012 16:58 Til: Observium Network Observation System Emne: Re: [Observium] can't get syslog working
On 27/11/2012 06:35, Stefan Milo wrote:
i put your script inside "/etc/rsyslog.conf" and now it seems to be working! :)
thank you so much!
It does seem however, thatIi am only able to receive logs from devices that has been added to observium. But i'll do some more testing! :)
Observium will only accept syslog entries from devices it knows about.
Why would you want syslog from a device you don't want graphs from? :P
adam. _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
participants (4)
-
Adam Armstrong
-
Mike
-
Stefan Milo
-
Tom Laermans