Page 1 of 2

Service shows in listing, but not in configuration

Posted: Tue Mar 18, 2014 2:02 pm
by ChathamDaleJ
I have a problem with two hosts with the same service. The service shows up when I list services for the host, but it does not appear on the configuration page, nor can i grep through /usr/local/nagios/etc/services/* to locate the service. How do I delete this thing? If I delete all shown services and the host, it won't pass the preflight because this service is orphaned.

Any ideas?

Re: Service shows in listing, but not in configuration

Posted: Tue Mar 18, 2014 2:08 pm
by tmcdonald
You're saying it doesn't show up in the CCM at all? Have you tried searching for both the service name and, separately, the host it is attached to? Sometimes a service has a name matching its host and it can get confusing.

Re: Service shows in listing, but not in configuration

Posted: Wed Mar 19, 2014 3:40 pm
by ChathamDaleJ
I have gone to /usr/local/nagios/etc

From there I executed the command:

grep <hostname> */*
grep <service> */*

The host/service combination does not exist. The IP does not exist under an improper host name.

I have two service that are acting like this.

I have not dumped the MySQL yet, but it's my next step. I'll jump right on that one in my copious spare time :)

Re: Service shows in listing, but not in configuration

Posted: Wed Mar 19, 2014 3:53 pm
by lmiltchev
You may have a "ghost" host/service. If you are sure you deleted them in the CCM, take a look at what you have in the hosts/services directories (sort by time modified):

Code: Select all

ll -t /usr/local/nagios/etc/hosts
ll -t /usr/local/nagios/etc/services
Look at the timestamps. If you have a ghost host/service, the config wouldn't be updated. If you find the file, you can manually delete it in the CLI.

Note: To rule out multiple nagios instances running, run the following commands:

Code: Select all

service nagios stop
killall nagios
service nagios start

Re: Service shows in listing, but not in configuration

Posted: Thu Mar 20, 2014 7:43 am
by ChathamDaleJ
The host with the ghost service is gbnagios01

The ghost service is lwsmd

I executed the command locate gbnagios01.cfg

[root@gbnagios01 hosts]# locate gbnagios01.cfg
/etc/nagiosql/backup/hosts/gbnagios01.cfg_old_20140319141534
/etc/nagiosql/backup/hosts/gbnagios01.cfg_old_20140319141957
/etc/nagiosql/backup/hosts/gbnagios01.cfg_old_20140319142447
/etc/nagiosql/backup/hosts/gbnagios01.cfg_old_20140319145528
/etc/nagiosql/backup/services/gbnagios01.cfg_old_20140319141559
/etc/nagiosql/backup/services/gbnagios01.cfg_old_20140319142017
/etc/nagiosql/backup/services/gbnagios01.cfg_old_20140319142508
/etc/nagiosql/backup/services/gbnagios01.cfg_old_20140319145551
/store/backups/nagiosxi/1389198430/usr/local/nagios/etc/hosts/gbnagios01.cfg
/store/backups/nagiosxi/1389198430/usr/local/nagios/etc/services/gbnagios01.cfg
/store/backups/nagiosxi/1389198430/usr/local/nagios/etc/services.20131030/gbnagios01.cfg
/usr/local/nagios/etc/hosts/gbnagios01.cfg
/usr/local/nagios/etc/services/gbnagios01.cfg
/usr/local/nagios/etc/services.20131030/gbnagios01.cfg

Then, I ran:

[root@gbnagios01 services]# locate gbnagios01.cfg | \
> while read file
> do
> grep -i lwsmd $file
> done
You have new mail in /var/spool/mail/root
[root@gbnagios01 services]#


No hits.

Re: Service shows in listing, but not in configuration

Posted: Thu Mar 20, 2014 7:52 am
by scottwilkerson
Actually, I would run the following if the service name is lwsmd

Code: Select all

grep -R lwsmd /usr/local/nagios/etc

This will find the potential files the config could be in.

Remember, it could be because you have a host_group added to a service which would add the service to multiple hosts, so it is possible that the host_name is not in the config...

Re: Service shows in listing, but not in configuration

Posted: Thu Mar 20, 2014 11:14 am
by ChathamDaleJ
Ran grep -R, no surprises. The only place that lwsmd shows in in /usr/local/nagios/etc/services

No services defiend in hostgroups

Re: Service shows in listing, but not in configuration

Posted: Thu Mar 20, 2014 3:53 pm
by lmiltchev
What is the output of the following command?

Code: Select all

grep -R lwsmd /usr/local/nagios/etc/services

Re: Service shows in listing, but not in configuration

Posted: Fri Mar 21, 2014 6:52 am
by ChathamDaleJ
OK, that one was a bit obvious and I've run it many times looking for this.

Of particular interest:
[root@gbnagios01 nagios]# cd /usr/local/nagios
You have new mail in /var/spool/mail/root
[root@gbnagios01 nagios]# grep -R lwsmd etc/services |grep nagios
[root@gbnagios01 nagios]#


But here is the whole list.

Code: Select all

/usr/local/nagios/etc/services/gba2r5lb01.cfg:  check_command                   check_xi_service_snmp_linux_process! -C gb2k --v2c -n 'lwsmd' -w '0' -c '0'
/usr/local/nagios/etc/services/vm-ac123536.cfg: check_command                   check_xi_service_snmp_linux_process! -C gb2k --v2c -n 'lwsmd' -w '0' -c '0'
/usr/local/nagios/etc/services/gbplr4lb09.cfg:  check_command                   check_xi_service_snmp_linux_process! -C gb2k --v2c -n 'lwsmd' -w '0' -c '0'
/usr/local/nagios/etc/services/vm-ac123535.cfg: check_command                   check_xi_service_snmp_linux_process! -C gb2k --v2c -n 'lwsmd' -w '0' -c '0'
/usr/local/nagios/etc/services/gbplr5cp03.cfg:  check_command                   check_xi_service_snmp_linux_process! -C gb2k --v2c -n 'lwsmd' -w '0' -c '0'
/usr/local/nagios/etc/services/gbplcpq01.cfg:   check_command                   check_xi_service_snmp_linux_process! -C gb2k --v2c -n 'lwsmd' -w '0' -c '0'
/usr/local/nagios/etc/services/gbgenius06.cfg:  service_description             lwsmd
/usr/local/nagios/etc/services/gbgenius06.cfg:  check_command                   check_xi_service_snmp_linux_process! -C gb2k --v2c -n 'lwsmd' -w '0' -c '0'!!!!!!!
/usr/local/nagios/etc/services/gbplr4lb11.cfg:  check_command                   check_xi_service_snmp_linux_process! -C gb2k --v2c -n 'lwsmd' -w '0' -c '0'
/usr/local/nagios/etc/services/vm-ac12352f.cfg: check_command                   check_xi_service_snmp_linux_process! -C gb2k --v2c -n 'lwsmd' -w '0' -c '0'
/usr/local/nagios/etc/services/vm-ac123523.cfg: check_command                   check_xi_service_snmp_linux_process! -C gb2k --v2c -n 'lwsmd' -w '0' -c '0'
/usr/local/nagios/etc/services/gbplebuild03.cfg:        check_command                   check_xi_service_snmp_linux_process! -C gb2k --v2c -n 'lwsmd' -w '0' -c '0'
/usr/local/nagios/etc/services/gbplmoc01.cfg:   check_command                   check_xi_service_snmp_linux_process! -C gb2k --v2c -n 'lwsmd' -w '0' -c '0'
/usr/local/nagios/etc/services/gbplr4lb01.cfg:  check_command                   check_xi_service_snmp_linux_process! -C gb2k --v2c -n 'lwsmd' -w '0' -c '0'
/usr/local/nagios/etc/services/gbgenius-sh02.cfg:       check_command                   check_xi_service_snmp_linux_process! -C gb2k --v2c -n 'lwsmd' -w '0' -c '0'
/usr/local/nagios/etc/services/gbplc20-03.cfg:  check_command                   check_xi_service_snmp_linux_process! -C gb2k --v2c -n 'lwsmd' -w '0' -c '0'
/usr/local/nagios/etc/services/gbrh4pt01.cfg:   check_command                   check_xi_service_snmp_linux_process! -C gb2k --v2c -n 'lwsmd' -w '0' -c '0'
/usr/local/nagios/etc/services/gbgenius01.cfg:  service_description             lwsmd
/usr/local/nagios/etc/services/gbgenius01.cfg:  check_command                   check_xi_service_snmp_linux_process! -C gb2k --v2c -n 'lwsmd' -w '0' -c '0'!!!!!!!
/usr/local/nagios/etc/services/gbflex01.cfg:    check_command                   check_xi_service_snmp_linux_process! -C gb2k --v2c -n 'lwsmd' -w '0' -c '0'
/usr/local/nagios/etc/services/gbattconnect.cfg:        check_command                   check_xi_service_snmp_linux_process! -C gb2k --v2c -n 'lwsmd' -w '0' -c '0'
/usr/local/nagios/etc/services/gbgenius03.cfg:  service_description             lwsmd
/usr/local/nagios/etc/services/gbgenius03.cfg:  check_command                   check_xi_service_snmp_linux_process! -C gb2k --v2c -n 'lwsmd' -w '0' -c '0'!!!!!!!
/usr/local/nagios/etc/services/gbplwambld01.cfg:        check_command                   check_xi_service_snmp_linux_process! -C gb2k --v2c -n 'lwsmd' -w '0' -c '0'
/usr/local/nagios/etc/services/gbrancid.cfg:    check_command                   check_xi_service_snmp_linux_process! -C gb2k --v2c -n 'lwsmd' -w '0' -c '0'
/usr/local/nagios/etc/services/gba2saas03.cfg:  check_command                   check_xi_service_snmp_linux_process! -C gb2k --v2c -n 'lwsmd' -w '0' -c '0'
/usr/local/nagios/etc/services/gbplr5cnct.cfg:  check_command                   check_xi_service_snmp_linux_process! -C gb2k --v2c -n 'lwsmd' -w '0' -c '0'
/usr/local/nagios/etc/services/vm-ac123519.cfg: check_command                   check_xi_service_snmp_linux_process! -C gb2k --v2c -n 'lwsmd' -w '0' -c '0'!!!!!!!
/usr/local/nagios/etc/services/vm-ac123524.cfg: check_command                   check_xi_service_snmp_linux_process! -C gb2k --v2c -n 'lwsmd' -w '0' -c '0'
/usr/local/nagios/etc/services/gbjira01.cfg:    check_command                   check_xi_service_snmp_linux_process! -C gb2k --v2c -n 'lwsmd' -w '0' -c '0'
/usr/local/nagios/etc/services/gbplcfe01.cfg:   service_description             lwsmd
/usr/local/nagios/etc/services/gbplcfe01.cfg:   check_command                   check_xi_service_snmp_linux_process! -C gb2k --v2c -n 'lwsmd' -w '0' -c '0'!!!!!!!
/usr/local/nagios/etc/services/gbtoolbox1.cfg:  check_command                   check_xi_service_snmp_linux_process! -C gb2k --v2c -n 'lwsmd' -w '0' -c '0'
/usr/local/nagios/etc/services/vm-ac123525.cfg: check_command                   check_xi_service_snmp_linux_process! -C gb2k --v2c -n 'lwsmd' -w '0' -c '0'
/usr/local/nagios/etc/services/gbplc20-04.cfg:  check_command                   check_xi_service_snmp_linux_process! -C gb2k --v2c -n 'lwsmd' -w '0' -c '0'
/usr/local/nagios/etc/services/gbplr4lb03.cfg:  check_command                   check_xi_service_snmp_linux_process! -C gb2k --v2c -n 'lwsmd' -w '0' -c '0'
/usr/local/nagios/etc/services/gbplesbc02.cfg:  check_command                   check_xi_service_snmp_linux_process! -C gb2k --v2c -n 'lwsmd' -w '0' -c '0'
/usr/local/nagios/etc/services/gba2saas01.cfg:  check_command                   check_xi_service_snmp_linux_process! -C gb2k --v2c -n 'lwsmd' -w '0' -c '0'
/usr/local/nagios/etc/services/gbplefusn.cfg:   check_command                   check_xi_service_snmp_linux_process! -C gb2k --v2c -n 'lwsmd' -w '0' -c '0'
/usr/local/nagios/etc/services/snafu.cfg:       check_command                   check_xi_service_snmp_linux_process! -C gb2k --v2c -n 'lwsmd' -w '0' -c '0'
/usr/local/nagios/etc/services/vm-ac123522.cfg: check_command                   check_xi_service_snmp_linux_process! -C gb2k --v2c -n 'lwsmd' -w '0' -c '0'!!!!!!!
/usr/local/nagios/etc/services/iwebwww.cfg:     check_command                   check_xi_service_snmp_linux_process! -C gb2k --v2c -n 'lwsmd' -w '0' -c '0'
/usr/local/nagios/etc/services/gbplr4lb12.cfg:  check_command                   check_xi_service_snmp_linux_process! -C gb2k --v2c -n 'lwsmd' -w '0' -c '0'
/usr/local/nagios/etc/services/gbplr4lb07.cfg:  check_command                   check_xi_service_snmp_linux_process! -C gb2k --v2c -n 'lwsmd' -w '0' -c '0'
/usr/local/nagios/etc/services/gbplr4cp01.cfg:  check_command                   check_xi_service_snmp_linux_process! -C gb2k --v2c -n 'lwsmd' -w '0' -c '0'
/usr/local/nagios/etc/services/gbhomertst.cfg:  check_command                   check_xi_service_snmp_linux_process! -C gb2k --v2c -n 'lwsmd' -w '0' -c '0'
/usr/local/nagios/etc/services/gbplr5vc02.cfg:  service_description             lwsmd
/usr/local/nagios/etc/services/gbplr5vc02.cfg:  check_command                   check_xi_service_snmp_linux_process! -C gb2k --v2c -n 'lwsmd' -w '0' -c '0'!!!!!!!
/usr/local/nagios/etc/services/gbplcpq02.cfg:   check_command                   check_xi_service_snmp_linux_process! -C gb2k --v2c -n 'lwsmd' -w '0' -c '0'
/usr/local/nagios/etc/services/gbplbrstg01.cfg: check_command                   check_xi_service_snmp_linux_process! -C gb2k --v2c -n 'lwsmd' -w '0' -c '0'
/usr/local/nagios/etc/services/gbgenius101.cfg: service_description             lwsmd
/usr/local/nagios/etc/services/gbgenius101.cfg: check_command                   check_xi_service_snmp_linux_process! -C gb2k --v2c -n 'lwsmd' -w '0' -c '0'!!!!!!!
/usr/local/nagios/etc/services/gbplr4lb06.cfg:  check_command                   check_xi_service_snmp_linux_process! -C gb2k --v2c -n 'lwsmd' -w '0' -c '0'
/usr/local/nagios/etc/services/gbplr4lb05.cfg:  check_command                   check_xi_service_snmp_linux_process! -C gb2k --v2c -n 'lwsmd' -w '0' -c '0'
/usr/local/nagios/etc/services/gbgenius98.cfg:  service_description             lwsmd
/usr/local/nagios/etc/services/gbgenius98.cfg:  check_command                   check_xi_service_snmp_linux_process! -C gb2k --v2c -n 'lwsmd' -w '0' -c '0'!!!!!!!
/usr/local/nagios/etc/services/gbmwest-test.cfg:        check_command                   check_xi_service_snmp_linux_process! -C gb2k --v2c -n 'lwsmd' -w '0' -c '0'
/usr/local/nagios/etc/services/gbplesbc03.cfg:  check_command                   check_xi_service_snmp_linux_process! -C gb2k --v2c -n 'lwsmd' -w '0' -c '0'
/usr/local/nagios/etc/services/gbpltech04.cfg:  check_command                   check_xi_service_snmp_linux_process! -C gb2k --v2c -n 'lwsmd' -w '0' -c '0'
/usr/local/nagios/etc/services/gbplr4s301.cfg:  check_command                   check_xi_service_snmp_linux_process! -C gb2k --v2c -n 'lwsmd' -w '0' -c '0'
/usr/local/nagios/etc/services/gbplc20-01.cfg:  check_command                   check_xi_service_snmp_linux_process! -C gb2k --v2c -n 'lwsmd' -w '0' -c '0'
/usr/local/nagios/etc/services/gbiweblx01.cfg:  check_command                   check_xi_service_snmp_linux_process! -C gb2k --v2c -n 'lwsmd' -w '0' -c '0'
/usr/local/nagios/etc/services/vm-ac12352d.cfg: check_command                   check_xi_service_snmp_linux_process! -C gb2k --v2c -n 'lwsmd' -w '0' -c '0'
/usr/local/nagios/etc/services/vm-ac123530.cfg: check_command                   check_xi_service_snmp_linux_process! -C gb2k --v2c -n 'lwsmd' -w '0' -c '0'
/usr/local/nagios/etc/services/gbjiraprod01.cfg:        check_command                   check_xi_service_snmp_linux_process! -C gb2k --v2c -n 'lwsmd' -w '0' -c '0'
/usr/local/nagios/etc/services/gbplr5ccc01.cfg: check_command                   check_xi_service_snmp_linux_process! -C gb2k --v2c -n 'lwsmd' -w '0' -c '0'
/usr/local/nagios/etc/services/g6g2cvs.cfg:     check_command                   check_xi_service_snmp_linux_process! -C gb2k --v2c -n 'lwsmd' -w '0' -c '0'
/usr/local/nagios/etc/services/gbpltech03.cfg:  check_command                   check_xi_service_snmp_linux_process! -C gb2k --v2c -n 'lwsmd' -w '0' -c '0'
/usr/local/nagios/etc/services/gbwamdsgn04.cfg: check_command                   check_xi_service_snmp_linux_process! -C gb2k --v2c -n 'lwsmd' -w '0' -c '0'
/usr/local/nagios/etc/services/gbplebuild04.cfg:        check_command                   check_xi_service_snmp_linux_process! -C gb2k --v2c -n 'lwsmd' -w '0' -c '0'
/usr/local/nagios/etc/services/gba2cfg01.cfg:   check_command                   check_xi_service_snmp_linux_process! -C gb2k --v2c -n 'lwsmd' -w '0' -c '0'
/usr/local/nagios/etc/services/gbgengit01.cfg:  check_command                   check_xi_service_snmp_linux_process! -C gb2k --v2c -n 'lwsmd' -w '0' -c '0'
/usr/local/nagios/etc/services/gbgenius02.cfg:  service_description             lwsmd
/usr/local/nagios/etc/services/gbgenius02.cfg:  check_command                   check_xi_service_snmp_linux_process! -C gb2k --v2c -t 60 -n 'lwsmd' -w '0' -c '0'!!!!!!!
/usr/local/nagios/etc/services/gbgenius99.cfg:  service_description             lwsmd
/usr/local/nagios/etc/services/gbgenius99.cfg:  check_command                   check_xi_service_snmp_linux_process! -C gb2k --v2c -n 'lwsmd' -w '0' -c '0'!!!!!!!
/usr/local/nagios/etc/services/gbcvpls01.cfg:   check_command                   check_xi_service_snmp_linux_process! -C gb2k --v2c -n 'lwsmd' -w '0' -c '0'
/usr/local/nagios/etc/services/gbwamdsgn01.cfg: check_command                   check_xi_service_snmp_linux_process! -C gb2k --v2c -n 'lwsmd' -w '0' -c '0'
/usr/local/nagios/etc/services/gbsuse1001.cfg:  check_command                   check_xi_service_snmp_linux_process! -C gb2k --v2c -n 'lwsmd' -w '0' -c '0'
/usr/local/nagios/etc/services/gbplr4vc02.cfg:  check_command                   check_xi_service_snmp_linux_process! -C gb2k --v2c -n 'lwsmd' -w '0' -c '0'
/usr/local/nagios/etc/services/gbwamdsgn02.cfg: check_command                   check_xi_service_snmp_linux_process! -C gb2k --v2c -n 'lwsmd' -w '0' -c '0'
/usr/local/nagios/etc/services/wrtpy0ur.cfg:    check_command                   check_xi_service_snmp_linux_process! -C gb2k --v2c -n 'lwsmd' -w '0' -c '0'
/usr/local/nagios/etc/services/gbplr4cp04.cfg:  check_command                   check_xi_service_snmp_linux_process! -C gb2k --v2c -n 'lwsmd' -w '0' -c '0'
/usr/local/nagios/etc/services/vm-ac12352e.cfg: check_command                   check_xi_service_snmp_linux_process! -C gb2k --v2c -n 'lwsmd' -w '0' -c '0'
/usr/local/nagios/etc/services/gbgenius08.cfg:  service_description             lwsmd
/usr/local/nagios/etc/services/gbgenius08.cfg:  check_command                   check_xi_service_snmp_linux_process! -C gb2k --v2c -n 'lwsmd' -w '0' -c '0'!!!!!!!
/usr/local/nagios/etc/services/gbwebalarm.cfg:  check_command                   check_xi_service_snmp_linux_process! -C gb2k --v2c -n 'lwsmd' -w '0' -c '0'
/usr/local/nagios/etc/services/gbplr5cp02.cfg:  check_command                   check_xi_service_snmp_linux_process! -C gb2k --v2c -n 'lwsmd' -w '0' -c '0'
/usr/local/nagios/etc/services/gbplr5hw03.cfg:  check_command                   check_xi_service_snmp_linux_process! -C gb2k --v2c -n 'lwsmd' -w '0' -c '0'
/usr/local/nagios/etc/services/gbgenius04.cfg:  service_description             lwsmd
/usr/local/nagios/etc/services/gbgenius04.cfg:  check_command                   check_xi_service_snmp_linux_process! -C gb2k --v2c -n 'lwsmd' -w '0' -c '0'!!!!!!!
/usr/local/nagios/etc/services/gbplr4lb04.cfg:  check_command                   check_xi_service_snmp_linux_process! -C gb2k --v2c -n 'lwsmd' -w '0' -c '0'
/usr/local/nagios/etc/services/gbgenius-sh01.cfg:       check_command                   check_xi_service_snmp_linux_process! -C gb2k --v2c -n 'lwsmd' -w '0' -c '0'
/usr/local/nagios/etc/services/gbplgts.cfg:     check_command                   check_xi_service_snmp_linux_process! -C gb2k --v2c -n 'lwsmd' -w '0' -c '0'
/usr/local/nagios/etc/services/gbplr4lb08.cfg:  check_command                   check_xi_service_snmp_linux_process! -C gb2k --v2c -n 'lwsmd' -w '0' -c '0'
/usr/local/nagios/etc/services/gbpca03.cfg:     check_command                   check_xi_service_snmp_linux_process! -C gb2k --v2c -n 'lwsmd' -w '0' -c '0'
/usr/local/nagios/etc/services/gba2r4lb01.cfg:  check_command                   check_xi_service_snmp_linux_process! -C gb2k --v2c -n 'lwsmd' -w '0' -c '0'
/usr/local/nagios/etc/services/gbplr4lb10.cfg:  check_command                   check_xi_service_snmp_linux_process! -C gb2k --v2c -n 'lwsmd' -w '0' -c '0'
/usr/local/nagios/etc/services/gbgenius07.cfg:  service_description             lwsmd
/usr/local/nagios/etc/services/gbgenius07.cfg:  check_command                   check_xi_service_snmp_linux_process! -C gb2k --v2c -n 'lwsmd' -w '0' -c '0'!!!!!!!
/usr/local/nagios/etc/services/gbplr4cp03.cfg:  check_command                   check_xi_service_snmp_linux_process! -C gb2k --v2c -n 'lwsmd' -w '0' -c '0'
/usr/local/nagios/etc/services/gbplr4lb02.cfg:  check_command                   check_xi_service_snmp_linux_process! -C gb2k --v2c -n 'lwsmd' -w '0' -c '0'
/usr/local/nagios/etc/services/gbitjump01.cfg:  check_command                   check_xi_service_snmp_linux_process! -C gb2k --v2c -n 'lwsmd' -w '0' -c '0'
/usr/local/nagios/etc/services/gbgenius05.cfg:  service_description             lwsmd
/usr/local/nagios/etc/services/gbgenius05.cfg:  check_command                   check_xi_service_snmp_linux_process! -C gb2k --v2c -n 'lwsmd' -w '0' -c '0'!!!!!!!
/usr/local/nagios/etc/services/gbengdata01.cfg: check_command                   check_xi_service_snmp_linux_process! -C gb2k --v2c -n 'lwsmd' -w '0' -c '0'
/usr/local/nagios/etc/services/gbplc20-02.cfg:  check_command                   check_xi_service_snmp_linux_process! -C gb2k --v2c -n 'lwsmd' -w '0' -c '0'
/usr/local/nagios/etc/services/gbplgvm01.cfg:   check_command                   check_xi_service_snmp_linux_process! -C gb2k --v2c -n 'lwsmd' -w '0' -c '0'
/usr/local/nagios/etc/services/gbplesbc01.cfg:  check_command                   check_xi_service_snmp_linux_process! -C gb2k --v2c -n 'lwsmd' -w '0' -c '0'
/usr/local/nagios/etc/services/gbplr4lbcc.cfg:  check_command                   check_xi_service_snmp_linux_process! -C gb2k --v2c -n 'lwsmd' -w '0' -c '0'
/usr/local/nagios/etc/services/gbpltech02.cfg:  check_command                   check_xi_service_snmp_linux_process! -C gb2k --v2c -n 'lwsmd' -w '0' -c '0'
/usr/local/nagios/etc/services/gbplr4cp02.cfg:  check_command                   check_xi_service_snmp_linux_process! -C gb2k --v2c -n 'lwsmd' -w '0' -c '0'
/usr/local/nagios/etc/services/gbcvtools01.cfg: check_command                   check_xi_service_snmp_linux_process! -C gb2k --v2c -n 'lwsmd' -w '0' -c '0'
/usr/local/nagios/etc/services/gbgac01.cfg:     check_command                   check_xi_service_snmp_linux_process! -C gb2k --v2c -n 'lwsmd' -w '0' -c '0'
/usr/local/nagios/etc/services/gbwamdsgn03.cfg: check_command                   check_xi_service_snmp_linux_process! -C gb2k --v2c -n 'lwsmd' -w '0' -c '0'
/usr/local/nagios/etc/services/gbplcas.cfg:     check_command                   check_xi_service_snmp_linux_process! -C gb2k --v2c -n 'lwsmd' -w '0' -c '0'
Moderator Note: Please use code tags when posting long output. I have edited your post for reference. -- tmcdonald

Re: Service shows in listing, but not in configuration

Posted: Fri Mar 21, 2014 12:30 pm
by sreinhardt
Instead of having you continue to grep for various strings and such within your configs, could you PM one of us your latest configuration snapshot or profile.zip please? I think it would be far faster for us to look at it ourselves and dig through it.