31
German - Deutsch / Re: Automatische Benachrichtigungen durch Opensense
« on: June 06, 2018, 04:35:47 pm »
Bei den DHCP Leases könnte Dir dieser Thread vielleicht weiter helfen.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
# grep -lr 82599 /usr/src/sys/
/usr/src/sys/conf/files
/usr/src/sys/modules/ixv/Makefile
/usr/src/sys/modules/ix/Makefile
/usr/src/sys/dev/ixgbe/ixgbe_common.c
/usr/src/sys/dev/ixgbe/ixgbe_api.h
/usr/src/sys/dev/ixgbe/ixgbe.h
/usr/src/sys/dev/ixgbe/if_ixv.c
/usr/src/sys/dev/ixgbe/ixgbe_phy.c
/usr/src/sys/dev/ixgbe/ixgbe_type.h
/usr/src/sys/dev/ixgbe/ixgbe_dcb.c
/usr/src/sys/dev/ixgbe/ixgbe_82599.c
/usr/src/sys/dev/ixgbe/ixgbe_dcb_82599.c
/usr/src/sys/dev/ixgbe/ix_txrx.c
/usr/src/sys/dev/ixgbe/if_ix.c
/usr/src/sys/dev/ixgbe/ixgbe_mbx.c
/usr/src/sys/dev/ixgbe/ixgbe_common.h
/usr/src/sys/dev/ixgbe/ixgbe_vf.c
/usr/src/sys/dev/ixgbe/ixgbe_api.c
/usr/src/sys/dev/ixgbe/ixgbe_dcb_82599.h
/usr/src/sys/dev/ixgbe/ixgbe_82599.h
HARDWARE
The ixgbe driver supports the following cards:
o Intel(R) 10 Gigabit XF SR/AF Dual Port Server Adapter
o Intel(R) 10 Gigabit XF SR/LR Server Adapter
o Intel(R) 82598EB 10 Gigabit AF Network Connection
o Intel(R) 82598EB 10 Gigabit AT CX4 Network Connection
Mail: Mailserver response error -- 553 Relaying disallowed as monit@subdomina.example.com
Monit itself is a great plugin, but the OPNsense implementation has some inconsistencies IMO.Monit is a monitoring software and the os-monit plugin is a UI to the Monit configuration.
Let's start with this: if it cannot notify the user, the plugin is almost useless (I'm sorry if it sounds harsh).
1. The alerting (general settings) page has features specific to a general email client (like "Secure Connection"), but it cannot take hostnames, making it unusable with most public email servers.As you know it's already in progress.
2. There is no easy way to select the OPNsense notification system. Once you have edited the Monit server settings (with plugin-validated settings - but inexistent email servers -> because of a misspelling for example), and you want to get back to the OPNsense notification system, according to https://forum.opnsense.org/index.php?topic=7103.msg32293#msg32293, you have to uninstall the plugin, export the entire OPNsense backup, edit the xml and delete the monit section, then import the backup. Just not practical and also dangerous.The OPNsense notification system has nothing to do with the os-monit plugin.
#!/bin/csh
set MaxCPUTemp = 75
set NumCPUs = `sysctl -n kern.smp.cpus`
set CurrentCPU = 0
while ( $CurrentCPU < $NumCPUs )
set CPUTemp = `sysctl dev.cpu.$CurrentCPU.temperature | awk '{print $2}' | awk -F. '{print $1}'`
echo "CPU $CurrentCPU temp: $CPUTemp"
if ( $CPUTemp >= $MaxCPUTemp ) then
exit 1
endif
@ CurrentCPU = $CurrentCPU + 1
end
exit 0
#!/bin/csh
set MaxLeaseCount = 500
set LeaseCount = `grep -c "binding state active" /var/dhcpd/var/db/dhcpd.leases`
echo "LeaseCount: $LeaseCount"
if ( $LeaseCount >= $MaxLeaseCount ) then
exit 1
endif
exit 0
[i386,amd64] The bce(4) driver provides support for various NICs based on the QLogic NetXtreme II family of Gigabit Ethernet controllers, including the following:
QLogic NetXtreme II BCM5706 1000Base-SX
QLogic NetXtreme II BCM5706 1000Base-T
QLogic NetXtreme II BCM5708 1000Base-SX
QLogic NetXtreme II BCM5708 1000Base-T
QLogic NetXtreme II BCM5709 1000Base-SX
QLogic NetXtreme II BCM5709 1000Base-T
QLogic NetXtreme II BCM5716 1000Base-T
Dell PowerEdge 1950 integrated BCM5708 NIC
Dell PowerEdge 2950 integrated BCM5708 NIC
Dell PowerEdge R710 integrated BCM5709 NIC
HP NC370F Multifunction Gigabit Server Adapter
HP NC370T Multifunction Gigabit Server Adapter
HP NC370i Multifunction Gigabit Server Adapter
HP NC371i Multifunction Gigabit Server Adapter
HP NC373F PCIe Multifunc Giga Server Adapter
HP NC373T PCIe Multifunction Gig Server Adapter
HP NC373i Multifunction Gigabit Server Adapter
HP NC373m Multifunction Gigabit Server Adapter
HP NC374m PCIe Multifunction Adapter
HP NC380T PCIe DP Multifunc Gig Server Adapter
HP NC382T PCIe DP Multifunction Gigabit Server Adapter
HP NC382i DP Multifunction Gigabit Server Adapter
HP NC382m DP 1GbE Multifunction BL-c Adapter