Re: [CentOS] looking for graphing tools
> > I can figure out some simple scripting to turn the maillog entries > into times since the epoch, or other formats, if needed, but I have > no experience with the various graphing tools availabe, or even > what (or where) they are. > If you are talking about scripting graphs, then Gnuplot is what you need - it's in the core centos distro I think. If you want a dedicated gui graphing application, then you can't go far wrong with Grace - it's in EPEL. I've used it for producing publication quality plots but it's equally capable of dealing with everyday graphing. The native save file format is simple and plain text, so it's quite easy to generate the files using a script which can then be read straight in to grace and will have correct axes, lables, etc. P. ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] looking for graphing tools
On 6/20/2017 1:27 AM, Pete Biggs wrote: I can figure out some simple scripting to turn the maillog entries into times since the epoch, or other formats, if needed, but I have no experience with the various graphing tools availabe, or even what (or where) they are. If you are talking about scripting graphs, then Gnuplot is what you need - it's in the core centos distro I think. If you want a dedicated gui graphing application, then you can't go far wrong with Grace - it's in EPEL. I've used it for producing publication quality plots but it's equally capable of dealing with everyday graphing. The native save file format is simple and plain text, so it's quite easy to generate the files using a script which can then be read straight in to grace and will have correct axes, lables, etc. another tool i've used for creating various sorts of graphs is Gnu Octave. this is a matlab replacement, and if you can import a bunch of numbers, you can graph them 8 ways from sideways. -- john r pierce, recycling bits in santa cruz ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
[CentOS] CentOS 6 and luksOpen
Upgraded a RAID. Copied everything from backup. And then my manager said I had to encrypt the drive. I've done that, and made the filesystem, but I can't mount it. CentOS 6. I have the entry in /etc/crypttab, and a key in /etc/crypt.pw, and the luks UUID in /etc/fstab. I cannot find the command that tells it to create the device in /dev/mapper from the info in /etc/crypttab. Clues for the poor? Yes, the server will, at some point in the future, go to CentOS 7, but that needs my user to be off for a while, and his jobs run literally for weeks, with loads upwords of 30 on an HBS (honkin' big server) mark ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS 6 and luksOpen
> Am 20.06.2017 um 16:53 schrieb m.r...@5-cent.us: > > Upgraded a RAID. Copied everything from backup. > > And then my manager said I had to encrypt the drive. > > I've done that, and made the filesystem, but I can't mount it. > > CentOS 6. > I have the entry in /etc/crypttab, and a key in /etc/crypt.pw, and the > luks UUID in /etc/fstab. I cannot find the command that tells it to create > the device in /dev/mapper from the info in /etc/crypttab. > > Clues for the poor? Yes, the server will, at some point in the future, go > to CentOS 7, but that needs my user to be off for a while, and his jobs > run literally for weeks, with loads upwords of 30 on an HBS (honkin' big > server) MAPDEVICE=/dev/sdxy ; cryptsetup luksOpen ${MAPDEVICE} luks-$(cryptsetup luksUUID ${MAPDEVICE}) MAPDEVICE=/dev/sdxy ; mount /dev/mapper/luks-$(cryptsetup luksUUID ${MAPDEVICE}) /mnt -- LF ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS 6 and luksOpen
Leon Fauster wrote: >> Am 20.06.2017 um 16:53 schrieb m.r...@5-cent.us: >> >> Upgraded a RAID. Copied everything from backup. >> >> And then my manager said I had to encrypt the drive. >> >> I've done that, and made the filesystem, but I can't mount it. >> >> CentOS 6. >> I have the entry in /etc/crypttab, and a key in /etc/crypt.pw, and the >> luks UUID in /etc/fstab. I cannot find the command that tells it to >> create the device in /dev/mapper from the info in /etc/crypttab. >> >> Clues for the poor? Yes, the server will, at some point in the future, >> go to CentOS 7, but that needs my user to be off for a while, and his jobs >> run literally for weeks, with loads upwords of 30 on an HBS (honkin' big >> server) > > MAPDEVICE=/dev/sdxy ; cryptsetup luksOpen ${MAPDEVICE} luks-$(cryptsetup > luksUUID ${MAPDEVICE}) Something's not right. I did cryptsetup luksOpen /dev/sdb luks-$(cryptsetup luksUUID $(/dev/sdb)) --key-file /etc/crypt.pw It did want the password, so I added --key-file, but it seems to have created /dev/mapper/luks, not the full luksUUID that's in both crypttab and fstab. mark > MAPDEVICE=/dev/sdxy ; mount /dev/mapper/luks-$(cryptsetup luksUUID > ${MAPDEVICE}) /mnt > > -- > LF > > > ___ > CentOS mailing list > CentOS@centos.org > https://lists.centos.org/mailman/listinfo/centos > ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS 6 and luksOpen
> Am 20.06.2017 um 17:12 schrieb m.r...@5-cent.us: > > Leon Fauster wrote: >>> Am 20.06.2017 um 16:53 schrieb m.r...@5-cent.us: >>> >>> Upgraded a RAID. Copied everything from backup. >>> >>> And then my manager said I had to encrypt the drive. >>> >>> I've done that, and made the filesystem, but I can't mount it. >>> >>> CentOS 6. >>> I have the entry in /etc/crypttab, and a key in /etc/crypt.pw, and the >>> luks UUID in /etc/fstab. I cannot find the command that tells it to >>> create the device in /dev/mapper from the info in /etc/crypttab. >>> >>> Clues for the poor? Yes, the server will, at some point in the future, >>> go to CentOS 7, but that needs my user to be off for a while, and his jobs >>> run literally for weeks, with loads upwords of 30 on an HBS (honkin' big >>> server) >> >> MAPDEVICE=/dev/sdxy ; cryptsetup luksOpen ${MAPDEVICE} luks-$(cryptsetup >> luksUUID ${MAPDEVICE}) > > Something's not right. I did > cryptsetup luksOpen /dev/sdb luks-$(cryptsetup luksUUID $(/dev/sdb)) > --key-file /etc/crypt.pw > > It did want the password, so I added --key-file, but it seems to have > created /dev/mapper/luks, not the full luksUUID that's in both crypttab > and fstab. unmap: cryptsetup luksClose /dev/mapper/luks and then try again with following correction NOT ...UUID $(/dev/sdb) ...UUID /dev/sdb -- LF ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS 6 and luksOpen
Leon, Leon Fauster wrote: >> Am 20.06.2017 um 17:12 schrieb m.r...@5-cent.us: >> Leon Fauster wrote: Am 20.06.2017 um 16:53 schrieb m.r...@5-cent.us: I've done that, and made the filesystem, but I can't mount it. CentOS 6. I have the entry in /etc/crypttab, and a key in /etc/crypt.pw, and the luks UUID in /etc/fstab. I cannot find the command that tells it to create the device in /dev/mapper from the info in /etc/crypttab. >>> >>> >>> MAPDEVICE=/dev/sdxy ; cryptsetup luksOpen ${MAPDEVICE} >>> luks-$(cryptsetup >>> luksUUID ${MAPDEVICE}) >> >> Something's not right. I did >> cryptsetup luksOpen /dev/sdb luks-$(cryptsetup luksUUID $(/dev/sdb)) >> --key-file /etc/crypt.pw >> >> It did want the password, so I added --key-file, but it seems to have >> created /dev/mapper/luks, not the full luksUUID that's in both crypttab >> and fstab. > > unmap: cryptsetup luksClose /dev/mapper/luks > > and then try again with following correction > > NOT ...UUID $(/dev/sdb) > ...UUID /dev/sdb Thank you *very* much for the help, and such fast responses. Googling hadn't been helpful I'm good now (and will be documenting it for my manager and the other admin). mark ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] looking for graphing tools
Am 19.06.2017 um 21:26 schrieb Fred Smith: Hi! I have bazillions of incoming (rejected) attempts to connect to my SMTP server, and I'm interested in separating out those that seem to come in huge bunches (e.g., the one from yesterday that ran for about 10 hours and sent over 4100 attempts), and graphing them so I can see the spacing and/or distribution in time. I can figure out some simple scripting to turn the maillog entries into times since the epoch, or other formats, if needed, but I have no experience with the various graphing tools availabe, or even what (or where) they are. I'd appreciate pointers-and-or-advice, should any of you have any such things to give. thanks in advance! Fred Out of the box: mailgraph https://mailgraph.schweikert.ch/ https://github.com/schweikert/mailgraph There are forks which implement newer anti-spam implementations like Postfix's postscreen. See an example here https://mailgraph.piratenpartei-bayern.de/ Something more generic but powerful: Prometheus with Grafana It works with a time series database in the background and is the de-facto standard in DevOps environments. With a Google image search for Grafana you find a lot of examples how it looks like. If the application does not provide the necessary metrics itself for Prometheus then an exporter is required. You find some for Postfix. Prometheus will scrape the exported metrics and within Grafana you can easily add nice and useful graphs into your dashboards. Alexander ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
[CentOS] CentOS 6: cannot open gnome-session
Hello there, trying to open Session settings in GNOME's System/Preferences, I get this error: = Error opening current splash image. The current splash image filename is: /usr/share/pixmaps/splash/gnome-splash.png = I get this exact same error on 2 different CentOS 6 systems (up-to-date). On both systems, /usr/share/pixmaps/splash/ does not exist. Did anybody already face that issue? Creating the missing file (out of any .png) doesn't solve the problem: I don't get the error anymore but the Session setting never open. Regards, -- wwp pgp1uRepuhp2v.pgp Description: OpenPGP digital signature ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos