Re: [Nagios-devel] Logging of username with external commands
Posted: Tue Jun 20, 2006 8:58 am
This is a multi-part message in MIME format.
------=_NextPart_000_00CD_01C69469.20C583D0
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: 7bit
I think you should forbid them from using Disable Notifications command and
rather use Acknolege and Scheduled Downtime commands.
Disable Notifications should only be used for long term deactivation
Thomas
> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]] On Behalf
> Of Dirk De Coninck
> Sent: June 20, 2006 11:36
> To: [email protected]
> Subject: [Nagios-devel] Logging of username with external commands
>
> Hi all,
>
> What do I need to do to have the username added to the nagios logfile
> for every external command?
> My problem is that the Windows system admins (they all have their own
> account) disable notifications and/or service checks without adding a
> comment and on top of that they forget to enable thing afterwards.
> The logfile only shows the time/date and the external command, but no
> clue as to who did it.
>
> Also, is it possible to add the username to the notification that is
> sent whenever somebody acknowledges an event?
>
> Last, something like a "reset flapping state" would be really
> helpful. I
> used to stop the nagios process and edit the status.dat file to change
> "is_flapping=1" to 0 (bad practice however), but I found a
> workaround by
> disabling the flap detection and enabling it again using the web
> interface for the specific service or host.
>
> Kind regards,
> Dirk.
>
>
>
> _______________________________________________
> Nagios-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/lis ... gios-devel
>
------=_NextPart_000_00CD_01C69469.20C583D0
Content-Type: application/x-pkcs7-signature;
name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
filename="smime.p7s"
MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIIwTCCAkkw
ggGyoAMCAQICAw+pBzANBgkqhkiG9w0BAQQFADBiMQswCQYDVQQGEwJaQTElMCMGA1UEChMcVGhh
d3RlIENvbnN1bHRpbmcgKFB0eSkgTHRkLjEsMCoGA1UEAxMjVGhhd3RlIFBlcnNvbmFsIEZyZWVt
YWlsIElzc3VpbmcgQ0EwHhcNMDUxMDEzMjE1NDQ2WhcNMDYxMDEz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EoMCYGA1UECxMfQ2VydGlmaWNhdGlv
biBTZXJ2aWNlcyBEaXZpc2lvbjEkMCIGA1UEAxMbVGhhd3RlIFBlcnNvbmFsIEZyZWVtYWlsIENB
MSswKQYJKoZIhvcNAQkBFhxwZXJzb25hbC1mcmVlbWFpbEB0aGF3dGUuY29tMIGfMA0GCSqGSIb3
DQEBAQUAA4GNADCBiQKBgQDUadfUsJRkW3HpR9gMUbbqcpGwhF59LQ2PexLfhSV1KHQ6QixjJ5+V
e0vvfhmHHYbqo925zpZkGsIUbkSsfOaP6E0PcR9AOKYAo4d49vmUhl6t6sBeduvZFKNdbnp8DKVL
VX8GGSl/npom1Wq7OCQIapjHsdqjmJH9edvlWsQcuQIDAQABoxMwETAPBgNVHRMBAf8EBTADAQH/
MA0GCSqGSIb3DQEBBAUAA4GBAMfskn5O+PWWpWdiKqTwTRFg0G+NYFhhrCa7UjVcCM8w+6hKloof
YkIjjBcP9LpknBesRynfnZhe0mxgcVyirNx54+duAEcftQ0o6AKd5Jr9E/Sm2Xyx+NxfIyYJkYBz
0BQb3kOpgyXy5pwvFcr+pquKB3WLDN1RhGvk+NHOd6KBMIIDPzCCAqigAwIBAgIBDTANBgkqhkiG
9w0BAQUFADCB0TELMAkGA1UEBhMCWkExFTATBgNVBAgTDFdlc3Rlcm4gQ2FwZTESMBAGA1UEBxMJ
Q2FwZSBUb3duMRowGAYDVQQKExFUaGF3dGUgQ29uc3V
...[email truncated]...
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]
------=_NextPart_000_00CD_01C69469.20C583D0
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: 7bit
I think you should forbid them from using Disable Notifications command and
rather use Acknolege and Scheduled Downtime commands.
Disable Notifications should only be used for long term deactivation
Thomas
> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]] On Behalf
> Of Dirk De Coninck
> Sent: June 20, 2006 11:36
> To: [email protected]
> Subject: [Nagios-devel] Logging of username with external commands
>
> Hi all,
>
> What do I need to do to have the username added to the nagios logfile
> for every external command?
> My problem is that the Windows system admins (they all have their own
> account) disable notifications and/or service checks without adding a
> comment and on top of that they forget to enable thing afterwards.
> The logfile only shows the time/date and the external command, but no
> clue as to who did it.
>
> Also, is it possible to add the username to the notification that is
> sent whenever somebody acknowledges an event?
>
> Last, something like a "reset flapping state" would be really
> helpful. I
> used to stop the nagios process and edit the status.dat file to change
> "is_flapping=1" to 0 (bad practice however), but I found a
> workaround by
> disabling the flap detection and enabling it again using the web
> interface for the specific service or host.
>
> Kind regards,
> Dirk.
>
>
>
> _______________________________________________
> Nagios-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/lis ... gios-devel
>
------=_NextPart_000_00CD_01C69469.20C583D0
Content-Type: application/x-pkcs7-signature;
name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
filename="smime.p7s"
MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIIwTCCAkkw
ggGyoAMCAQICAw+pBzANBgkqhkiG9w0BAQQFADBiMQswCQYDVQQGEwJaQTElMCMGA1UEChMcVGhh
d3RlIENvbnN1bHRpbmcgKFB0eSkgTHRkLjEsMCoGA1UEAxMjVGhhd3RlIFBlcnNvbmFsIEZyZWVt
YWlsIElzc3VpbmcgQ0EwHhcNMDUxMDEzMjE1NDQ2WhcNMDYxMDEzMjE1NDQ2WjBCMR8wHQYDVQQD
ExZUaGF3dGUgRnJlZW1haWwgTWVtYmVyMR8wHQYJKoZIhvcNAQkBFhB0aG9tYXNAemFuZ28uY29t
MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCpO58O2SQ+znxpvrbDsmLxepJzdphhREbvvU23
0jSS4DatcJo1W0r7FN56SmI1Bns0QQz/mKUxkbwSDtV3VURwhUtOjgM/mps1SK155dOCMCNCMVMM
S01a+qp+rdJeOhqOBWXsDoKRtln9m+rPsc5WN4eDblF6PMVmt9gS5eQXyQIDAQAB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mUhl6t6sBeduvZFKNdbnp8DKVL
VX8GGSl/npom1Wq7OCQIapjHsdqjmJH9edvlWsQcuQIDAQABoxMwETAPBgNVHRMBAf8EBTADAQH/
MA0GCSqGSIb3DQEBBAUAA4GBAMfskn5O+PWWpWdiKqTwTRFg0G+NYFhhrCa7UjVcCM8w+6hKloof
YkIjjBcP9LpknBesRynfnZhe0mxgcVyirNx54+duAEcftQ0o6AKd5Jr9E/Sm2Xyx+NxfIyYJkYBz
0BQb3kOpgyXy5pwvFcr+pquKB3WLDN1RhGvk+NHOd6KBMIIDPzCCAqigAwIBAgIBDTANBgkqhkiG
9w0BAQUFADCB0TELMAkGA1UEBhMCWkExFTATBgNVBAgTDFdlc3Rlcm4gQ2FwZTESMBAGA1UEBxMJ
Q2FwZSBUb3duMRowGAYDVQQKExFUaGF3dGUgQ29uc3V
...[email truncated]...
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]