Welcome to Pandora FMS Community › Forums › Community support › Advanced troubleshooting › Last Contract time
-
Last Contract time
Posted by cwmoser on August 19, 2011 at 14:28Pandora FMS
View Agents -> Tactical View
Here is a screen shot:
http://www.cerant.com/Pandora.jpegMy remote Agent sends alert that PrintSpooler has stopped but I get no sound alert and it shows a 2 hour timestamp.
I set up an Alert Action called “Bell” to sound an alarm but it does not work.
I am in USA – timezone is EST.
I tried to set the Time Zone on the Pandora Linux appliance to EST but then the console shows negative time stamps. I then reinstalled the Pandora FMS Linux appliance and started all over again. Still cannot get the Alerts to really work — all I can get it that they will show on the console screen. Cannot get the Alert to sound, cannot get the Alert to send email.
So, how do you:
1- Make the Alerts work
2- set the Time Zone properly for Pandora?Carl
cwmoser replied 13 years, 5 months ago 2 Members · 4 Replies -
4 Replies
-
::
Ahhh but that was the problem.
No sound alert will work if the alert fired or the module entered in warning or critical status hours ago.
Check the section Administration->Setup:
Time source
What source to use for the time. This can be (for now) either the local system (System) or database (Database).
This is useful when your database is not on the same system as your webserver or your Pandora FMS servers. In that case any time difference will miscalculate the time differences and timestamps. You should use NTP to sync all your pandora servers and your MySQL server. By using these preferences you don’t have to sync your webserver but it’s still recommended.
Feel free to implement more sources (eg: ntp, ldap, $_SERVER…).
Note: The database query will be cached the first time it’s called so the time will always be the same on a page load throughout, while System time is returned whenever the function is called, which might differ slightly (especially near the ending of a second).
In resume, make sure your system/DB/browser are synchronized.
That means using a ntp server or placing all of them in the same time zone and hour.
Check how to do it here:
Regards.
-
-
-