nagios1_postgresql-Wed.log
nagios1_postgresql-Wed.log
nagios1:root:/var/lib> psql -V
psql (PostgreSQL) 8.4.20
contains support for command-line editing
nagios1:root:/var/lib> echo "\dt+;"|psql nagiosxi nagiosxi
List of relations
Schema | Name | Type | Owner | Size | Description
--------+--------------------------+-------+----------+------------+-------------
public | xi_auditlog | table | nagiosxi | 5376 kB |
public | xi_auth_tokens | table | nagiosxi | 16 kB |
public | xi_cmp_ccm_backups | table | nagiosxi | 0 bytes |
public | xi_cmp_favorites | table | nagiosxi | 0 bytes |
public | xi_cmp_nagiosbpi_backups | table | nagiosxi | 8192 bytes |
public | xi_cmp_trapdata | table | nagiosxi | 0 bytes |
public | xi_cmp_trapdata_log | table | nagiosxi | 0 bytes |
public | xi_commands | table | nagiosxi | 72 kB |
public | xi_deploy_agents | table | nagiosxi | 0 bytes |
public | xi_deploy_jobs | table | nagiosxi | 0 bytes |
public | xi_eventqueue | table | nagiosxi | 16 kB |
public | xi_events | table | nagiosxi | 200 kB |
public | xi_incidents | table | nagiosxi | 0 bytes |
public | xi_meta | table | nagiosxi | 17 MB |
public | xi_mibs | table | nagiosxi | 8192 bytes |
public | xi_options | table | nagiosxi | 40 kB |
public | xi_sessions | table | nagiosxi | 8192 bytes |
public | xi_sysstat | table | nagiosxi | 24 kB |
public | xi_usermeta | table | nagiosxi | 224 kB |
public | xi_users | table | nagiosxi | 16 kB |
(20 rows)
nagios1:root:/var/lib> echo '\d xi_deploy_agents;' | psql nagiosxi nagiosxi
Table "public.xi_deploy_agents"
Column | Type | Modifiers
-------------------+-----------------------------+---------------------------------------------------------------
deploy_id | integer | not null default nextval('xi_deploy_agents_id_seq'::regclass)
creator_id | integer |
deployed_date | timestamp without time zone |
last_updated_date | timestamp without time zone |
last_status_check | timestamp without time zone |
available | smallint | default 0
version | character varying(10) |
address | character varying(60) |
hostname | character varying(250) |
os | character varying(24) |
metadata | text |
Indexes:
"xi_deploy_agents_pkey" PRIMARY KEY, btree (deploy_id)
nagios1:root:/var/lib> echo '\d xi_deploy_jobs;' | psql nagiosxi nagiosxi
Table "public.xi_deploy_jobs"
Column | Type | Modifiers
----------------+-----------------------+-------------------------------------------------------------
job_id | integer | not null default nextval('xi_deploy_jobs_id_seq'::regclass)
job_name | character varying(64) |
creator_id | integer |
version | character varying(10) |
os | character varying(24) |
addresses | text |
ncpa_token | text |
username | character varying(64) |
password | text |
vault_password | text |
sudo | smallint | default 0
status | integer |
pid | integer |
metadata | text |
Indexes:
"xi_deploy_jobs_pkey" PRIMARY KEY, btree (job_id)
And from out test environment:
nagios2:root:/var/lib/mysql> psql -V
psql (PostgreSQL) 8.4.20
contains support for command-line editing
nagios2:root:/var/lib/mysql> echo "\dt+;"|psql nagiosxi nagiosxi
List of relations
Schema | Name | Type | Owner | Size | Description
--------+--------------------------+-------+----------+------------+-------------
public | xi_auditlog | table | nagiosxi | 88 kB |
public | xi_auth_tokens | table | nagiosxi | 0 bytes |
public | xi_cmp_ccm_backups | table | nagiosxi | 0 bytes |
public | xi_cmp_favorites | table | nagiosxi | 0 bytes |
public | xi_cmp_nagiosbpi_backups | table | nagiosxi | 0 bytes |
public | xi_cmp_trapdata | table | nagiosxi | 0 bytes |
public | xi_cmp_trapdata_log | table | nagiosxi | 0 bytes |
public | xi_commands | table | nagiosxi | 0 bytes |
public | xi_deploy_agents | table | nagiosxi | 0 bytes |
public | xi_deploy_jobs | table | nagiosxi | 0 bytes |
public | xi_eventqueue | table | nagiosxi | 16 kB |
public | xi_events | table | nagiosxi | 0 bytes |
public | xi_incidents | table | nagiosxi | 0 bytes |
public | xi_meta | table | nagiosxi | 472 kB |
public | xi_mibs | table | nagiosxi | 0 bytes |
public | xi_options | table | nagiosxi | 32 kB |
public | xi_sessions | table | nagiosxi | 0 bytes |
public | xi_sysstat | table | nagiosxi | 16 kB |
public | xi_usermeta | table | nagiosxi | 152 kB |
public | xi_users | table | nagiosxi | 8192 bytes |
(20 rows)
nagios2:root:/var/lib/mysql> echo '\d xi_deploy_agents;' | psql nagiosxi nagiosxi
Table "public.xi_deploy_agents"
Column | Type | Modifiers
-------------------+-----------------------------+---------------------------------------------------------------
deploy_id | integer | not null default nextval('xi_deploy_agents_id_seq'::regclass)
creator_id | integer |
deployed_date | timestamp without time zone |
last_updated_date | timestamp without time zone |
last_status_check | timestamp without time zone |
available | smallint | default 0
version | character varying(10) |
address | character varying(60) |
hostname | character varying(250) |
os | character varying(24) |
metadata | text |
Indexes:
"xi_deploy_agents_pkey" PRIMARY KEY, btree (deploy_id)
nagios2:root:/var/lib/mysql> echo '\d xi_deploy_jobs;' | psql nagiosxi nagiosxi
Table "public.xi_deploy_jobs"
Column | Type | Modifiers
----------------+-----------------------+-------------------------------------------------------------
job_id | integer | not null default nextval('xi_deploy_jobs_id_seq'::regclass)
job_name | character varying(64) |
creator_id | integer |
version | character varying(10) |
os | character varying(24) |
addresses | text |
ncpa_token | text |
username | character varying(64) |
password | text |
vault_password | text |
sudo | smallint | default 0
status | integer |
pid | integer |
metadata | text |
Indexes:
"xi_deploy_jobs_pkey" PRIMARY KEY, btree (job_id)