LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Can's see ISC DHCPD leases in journalctl now I moved to Fedora 22 (https://www.linuxquestions.org/questions/linux-server-73/cans-see-isc-dhcpd-leases-in-journalctl-now-i-moved-to-fedora-22-a-4175544730/)

big_sigh 06-07-2015 10:06 AM

Can's see ISC DHCPD leases in journalctl now I moved to Fedora 22
 
Hi, this is my first post.

I have been using Fedoa and RHEL and like seeing the dhcpd leases appearing in the syslog.

Since I moved to Fedora 22, the DHCPD is running fine, but I cant see the lease messages in the journalctl now.

My journald.conf is as follows

[Journal]
#Storage=auto
Compress=yes
#Seal=yes
#SplitMode=uid
#SyncIntervalSec=5m
#RateLimitInterval=30s
#RateLimitBurst=1000
#SystemMaxUse=
#SystemKeepFree=
SystemMaxFileSize=50M
#RuntimeMaxUse=
#RuntimeKeepFree=
#RuntimeMaxFileSize=
#MaxRetentionSec=
MaxFileSec=1month
#ForwardToSyslog=no
#ForwardToKMsg=no
#ForwardToConsole=no
#ForwardToWall=yes
#TTYPath=/dev/console
MaxLevelStore=debug
MaxLevelSyslog=debug
#MaxLevelKMsg=notice
#MaxLevelConsole=info
#MaxLevelWall=emerg

my dhcpd is set *( as it was for for syslog )

log-facility local7;

when I run joutnalctl | grep dhcp, all I see are the DHCPD start/stop messages

Any help much appreciated

Many thanks

dijetlo 06-09-2015 04:54 PM

The DHCP sub-system writes a lease database, it's default location is /var/lib/dhcpd/dhcpd.leases
If it's there, you should be able to grep it for data on your leases.

And welcome to Linuxquestions.org...


All times are GMT -5. The time now is 06:34 PM.